public class MultiAnnotationVisitor extends java.lang.Object implements AnnotationVisitor
AnnotationVisitor delegates all visits to each AnnotationVisitor
in a given list.| Constructor and Description |
|---|
MultiAnnotationVisitor() |
MultiAnnotationVisitor(AnnotationVisitor... annotationVisitors) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotationVisitor(AnnotationVisitor annotationVisitor) |
void |
visitAnnotation(Clazz clazz,
Annotation annotation)
Visits any Annotation instance.
|
void |
visitAnnotation(Clazz clazz,
Field field,
Annotation annotation) |
void |
visitAnnotation(Clazz clazz,
Method method,
Annotation annotation) |
void |
visitAnnotation(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
Annotation annotation) |
void |
visitAnnotation(Clazz clazz,
Method method,
int parameterIndex,
Annotation annotation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitAnnotationpublic MultiAnnotationVisitor()
public MultiAnnotationVisitor(AnnotationVisitor... annotationVisitors)
public void addAnnotationVisitor(AnnotationVisitor annotationVisitor)
public void visitAnnotation(Clazz clazz, Annotation annotation)
AnnotationVisitorvisitAnnotation in interface AnnotationVisitorpublic void visitAnnotation(Clazz clazz, Field field, Annotation annotation)
visitAnnotation in interface AnnotationVisitorpublic void visitAnnotation(Clazz clazz, Method method, Annotation annotation)
visitAnnotation in interface AnnotationVisitorpublic void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation)
visitAnnotation in interface AnnotationVisitorpublic void visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation)
visitAnnotation in interface AnnotationVisitor