Package org.openjdk.asmtools.jdis

## Class ClassArrayData

- java.lang.Object
- - org.openjdk.asmtools.jdis.Indenter
  - - org.openjdk.asmtools.jdis.ClassArrayData

- Direct Known Subclasses:
    `NestMembersData`, `PermittedSubclassesData`

      public class ClassArrayData
      extends Indenter

  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 Summary

    Constructors
    Modifier | Constructor | Description
    --- | --- | ---
    `protected` | `ClassArrayData​(ClassData cls, java.lang.String attrName)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `print()` |
    `ClassArrayData` | `read​(java.io.DataInputStream in, int attribute_length)` |

    - ### Methods inherited from class org.openjdk.asmtools.jdis.Indenter

      `decreaseIndent, getIndentString, increaseIndent, indent, setIndent`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClassArrayData

          protected ClassArrayData​(ClassData cls,
                                   java.lang.String attrName)

  - ### Method Detail

    - #### read

          public ClassArrayData read​(java.io.DataInputStream in,
                                     int attribute_length)
                              throws java.io.IOException,
                                     java.lang.ClassFormatError

      Throws:
        `java.io.IOException`
        `java.lang.ClassFormatError`

    - #### print

          public void print()