org.objectweb.asm.tree
public class ClassNode extends MemberNode implements ClassVisitor
| Field Summary | |
|---|---|
| int | access
The class's access flags (see Opcodes). |
| List | fields
The fields of this class. |
| List | innerClasses
Informations about the inner classes of this class. |
| List | interfaces
The internal names of the class's interfaces (see
getInternalName). |
| List | methods
The methods of this class. |
| String | name
The internal name of the class (see
getInternalName). |
| String | outerClass
The internal name of the enclosing class of the class. |
| String | outerMethod
The name of the method that contains the class, or null if the
class is not enclosed in a method. |
| String | outerMethodDesc
The descriptor of the method that contains the class, or null
if the class is not enclosed in a method. |
| String | signature
The signature of the class. |
| String | sourceDebug
Debug information to compute the correspondance between source and
compiled elements of the class. |
| String | sourceFile
The name of the source file from which this class was compiled. |
| String | superName
The internal of name of the super class (see
getInternalName). |
| int | version
The class version. |
| Constructor Summary | |
|---|---|
| ClassNode()
Constructs a new ClassNode. | |
| Method Summary | |
|---|---|
| void | accept(ClassVisitor cv)
Makes the given class visitor visit this class.
|
| void | visit(int version, int access, String name, String signature, String superName, String[] interfaces) |
| FieldVisitor | visitField(int access, String name, String desc, String signature, Object value) |
| void | visitInnerClass(String name, String outerName, String innerName, int access) |
| MethodVisitor | visitMethod(int access, String name, String desc, String signature, String[] exceptions) |
| void | visitOuterClass(String owner, String name, String desc) |
| void | visitSource(String file, String debug) |
UNKNOWN: org.objectweb.asm.tree.FieldNode
UNKNOWN: org.objectweb.asm.tree.InnerClassNode
getInternalName). This
list is a list of String objects.UNKNOWN: org.objectweb.asm.tree.MethodNode
getInternalName). getInternalName). For
interfaces, the super class is Object. May be null,
but only for the Object class.Parameters: cv a class visitor.