Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-02


oracle.toplink.libraries.asm.tree
Class ClassNode

java.lang.Object
  extended by oracle.toplink.libraries.asm.tree.ClassNode


public class ClassNode
extends java.lang.Object

A node that represents a class.


Field Summary
 int access
          The class's access flags (see Constants).
 Attribute attrs
          The non standard attributes of the class.
 java.util.List fields
          The fields of this class.
 java.util.List innerClasses
          Informations about the inner classes of this class.
 java.util.List interfaces
          The internal names of the class's interfaces (see getInternalName).
 java.util.List methods
          The methods of this class.
 java.lang.String name
          The internal name of the class (see getInternalName).
 java.lang.String sourceFile
          The name of the source file from which this class was compiled.
 java.lang.String superName
          The internal of name of the super class (see getInternalName).
 int version
          The 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

version

public int version
Description copied from class: ClassNode
The class version.

access

public int access
Description copied from class: ClassNode
The class's access flags (see Constants). This field also indicates if the class is deprecated.

name

public java.lang.String name
Description copied from class: ClassNode
The internal name of the class (see getInternalName).

superName

public java.lang.String superName
Description copied from class: ClassNode
The internal of name of the super class (see getInternalName). For interfaces, the super class is Object. May be null, but only for the java.lang.Object class.

interfaces

public final java.util.List interfaces
Description copied from class: ClassNode
The internal names of the class's interfaces (see getInternalName). This list is a list of String objects.

sourceFile

public java.lang.String sourceFile
Description copied from class: ClassNode
The name of the source file from which this class was compiled. May be null.

innerClasses

public final java.util.List innerClasses
Description copied from class: ClassNode
Informations about the inner classes of this class. This list is a list of InnerClassNode objects.

fields

public final java.util.List fields
Description copied from class: ClassNode
The fields of this class. This list is a list of FieldNode objects.

methods

public final java.util.List methods
Description copied from class: ClassNode
The methods of this class. This list is a list of MethodNode objects.

attrs

public Attribute attrs
Description copied from class: ClassNode
The non standard attributes of the class.

Constructor Detail

ClassNode

public 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.
Parameters:
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

accept

public void accept(ClassVisitor cv)
Makes the given class visitor visit this class.
Parameters:
cv - a class visitor.

Skip navigation links

Copyright © 1998, 2009, Oracle. All Rights Reserved.