Interface ClassVisitor

    • 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,
                        String name,
                        String _extends,
                        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​(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.