Record Class BootstrapMethodData.BsmInfo
java.lang.Object
java.lang.Record
org.openjdk.asmtools.jdis.BootstrapMethodData.BsmInfo
- Enclosing class:
BootstrapMethodData
private static record BootstrapMethodData.BsmInfo(String strBsm, ConstantPool.CPX2 cpx2Const)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConstantPool.CPX2The field for thecpx2Constrecord component.private final StringThe field for thestrBsmrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBsmInfo(String strBsm, ConstantPool.CPX2 cpx2Const) Creates an instance of aBsmInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecpx2Constrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.strBsm()Returns the value of thestrBsmrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
strBsm
The field for thestrBsmrecord component. -
cpx2Const
The field for thecpx2Constrecord component.
-
-
Constructor Details
-
BsmInfo
Creates an instance of aBsmInforecord class.- Parameters:
strBsm- the value for thestrBsmrecord componentcpx2Const- the value for thecpx2Constrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
strBsm
Returns the value of thestrBsmrecord component.- Returns:
- the value of the
strBsmrecord component
-
cpx2Const
Returns the value of thecpx2Constrecord component.- Returns:
- the value of the
cpx2Constrecord component
-