Class InnerClasses

java.lang.Object
org.apache.bcel.classfile.Attribute
org.apache.bcel.classfile.InnerClasses
All Implemented Interfaces:
Cloneable, Iterable<InnerClass>, Node

public final class InnerClasses extends Attribute implements Iterable<InnerClass>
This class is derived from Attribute and denotes that this class is an Inner class of another. to the source file of this class. It is instantiated from the Attribute.readAttribute() method.
See Also:
  • Constructor Details

    • InnerClasses

      Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.
      Parameters:
      c - Source to copy.
    • InnerClasses

      public InnerClasses(int nameIndex, int length, InnerClass[] innerClasses, ConstantPool constantPool)
      Parameters:
      nameIndex - Index in constant pool to CONSTANT_Utf8
      length - Content length in bytes
      innerClasses - array of inner classes attributes
      constantPool - Array of constants
  • Method Details