Record Class StackMapConstants.StackMapFrame
java.lang.Object
java.lang.Record
com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapFrame
- Enclosing class:
StackMapConstants
public static record StackMapConstants.StackMapFrame(int frameType, int offset, com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] localTypes, com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] stackTypes)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionStackMapFrame(int frameType, int offset, com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] localTypes, com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] stackTypes) Creates an instance of aStackMapFramerecord class.StackMapFrame(StackMapConstants.StackMapFrame frame, int newOffset) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of theframeTyperecord component.intDeprecated, for removal: This API element is subject to removal in a future version.com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[]Deprecated, for removal: This API element is subject to removal in a future version.UselocalTypes()insteadintDeprecated, for removal: This API element is subject to removal in a future version.Useoffset()insteadcom.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[]Deprecated, for removal: This API element is subject to removal in a future version.UsestackTypes()insteadfinal inthashCode()Returns a hash code value for this object.com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[]Returns the value of thelocalTypesrecord component.intoffset()Returns the value of theoffsetrecord component.com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[]Returns the value of thestackTypesrecord component.toString()Returns a string representation of this record class.voidwrite(OutputStream out, ClassWriter writer)
-
Constructor Details
-
StackMapFrame
-
StackMapFrame
public StackMapFrame(int frameType, int offset, com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] localTypes, com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] stackTypes) Creates an instance of aStackMapFramerecord class.- Parameters:
frameType- the value for theframeTyperecord componentoffset- the value for theoffsetrecord componentlocalTypes- the value for thelocalTypesrecord componentstackTypes- the value for thestackTypesrecord component
-
-
Method Details
-
getFrameType
Deprecated, for removal: This API element is subject to removal in a future version.UseframeType()instead -
getOffset
Deprecated, for removal: This API element is subject to removal in a future version.Useoffset()instead -
getLocalTypes
@Deprecated(forRemoval=true, since="1.8.0") public com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] getLocalTypes()Deprecated, for removal: This API element is subject to removal in a future version.UselocalTypes()instead -
getStackTypes
@Deprecated(forRemoval=true, since="1.8.0") public com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] getStackTypes()Deprecated, for removal: This API element is subject to removal in a future version.UsestackTypes()instead -
toString
-
write
- Throws:
IOException
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
frameType
public int frameType()Returns the value of theframeTyperecord component.- Returns:
- the value of the
frameTyperecord component
-
offset
public int offset()Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
localTypes
public com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] localTypes()Returns the value of thelocalTypesrecord component.- Returns:
- the value of the
localTypesrecord component
-
stackTypes
public com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] stackTypes()Returns the value of thestackTypesrecord component.- Returns:
- the value of the
stackTypesrecord component
-
frameType()instead