Class AnnotationParser.MyClassVisitor

java.lang.Object
org.objectweb.asm.ClassVisitor
org.eclipse.jetty.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

    Constructors
    Constructor
    Description
    MyClassVisitor(Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, int asmVersion)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 Class
    org.objectweb.asm.FieldVisitor
    visitField(int access, String fieldName, String fieldType, String signature, Object value)
    Visit a field to extract its annotations
    org.objectweb.asm.MethodVisitor
    visitMethod(int access, String name, String methodDesc, String signature, String[] exceptions)
    Visit a method to extract its annotations

    Methods inherited from class org.objectweb.asm.ClassVisitor

    getDelegate, visitAttribute, visitEnd, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • visit

      public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
      Overrides:
      visit in class org.objectweb.asm.ClassVisitor
    • visitAnnotation

      public org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
      Visit an annotation on a Class
      Overrides:
      visitAnnotation in class org.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 class org.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 class org.objectweb.asm.ClassVisitor