Package org.eclipse.jetty.annotations
Class AnnotationParser.MyClassVisitor
- java.lang.Object
-
- org.objectweb.asm.ClassVisitor
-
- org.eclipse.jetty.annotations.AnnotationParser.MyClassVisitor
-
- Enclosing class:
- AnnotationParser
public class AnnotationParser.MyClassVisitor extends org.objectweb.asm.ClassVisitor
ASM visitor for a class.
-
-
Constructor Summary
Constructors Constructor Description MyClassVisitor(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, int asmVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(int version, int access, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaces)
org.objectweb.asm.AnnotationVisitor
visitAnnotation(java.lang.String desc, boolean visible)
Visit an annotation on a Classorg.objectweb.asm.FieldVisitor
visitField(int access, java.lang.String fieldName, java.lang.String fieldType, java.lang.String signature, java.lang.Object value)
Visit a field to extract its annotationsorg.objectweb.asm.MethodVisitor
visitMethod(int access, java.lang.String name, java.lang.String methodDesc, java.lang.String signature, java.lang.String[] exceptions)
Visit a method to extract its annotations
-
-
-
Constructor Detail
-
MyClassVisitor
public MyClassVisitor(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, int asmVersion)
-
-
Method Detail
-
visit
public void visit(int version, int access, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaces)
- Overrides:
visit
in classorg.objectweb.asm.ClassVisitor
-
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
Visit an annotation on a Class- Overrides:
visitAnnotation
in classorg.objectweb.asm.ClassVisitor
-
visitMethod
public org.objectweb.asm.MethodVisitor visitMethod(int access, java.lang.String name, java.lang.String methodDesc, java.lang.String signature, java.lang.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, java.lang.String fieldName, java.lang.String fieldType, java.lang.String signature, java.lang.Object value)
Visit a field to extract its annotations- Overrides:
visitField
in classorg.objectweb.asm.ClassVisitor
-
-