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 AttrData
classifyConstCell, getAttribute, getLength, visitMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConstantPoolDataVisitor
visitConstCell, visitDataMethods inherited from interface DataWriter
isCountable
-
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
-