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, visit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openjdk.asmtools.jasm.ConstantPoolDataVisitor
visitConstCell, visitData
-
Field Details
-
classes
-
-
Constructor Details
-
ClassArrayAttr
-
-
Method Details
-
attrLength
public int attrLength()- Overrides:
attrLength
in classAttrData
-
write
- Specified by:
write
in interfaceDataWriter
- Overrides:
write
in classAttrData
- Throws:
IOException
-