Interface ClassVisitor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int NON_INSTANTIABLE
      Non-instantiable classes: INTERFACE | ABSTRACT | ANNOTATION | ENUM | SYNTHETIC.
    • Field Detail

      • NON_INSTANTIABLE

        static final int NON_INSTANTIABLE
        Non-instantiable classes: INTERFACE | ABSTRACT | ANNOTATION | ENUM | SYNTHETIC.
        See Also:
        Constant Field Values
    • Method Detail

      • enterClass

        void enterClass​(int modifiers,
                        java.lang.String name,
                        java.lang.String _extends,
                        java.lang.String[] _implements)
        Enters the class definition.
        Parameters:
        modifiers - The access modifiers
        name - The internal name, such as "javax/inject/Provider"
        _extends - Extends this superclass
        _implements - Implements these interfaces
      • visitAnnotation

        AnnotationVisitor visitAnnotation​(java.lang.String desc)
        Visits an annotation declared on the class.
        Parameters:
        desc - The JVM descriptor for the annotation class, such as "Ljavax/inject/Qualifier;"
        Returns:
        Annotation visitor; null if it is not interested in visiting the annotation
        See Also:
        SpaceScanner.jvmDescriptor(Class)
      • leaveClass

        void leaveClass()
        Leaves the class definition.