Package jminusminus

Class CLInnerClassesAttribute

java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLInnerClassesAttribute

class CLInnerClassesAttribute extends CLAttributeInfo
Representation of InnerClasses_attribute structure.

Note that this is just to register the inner classes with its parent class, and does not create the classes, which can be done using CLEmitter.

  • Field Details

    • numberOfClasses

      public int numberOfClasses
      InnerClasses_attribute.number_of_classes item.
    • classes

      public ArrayList<CLInnerClassInfo> classes
      InnerClasses_attribute.classes item.
  • Constructor Details

    • CLInnerClassesAttribute

      public CLInnerClassesAttribute(int attributeNameIndex, long attributeLength, int numberOfClasses, ArrayList<CLInnerClassInfo> classes)
      Construct a CLInnerClassesAttribute object.
      Parameters:
      attributeNameIndex - InnerClasses_attribute.attribute_name_index item.
      attributeLength - InnerClasses_attribute.attribute_length item.
      numberOfClasses - InnerClasses_attribute.number_of_classes item.
      classes - InnerClasses_attribute.classes item.
  • Method Details