Package org.openjdk.asmtools.jasm
Class RecordData
java.lang.Object
org.openjdk.asmtools.jasm.AttrData
org.openjdk.asmtools.jasm.RecordData
- All Implemented Interfaces:
Data
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
(ConstantPool.ConstCell nameCell, ConstantPool.ConstCell descCell, ConstantPool.ConstCell signature, ArrayList<AnnotationData> annotations) int
boolean
isEmpty()
void
Methods inherited from class org.openjdk.asmtools.jasm.AttrData
getClassData, getLength
-
Field Details
-
components
-
-
Constructor Details
-
RecordData
-
-
Method Details
-
addComponent
public void addComponent(ConstantPool.ConstCell nameCell, ConstantPool.ConstCell descCell, ConstantPool.ConstCell signature, ArrayList<AnnotationData> annotations) -
isEmpty
public boolean isEmpty() -
write
- Specified by:
write
in interfaceData
- Overrides:
write
in classAttrData
- Throws:
IOException
-
attrLength
public int attrLength()- Overrides:
attrLength
in classAttrData
-