|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.toplink.libraries.asm.tree.ClassNode
public class ClassNode
A node that represents a class.
| Field Summary | |
|---|---|
int |
accessThe class's access flags (see Constants). |
Attribute |
attrsThe non standard attributes of the class. |
java.util.List |
fieldsThe fields of this class. |
java.util.List |
innerClassesInformations about the inner classes of this class. |
java.util.List |
interfacesThe internal names of the class's interfaces (see getInternalName). |
java.util.List |
methodsThe methods of this class. |
java.lang.String |
nameThe internal name of the class (see getInternalName). |
java.lang.String |
sourceFileThe name of the source file from which this class was compiled. |
java.lang.String |
superNameThe internal of name of the super class (see getInternalName). |
int |
versionThe class version. |
| Constructor Summary | |
|---|---|
ClassNode(int version, int access, java.lang.String name, java.lang.String superName, java.lang.String[] interfaces, java.lang.String sourceFile)Constructs a new ClassNode object. |
|
| Method Summary | |
|---|---|
void |
accept(ClassVisitor cv)Makes the given class visitor visit this class. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int version
ClassNodepublic int access
ClassNodeConstants). This field also indicates if the class is deprecated.public java.lang.String name
ClassNodegetInternalName).public java.lang.String superName
ClassNodegetInternalName). For interfaces, the super class is Object. May be null, but only for the java.lang.Object class.public final java.util.List interfaces
ClassNodegetInternalName). This list is a list of String objects.public java.lang.String sourceFile
ClassNodepublic final java.util.List innerClasses
ClassNodeInnerClassNode objects.public final java.util.List fields
ClassNodeFieldNode objects.public final java.util.List methods
ClassNodeMethodNode objects.public Attribute attrs
ClassNode| Constructor Detail |
|---|
public ClassNode(int version,
int access,
java.lang.String name,
java.lang.String superName,
java.lang.String[] interfaces,
java.lang.String sourceFile)
ClassNode object.
version - the class version.access - the class's access flags (see Constants). This parameter also indicates if the class is deprecated.name - the internal name of the class (see getInternalName).superName - the internal of name of the super class (see getInternalName). For interfaces, the super class is Object.interfaces - the internal names of the class's interfaces (see getInternalName). May be null.sourceFile - the name of the source file from which this class was compiled. May be null.| Method Detail |
|---|
public void accept(ClassVisitor cv)
cv - a class visitor.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||