Package org.openjdk.asmtools.jasm
Class ClassArrayAttr
java.lang.Object
org.openjdk.asmtools.jasm.AttrData
org.openjdk.asmtools.jasm.ClassArrayAttr
- All Implemented Interfaces:
ConstantPoolDataVisitor,DataWriter
- Direct Known Subclasses:
NestMembersAttr,PermittedSubclassesAttr,PreloadAttr
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]; }
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClassArrayAttr(ConstantPool pool, EAttribute attribute, List<ConstCell> constCellList) -
Method Summary
Methods inherited from class org.openjdk.asmtools.jasm.AttrData
classifyConstCell, getLength, visitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openjdk.asmtools.jasm.ConstantPoolDataVisitor
visitConstCell, visitData
-
Field Details
-
classes
-
-
Constructor Details
-
ClassArrayAttr
-
-
Method Details
-
attrLength
public int attrLength()- Overrides:
attrLengthin classAttrData
-
write
- Specified by:
writein interfaceDataWriter- Overrides:
writein classAttrData- Throws:
IOException
-