org.objectweb.asm.tree

Class InnerClassNode

public class InnerClassNode extends Object

A node that represents an inner class.

Author: Eric Bruneton

Field Summary
intaccess
The access flags of the inner class as originally declared in the enclosing class.
StringinnerName
The (simple) name of the inner class inside its enclosing class.
Stringname
The internal name of an inner class (see {@link org.objectweb.asm.Type#getInternalName() getInternalName}).
StringouterName
The internal name of the class to which the inner class belongs (see {@link org.objectweb.asm.Type#getInternalName() getInternalName}).
Constructor Summary
InnerClassNode(String name, String outerName, String innerName, int access)
Constructs a new {@link InnerClassNode}.
Method Summary
voidaccept(ClassVisitor cv)
Makes the given class visitor visit this inner class.

Field Detail

access

public int access
The access flags of the inner class as originally declared in the enclosing class.

innerName

public String innerName
The (simple) name of the inner class inside its enclosing class. May be null for anonymous inner classes.

name

public String name
The internal name of an inner class (see {@link org.objectweb.asm.Type#getInternalName() getInternalName}).

outerName

public String outerName
The internal name of the class to which the inner class belongs (see {@link org.objectweb.asm.Type#getInternalName() getInternalName}). May be null.

Constructor Detail

InnerClassNode

public InnerClassNode(String name, String outerName, String innerName, int access)
Constructs a new {@link InnerClassNode}.

Parameters: name the internal name of an inner class (see {@link org.objectweb.asm.Type#getInternalName() getInternalName}). outerName the internal name of the class to which the inner class belongs (see {@link org.objectweb.asm.Type#getInternalName() 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 Detail

accept

public void accept(ClassVisitor cv)
Makes the given class visitor visit this inner class.

Parameters: cv a class visitor.