Class InnerClassNode

java.lang.Object
org.objectweb.asm.tree.InnerClassNode

public class InnerClassNode extends Object
A node that represents an inner class.
Author:
Eric Bruneton
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    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 (see Type.getInternalName()).
    The internal name of the class to which the inner class belongs (see Type.getInternalName()).
  • Constructor Summary

    Constructors
    Constructor
    Description
    InnerClassNode(String name, String outerName, String innerName, int access)
    Constructs a new InnerClassNode.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.objectweb.asm.ClassVisitor classVisitor)
    Makes the given class visitor visit this inner class.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      public String name
      The internal name of an inner class (see Type.getInternalName()).
    • outerName

      public String outerName
      The internal name of the class to which the inner class belongs (see Type.getInternalName()). May be null.
    • innerName

      public 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 Details

    • InnerClassNode

      public InnerClassNode(String name, String outerName, String innerName, int access)
      Constructs a new InnerClassNode.
      Parameters:
      name - the internal name of an inner class (see Type.getInternalName()).
      outerName - the internal name of the class to which the inner class belongs (see Type.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.