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

    Constructors
    Constructor
    Description
    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 a StackMapFrame record class.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    int
    Returns the value of the frameType record component.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use frameType() instead
    com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use localTypes() instead
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use offset() instead
    com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use stackTypes() instead
    final int
    Returns a hash code value for this object.
    com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[]
    Returns the value of the localTypes record component.
    int
    Returns the value of the offset record component.
    com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[]
    Returns the value of the stackTypes record component.
    Returns a string representation of this record class.
    void
     

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StackMapFrame

      public StackMapFrame(StackMapConstants.StackMapFrame frame, int newOffset)
    • 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 a StackMapFrame record class.
      Parameters:
      frameType - the value for the frameType record component
      offset - the value for the offset record component
      localTypes - the value for the localTypes record component
      stackTypes - the value for the stackTypes record component
  • Method Details

    • getFrameType

      @Deprecated(forRemoval=true, since="1.8.0") public int getFrameType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use frameType() instead
    • getOffset

      @Deprecated(forRemoval=true, since="1.8.0") public int getOffset()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use offset() 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.
      Use localTypes() 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.
      Use stackTypes() instead
    • toString

      public String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • write

      public void write(OutputStream out, ClassWriter writer) throws IOException
      Throws:
      IOException
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • frameType

      public int frameType()
      Returns the value of the frameType record component.
      Returns:
      the value of the frameType record component
    • offset

      public int offset()
      Returns the value of the offset record component.
      Returns:
      the value of the offset record component
    • localTypes

      public com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] localTypes()
      Returns the value of the localTypes record component.
      Returns:
      the value of the localTypes record component
    • stackTypes

      public com.ibm.wala.shrike.shrikeCT.StackMapConstants.StackMapType[] stackTypes()
      Returns the value of the stackTypes record component.
      Returns:
      the value of the stackTypes record component