org.objectweb.asm.tree
public class ClassNode extends Object
Field Summary | |
---|---|
int | access
The class's access flags (see {@link org.objectweb.asm.Constants}). |
Attribute | attrs
The non standard attributes of the class. |
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 {@link
org.objectweb.asm.Type#getInternalName() getInternalName}). |
List | methods
The methods of this class. |
String | name
The internal name of the class (see {@link
org.objectweb.asm.Type#getInternalName() getInternalName}). |
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 {@link
org.objectweb.asm.Type#getInternalName() getInternalName}). |
int | version
The class version. |
Constructor Summary | |
---|---|
ClassNode(int version, int access, String name, String superName, String[] interfaces, String sourceFile)
Constructs a new {@link ClassNode ClassNode} object.
|
Method Summary | |
---|---|
void | accept(ClassVisitor cv)
Makes the given class visitor visit this class.
|
Parameters: version the class version. access the class's access flags (see {@link org.objectweb.asm.Constants}). This parameter also indicates if the class is deprecated. name the internal name of the class (see {@link org.objectweb.asm.Type#getInternalName() getInternalName}). superName the internal of name of the super class (see {@link org.objectweb.asm.Type#getInternalName() getInternalName}). For interfaces, the super class is {@link Object}. interfaces the internal names of the class's interfaces (see {@link org.objectweb.asm.Type#getInternalName() getInternalName}). May be null. sourceFile the name of the source file from which this class was compiled. May be null.
Parameters: cv a class visitor.