Interface AnnotationVisitor
-
- All Known Implementing Classes:
AllElementValueVisitor
,AnnotationAdder
,AnnotationToAnnotatedClassVisitor
,AnnotationToAnnotatedMemberVisitor
,AnnotationTypeFilter
,ClassCleaner
,ClassPrinter
,ClassReferenceFixer
,ClassReferenceInitializer
,ConstantPoolRemapper
,ConstantPoolShrinker
,KotlinMetadataInitializer
,KotlinMetadataVersionFilter
,MemberReferenceFixer
,MultiAnnotationVisitor
,ProcessingInfoSetter
,ProgramClassReader
,ReferencedClassVisitor
,Utf8Shrinker
public interface AnnotationVisitor
This interface specifies the methods for a visitor ofAnnotation
instances. Note that there is only a single implementation ofAnnotation
, such that this interface is not strictly necessary as a visitor.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
visitAnnotation(Clazz clazz, Annotation annotation)
Visits any Annotation instance.default void
visitAnnotation(Clazz clazz, Field field, Annotation annotation)
default void
visitAnnotation(Clazz clazz, Member member, Annotation annotation)
default void
visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation)
default void
visitAnnotation(Clazz clazz, Method method, Annotation annotation)
default void
visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation)
-
-
-
Method Detail
-
visitAnnotation
default void visitAnnotation(Clazz clazz, Annotation annotation)
Visits any Annotation instance. The more specific default implementations of this interface delegate to this method.
-
visitAnnotation
default void visitAnnotation(Clazz clazz, Member member, Annotation annotation)
-
visitAnnotation
default void visitAnnotation(Clazz clazz, Field field, Annotation annotation)
-
visitAnnotation
default void visitAnnotation(Clazz clazz, Method method, Annotation annotation)
-
visitAnnotation
default void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation)
-
visitAnnotation
default void visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation)
-
-