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, wait
visitAnnotation
public MultiAnnotationVisitor()
public MultiAnnotationVisitor(AnnotationVisitor... annotationVisitors)
public void addAnnotationVisitor(AnnotationVisitor annotationVisitor)
public void visitAnnotation(Clazz clazz, Annotation annotation)
AnnotationVisitor
visitAnnotation
in interface AnnotationVisitor
public void visitAnnotation(Clazz clazz, Field field, Annotation annotation)
visitAnnotation
in interface AnnotationVisitor
public void visitAnnotation(Clazz clazz, Method method, Annotation annotation)
visitAnnotation
in interface AnnotationVisitor
public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation)
visitAnnotation
in interface AnnotationVisitor
public void visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation)
visitAnnotation
in interface AnnotationVisitor