Package org.objectweb.asm.tree
Class InnerClassNode
- java.lang.Object
-
- org.objectweb.asm.tree.InnerClassNode
-
public class InnerClassNode extends java.lang.Object
A node that represents an inner class.
-
-
Field Summary
Fields Modifier and Type Field Description int
access
The access flags of the inner class as originally declared in the enclosing class.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 (seeType.getInternalName()
).java.lang.String
outerName
The internal name of the class to which the inner class belongs (seeType.getInternalName()
).
-
Constructor Summary
Constructors Constructor Description InnerClassNode(java.lang.String name, java.lang.String outerName, java.lang.String innerName, int access)
Constructs a newInnerClassNode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(org.objectweb.asm.ClassVisitor classVisitor)
Makes the given class visitor visit this inner class.
-
-
-
Field Detail
-
name
public java.lang.String name
The internal name of an inner class (seeType.getInternalName()
).
-
outerName
public java.lang.String outerName
The internal name of the class to which the inner class belongs (seeType.getInternalName()
). May be null.
-
innerName
public java.lang.String innerName
The (simple) name of the inner class inside its enclosing class. May be null for anonymous inner classes.
-
access
public int access
The access flags of the inner class as originally declared in the enclosing class.
-
-
Constructor Detail
-
InnerClassNode
public InnerClassNode(java.lang.String name, java.lang.String outerName, java.lang.String innerName, int access)
Constructs a newInnerClassNode
.- Parameters:
name
- the internal name of an inner class (seeType.getInternalName()
).outerName
- the internal name of the class to which the inner class belongs (seeType.getInternalName()
). May be null.innerName
- the (simple) name of the inner class inside its enclosing class. May be null for anonymous inner classes.access
- the access flags of the inner class as originally declared in the enclosing class.
-
-