/** * Applies the given visitor to the annotation. */ public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { annotationVisitor.visitAnnotation(clazz, annotationValue); }
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) { elementValueVisitor.visitClassElementValue(clazz, annotation, this); } }
/** * Applies the given visitor to all type path elements. */ public void typePathInfosAccept(Clazz clazz, Method method, TypePathInfoVisitor typePathVisitor) { for (int index = 0; index < typePath.length; index++) { // We don't need double dispatching here, since there is only one // type of TypePathInfo. typePathVisitor.visitTypePathInfo(clazz, method, this, typePath[index]); } }
public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) { if (accepted(annotation.getType(clazz))) { annotationVisitor.visitAnnotation(clazz, method, parameterIndex, annotation); } }
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) { elementValueVisitor.visitEnumConstantElementValue(clazz, annotation, this); } }
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) { elementValueVisitor.visitConstantElementValue(clazz, annotation, this); } }
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) { elementValueVisitor.visitAnnotationElementValue(clazz, annotation, this); } }
public void visitAnnotation(Clazz clazz, Method method, Annotation annotation) { if (accepted(annotation.getType(clazz))) { annotationVisitor.visitAnnotation(clazz, method, annotation); } }
/** * Applies the given visitor to the annotation. */ public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { annotationVisitor.visitAnnotation(clazz, annotationValue); }
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) { elementValueVisitor.visitClassElementValue(clazz, annotation, this); } }
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) { elementValueVisitor.visitEnumConstantElementValue(clazz, annotation, this); } }
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) { elementValueVisitor.visitConstantElementValue(clazz, annotation, this); } }
/** * Applies the given visitor to all type path elements. */ public void typePathInfosAccept(Clazz clazz, Field field, TypePathInfoVisitor typePathVisitor) { for (int index = 0; index < typePath.length; index++) { // We don't need double dispatching here, since there is only one // type of TypePathInfo. typePathVisitor.visitTypePathInfo(clazz, field, this, typePath[index]); } }
public void visitAnnotation(Clazz clazz, Annotation annotation) { if (accepted(annotation.getType(clazz))) { annotationVisitor.visitAnnotation(clazz, annotation); } }
/** * Applies the given visitor to all method annotations. */ public void annotationsAccept(Clazz clazz, Method method, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, method, annotations[index]); } }
public void visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElementValue) { elementValueVisitor.visitClassElementValue(clazz, annotation, classElementValue); }
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) { elementValueVisitor.visitEnumConstantElementValue(clazz, annotation, this); } }
/** * Applies the given visitor to all type path elements. */ public void typePathInfosAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TypePathInfoVisitor typePathVisitor) { for (int index = 0; index < typePath.length; index++) { // We don't need double dispatching here, since there is only one // type of TypePathInfo. typePathVisitor.visitTypePathInfo(clazz, method, codeAttribute, typeAnnotation, typePath[index]); } } }
/** * Applies the given visitor to all class annotations. */ public void annotationsAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, annotations[index]); } }
/** * Applies the given visitor to the annotation. */ public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { annotationVisitor.visitAnnotation(clazz, annotationValue); }