Uses of Class
org.objectweb.asm.AnnotationVisitor
Packages that use AnnotationVisitor
Package
Description
Provides a small and fast bytecode manipulation framework.
Provides some useful class and method adapters.
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
Provides ASM visitors that can be useful for programming and
debugging purposes.
-
Uses of AnnotationVisitor in org.objectweb.asm
Subclasses of AnnotationVisitor in org.objectweb.asmModifier and TypeClassDescription(package private) final classAnAnnotationVisitorthat generates a corresponding 'annotation' or 'type_annotation' structure, as defined in the Java Virtual Machine Specification (JVMS).Fields in org.objectweb.asm declared as AnnotationVisitorModifier and TypeFieldDescriptionprotected AnnotationVisitorAnnotationVisitor.avThe annotation visitor to which this visitor must delegate method calls.Methods in org.objectweb.asm that return AnnotationVisitorModifier and TypeMethodDescriptionAnnotationVisitor.getDelegate()The annotation visitor to which this visitor must delegate method calls.AnnotationVisitor.visitAnnotation(String name, String descriptor) Visits a nested annotation value of the annotation.AnnotationWriter.visitAnnotation(String name, String descriptor) ClassVisitor.visitAnnotation(String descriptor, boolean visible) Visits an annotation of the class.final AnnotationVisitorClassWriter.visitAnnotation(String descriptor, boolean visible) FieldVisitor.visitAnnotation(String descriptor, boolean visible) Visits an annotation of the field.FieldWriter.visitAnnotation(String descriptor, boolean visible) MethodVisitor.visitAnnotation(String descriptor, boolean visible) Visits an annotation of this method.MethodWriter.visitAnnotation(String descriptor, boolean visible) RecordComponentVisitor.visitAnnotation(String descriptor, boolean visible) Visits an annotation of the record component.RecordComponentWriter.visitAnnotation(String descriptor, boolean visible) MethodVisitor.visitAnnotationDefault()Visits the default value of this annotation interface method.MethodWriter.visitAnnotationDefault()AnnotationVisitor.visitArray(String name) Visits an array value of the annotation.AnnotationWriter.visitArray(String name) MethodVisitor.visitInsnAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Visits an annotation on an instruction.MethodWriter.visitInsnAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) MethodVisitor.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String descriptor, boolean visible) Visits an annotation on a local variable type.MethodWriter.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String descriptor, boolean visible) MethodVisitor.visitParameterAnnotation(int parameter, String descriptor, boolean visible) Visits an annotation of a parameter this method.MethodWriter.visitParameterAnnotation(int parameter, String annotationDescriptor, boolean visible) MethodVisitor.visitTryCatchAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Visits an annotation on an exception handler type.MethodWriter.visitTryCatchAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) ClassVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Visits an annotation on a type in the class signature.final AnnotationVisitorClassWriter.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) FieldVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Visits an annotation on the type of the field.FieldWriter.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) MethodVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Visits an annotation on a type in the method signature.MethodWriter.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) RecordComponentVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Visits an annotation on a type in the record component signature.RecordComponentWriter.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Methods in org.objectweb.asm with parameters of type AnnotationVisitorModifier and TypeMethodDescriptionprivate intClassReader.readElementValue(AnnotationVisitor annotationVisitor, int elementValueOffset, String elementName, char[] charBuffer) Reads a JVMS 'element_value' structure and makes the given visitor visit it.private intClassReader.readElementValues(AnnotationVisitor annotationVisitor, int annotationOffset, boolean named, char[] charBuffer) Reads the element values of a JVMS 'annotation' structure and makes the given visitor visit them.Constructors in org.objectweb.asm with parameters of type AnnotationVisitorModifierConstructorDescriptionprotectedAnnotationVisitor(int api, AnnotationVisitor annotationVisitor) Constructs a newAnnotationVisitor. -
Uses of AnnotationVisitor in org.objectweb.asm.commons
Subclasses of AnnotationVisitor in org.objectweb.asm.commonsMethods in org.objectweb.asm.commons that return AnnotationVisitorModifier and TypeMethodDescriptionprotected AnnotationVisitorAnnotationRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorAnnotationRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.protected AnnotationVisitorClassRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorClassRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.protected AnnotationVisitorFieldRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorFieldRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.protected AnnotationVisitorMethodRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorMethodRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.protected AnnotationVisitorRecordComponentRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorRecordComponentRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.(package private) final AnnotationVisitorAnnotationRemapper.orDeprecatedValue(AnnotationVisitor deprecatedAnnotationVisitor) Returns either this object, or the given one.AnnotationRemapper.visitAnnotation(String name, String descriptor) ClassRemapper.visitAnnotation(String descriptor, boolean visible) FieldRemapper.visitAnnotation(String descriptor, boolean visible) MethodRemapper.visitAnnotation(String descriptor, boolean visible) RecordComponentRemapper.visitAnnotation(String descriptor, boolean visible) MethodRemapper.visitAnnotationDefault()AnnotationRemapper.visitArray(String name) MethodRemapper.visitInsnAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) LocalVariablesSorter.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String descriptor, boolean visible) MethodRemapper.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String descriptor, boolean visible) MethodRemapper.visitParameterAnnotation(int parameter, String descriptor, boolean visible) MethodRemapper.visitTryCatchAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) ClassRemapper.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) FieldRemapper.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) MethodRemapper.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) RecordComponentRemapper.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Methods in org.objectweb.asm.commons with parameters of type AnnotationVisitorModifier and TypeMethodDescriptionprotected AnnotationVisitorAnnotationRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorAnnotationRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.protected AnnotationVisitorClassRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorClassRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.protected AnnotationVisitorFieldRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorFieldRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.protected AnnotationVisitorMethodRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorMethodRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.protected AnnotationVisitorRecordComponentRemapper.createAnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor) Constructs a new remapper for annotations.protected AnnotationVisitorRecordComponentRemapper.createAnnotationRemapper(AnnotationVisitor annotationVisitor) Deprecated.(package private) final AnnotationVisitorAnnotationRemapper.orDeprecatedValue(AnnotationVisitor deprecatedAnnotationVisitor) Returns either this object, or the given one.Constructors in org.objectweb.asm.commons with parameters of type AnnotationVisitorModifierConstructorDescriptionprotectedAnnotationRemapper(int api, String descriptor, AnnotationVisitor annotationVisitor, Remapper remapper) Constructs a newAnnotationRemapper.protectedAnnotationRemapper(int api, AnnotationVisitor annotationVisitor, Remapper remapper) Deprecated.AnnotationRemapper(String descriptor, AnnotationVisitor annotationVisitor, Remapper remapper) Constructs a newAnnotationRemapper.AnnotationRemapper(AnnotationVisitor annotationVisitor, Remapper remapper) Deprecated. -
Uses of AnnotationVisitor in org.objectweb.asm.tree
Subclasses of AnnotationVisitor in org.objectweb.asm.treeModifier and TypeClassDescriptionclassA node that represents an annotation.classA node that represents a type annotation on a local or resource variable.classA node that represents a type annotation.Methods in org.objectweb.asm.tree that return AnnotationVisitorModifier and TypeMethodDescriptionAnnotationNode.visitAnnotation(String name, String descriptor) ClassNode.visitAnnotation(String descriptor, boolean visible) FieldNode.visitAnnotation(String descriptor, boolean visible) MethodNode.visitAnnotation(String descriptor, boolean visible) RecordComponentNode.visitAnnotation(String descriptor, boolean visible) MethodNode.visitAnnotationDefault()AnnotationNode.visitArray(String name) MethodNode.visitInsnAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) MethodNode.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String descriptor, boolean visible) MethodNode.visitParameterAnnotation(int parameter, String descriptor, boolean visible) MethodNode.visitTryCatchAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) ClassNode.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) FieldNode.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) MethodNode.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) RecordComponentNode.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Methods in org.objectweb.asm.tree with parameters of type AnnotationVisitorModifier and TypeMethodDescriptionvoidAnnotationNode.accept(AnnotationVisitor annotationVisitor) Makes the given visitor visit this annotation.(package private) static voidAnnotationNode.accept(AnnotationVisitor annotationVisitor, String name, Object value) Makes the given visitor visit a given annotation value. -
Uses of AnnotationVisitor in org.objectweb.asm.util
Subclasses of AnnotationVisitor in org.objectweb.asm.utilModifier and TypeClassDescriptionclassAnAnnotationVisitorthat checks that its methods are properly used.final classAnAnnotationVisitorthat prints the annotations it visits with aPrinter.Methods in org.objectweb.asm.util that return AnnotationVisitorModifier and TypeMethodDescriptionCheckAnnotationAdapter.visitAnnotation(String name, String descriptor) CheckClassAdapter.visitAnnotation(String descriptor, boolean visible) CheckFieldAdapter.visitAnnotation(String descriptor, boolean visible) CheckMethodAdapter.visitAnnotation(String descriptor, boolean visible) CheckRecordComponentAdapter.visitAnnotation(String descriptor, boolean visible) TraceAnnotationVisitor.visitAnnotation(String name, String descriptor) TraceClassVisitor.visitAnnotation(String descriptor, boolean visible) TraceFieldVisitor.visitAnnotation(String descriptor, boolean visible) TraceMethodVisitor.visitAnnotation(String descriptor, boolean visible) TraceRecordComponentVisitor.visitAnnotation(String descriptor, boolean visible) CheckMethodAdapter.visitAnnotationDefault()TraceMethodVisitor.visitAnnotationDefault()CheckAnnotationAdapter.visitArray(String name) TraceAnnotationVisitor.visitArray(String name) CheckMethodAdapter.visitInsnAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) TraceMethodVisitor.visitInsnAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) CheckMethodAdapter.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String descriptor, boolean visible) TraceMethodVisitor.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String descriptor, boolean visible) CheckMethodAdapter.visitParameterAnnotation(int parameter, String descriptor, boolean visible) TraceMethodVisitor.visitParameterAnnotation(int parameter, String descriptor, boolean visible) CheckMethodAdapter.visitTryCatchAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) TraceMethodVisitor.visitTryCatchAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) CheckClassAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) CheckFieldAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) CheckMethodAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) CheckRecordComponentAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) TraceClassVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) TraceFieldVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) TraceMethodVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) TraceRecordComponentVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) Constructors in org.objectweb.asm.util with parameters of type AnnotationVisitorModifierConstructorDescriptionCheckAnnotationAdapter(AnnotationVisitor annotationVisitor) (package private)CheckAnnotationAdapter(AnnotationVisitor annotationVisitor, boolean useNamedValues) TraceAnnotationVisitor(AnnotationVisitor annotationVisitor, Printer printer) Constructs a newTraceAnnotationVisitor.
AnnotationRemapper.createAnnotationRemapper(String, AnnotationVisitor)instead.