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 TypeMethodDescriptionvoid
addComponent
(ConstCell nameCell, ConstCell descCell, ConstCell signature, ArrayList<AnnotationData> annotations) int
boolean
isEmpty()
void
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
-
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:
write
in interfaceDataWriter
- Overrides:
write
in classAttrData
- Throws:
IOException
-
attrLength
public int attrLength()- Overrides:
attrLength
in classAttrData
-