public AnnotationVisitor visitAnnotation(String name, String desc) { var annotation = new RawAnnotationValue(AsmType.getType(desc), false); this.method.defaultValue = annotation; return new RawAnnotationValueBuilder(annotation); }
public AnnotationVisitor visitAnnotation(String name, String desc) { var annotation = new RawAnnotationValue(AsmType.getType(desc), false); this.annotation.arguments.put(name, annotation); return new RawAnnotationValueBuilder(annotation); }
RawAnnotationValueBuilder(RawAnnotationValue annotation) { this.annotation = annotation; }
public AnnotationVisitor visitAnnotation(String name, String desc) { var annotation = new RawAnnotationValue(AsmType.getType(desc), false); array.elements.add(annotation); return new RawAnnotationValueBuilder(annotation); }
public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, bool visible) { var annotation = new RawAnnotationValue(AsmType.getType(desc), visible); var par = method.parameters.get(parameter); if (par.annotations == null) { par.annotations = new ArrayList<RawAnnotationValue>(); } par.annotations.add(annotation); return new RawAnnotationValueBuilder(annotation); }
public AnnotationVisitor visitAnnotation(String desc, bool visible) { var annotation = new RawAnnotationValue(AsmType.getType(desc), visible); if (method.annotations == null) { method.annotations = new ArrayList<RawAnnotationValue>(); } method.annotations.add(annotation); return new RawAnnotationValueBuilder(annotation); }