Class ClassArrayAttr

java.lang.Object
org.openjdk.asmtools.jasm.ClassArrayAttr
Direct Known Subclasses:
NestMembersAttr, PermittedSubclassesAttr

public class ClassArrayAttr extends Object
Base class of the "classes[]" data of attributes

JEP 181 (Nest-based Access Control): class file 55.0 NestMembers_attribute { u2 attribute_name_index; u4 attribute_length; u2 number_of_classes; u2 classes[number_of_classes]; }

JEP 360 (Sealed types): class file 59.65535 PermittedSubclasses_attribute { u2 attribute_name_index; u4 attribute_length; u2 number_of_classes; u2 classes[number_of_classes]; }

  • Constructor Details

  • Method Details

    • attrLength

      public int attrLength()
    • write

      public void write(CheckedDataOutputStream out) throws IOException
      Throws:
      IOException
    • getClassData

      protected org.openjdk.asmtools.jasm.ClassData getClassData()
    • getLength

      public int getLength()
    • tabString

      default String tabString(int tabLevel)