Package org.openjdk.asmtools.jasm
Class RecordData
java.lang.Object
org.openjdk.asmtools.jasm.AttrData
org.openjdk.asmtools.jasm.RecordData
- All Implemented Interfaces:
ConstantPoolDataVisitor,DataWriter
The record attribute (JEP 359 since class file 58.65535)
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(ConstCell nameCell, ConstCell descCell, ConstCell signature, ArrayList<AnnotationData> annotations) intbooleanisEmpty()voidMethods 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
-
classData
-
components
-
-
Constructor Details
-
RecordData
- Parameters:
classData- callback reference to class data to manipulate signature attribute
-
-
Method Details
-
addComponent
public void addComponent(ConstCell nameCell, ConstCell descCell, ConstCell signature, ArrayList<AnnotationData> annotations) -
isEmpty
public boolean isEmpty() -
write
- Specified by:
writein interfaceDataWriter- Overrides:
writein classAttrData- Throws:
IOException
-
attrLength
public int attrLength()- Overrides:
attrLengthin classAttrData
-