public interface ClassVisitor
| Modifier and Type | Field and Description |
|---|---|
static int |
NON_INSTANTIABLE
Non-instantiable classes: INTERFACE | ABSTRACT | ANNOTATION | ENUM | SYNTHETIC.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enterClass(int modifiers,
String name,
String _extends,
String[] _implements)
Enters the class definition.
|
void |
leaveClass()
Leaves the class definition.
|
AnnotationVisitor |
visitAnnotation(String desc)
Visits an annotation declared on the class.
|
static final int NON_INSTANTIABLE
void enterClass(int modifiers,
String name,
String _extends,
String[] _implements)
modifiers - The access modifiersname - The internal name, such as "javax/inject/Provider"_extends - Extends this superclass_implements - Implements these interfacesAnnotationVisitor visitAnnotation(String desc)
desc - The JVM descriptor for the annotation class, such as "Ljavax/inject/Qualifier;"null if it is not interested in visiting the annotationSpaceScanner.jvmDescriptor(Class)void leaveClass()
Copyright © 2016. All Rights Reserved.