Class AnnotationParser.MyClassVisitor
java.lang.Object
org.objectweb.asm.ClassVisitor
org.eclipse.jetty.ee10.annotations.AnnotationParser.MyClassVisitor
- Enclosing class:
- AnnotationParser
public static class AnnotationParser.MyClassVisitor
extends org.objectweb.asm.ClassVisitor
ASM visitor for a class.
-
Field Summary
Fields inherited from class org.objectweb.asm.ClassVisitor
api, cv
-
Constructor Summary
ConstructorDescriptionMyClassVisitor
(Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, int asmVersion) -
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(int version, int access, String name, String signature, String superName, String[] interfaces) org.objectweb.asm.AnnotationVisitor
visitAnnotation
(String desc, boolean visible) Visit an annotation on a Classorg.objectweb.asm.FieldVisitor
visitField
(int access, String fieldName, String fieldType, String signature, Object value) Visit a field to extract its annotationsorg.objectweb.asm.MethodVisitor
visitMethod
(int access, String name, String methodDesc, String signature, String[] exceptions) Visit a method to extract its annotationsMethods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visitAttribute, visitEnd, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Constructor Details
-
MyClassVisitor
public MyClassVisitor(Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, int asmVersion)
-
-
Method Details
-
visit
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) - Overrides:
visit
in classorg.objectweb.asm.ClassVisitor
-
visitAnnotation
Visit an annotation on a Class- Overrides:
visitAnnotation
in classorg.objectweb.asm.ClassVisitor
-
visitMethod
public org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String methodDesc, String signature, String[] exceptions) Visit a method to extract its annotations- Overrides:
visitMethod
in classorg.objectweb.asm.ClassVisitor
-
visitField
public org.objectweb.asm.FieldVisitor visitField(int access, String fieldName, String fieldType, String signature, Object value) Visit a field to extract its annotations- Overrides:
visitField
in classorg.objectweb.asm.ClassVisitor
-