Package org.objectweb.asm.tree
Class InnerClassNode
java.lang.Object
org.objectweb.asm.tree.InnerClassNode
A node that represents an inner class.
- Author:
- Eric Bruneton
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
The access flags of the inner class as originally declared in the enclosing class.The (simple) name of the inner class inside its enclosing class.The internal name of an inner class (seeType.getInternalName()
).The internal name of the class to which the inner class belongs (seeType.getInternalName()
). -
Constructor Summary
ConstructorsConstructorDescriptionInnerClassNode
(String name, String outerName, String innerName, int access) Constructs a newInnerClassNode
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(org.objectweb.asm.ClassVisitor classVisitor) Makes the given class visitor visit this inner class.
-
Field Details
-
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
public int accessThe access flags of the inner class as originally declared in the enclosing class.
-
-
Constructor Details
-
InnerClassNode
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.
-
-
Method Details
-
accept
public void accept(org.objectweb.asm.ClassVisitor classVisitor) Makes the given class visitor visit this inner class.- Parameters:
classVisitor
- a class visitor.
-