public class InnerClassNode
extends java.lang.Object
ClassNode containing this object. More precisely, every class or interface C which is referenced
by a ClassNode and which is not a package member must be represented with an InnerClassNode. The ClassNode must reference its nested class or interface members, and
its enclosing class, if any. See the JVMS 4.7.6 section for more details.| Modifier and Type | Field and Description |
|---|---|
int |
access
The access flags of the inner class as originally declared in the source code from which the
class was compiled.
|
java.lang.String |
innerName
The (simple) name of the inner class inside its enclosing class.
|
java.lang.String |
name
The internal name of an inner class (see
Type.getInternalName()). |
java.lang.String |
outerName
The internal name of the class to which the inner class belongs (see
Type.getInternalName()). |
| Constructor and Description |
|---|
InnerClassNode(java.lang.String name,
java.lang.String outerName,
java.lang.String innerName,
int access)
Constructs a new
InnerClassNode for an inner class C. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ClassVisitor classVisitor)
Makes the given class visitor visit this inner class.
|
public java.lang.String name
Type.getInternalName()).public java.lang.String outerName
Type.getInternalName()). May be null.public java.lang.String innerName
public int access
public InnerClassNode(java.lang.String name,
java.lang.String outerName,
java.lang.String innerName,
int access)
InnerClassNode for an inner class C.name - the internal name of C (see Type.getInternalName()).outerName - the internal name of the class or interface C is a member of (see Type.getInternalName()). Must be null if C is not the member
of a class or interface (e.g. for local or anonymous classes).innerName - the (simple) name of C. Must be null for anonymous inner classes.access - the access flags of C originally declared in the source code from which this
class was compiled.public void accept(ClassVisitor classVisitor)
classVisitor - a class visitor.