Record Class MemoryAccess
java.lang.Object
java.lang.Record
com.ibm.wala.demandpa.util.MemoryAccess
- Record Components:
instructionIndex- index of the field access instruction in a shrikeBt or SSA instruction array
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryAccess(int instructionIndex, CGNode node) Creates an instance of aMemoryAccessrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intDeprecated, for removal: This API element is subject to removal in a future version.getNode()Deprecated, for removal: This API element is subject to removal in a future version.Usenode()insteadfinal inthashCode()Returns a hash code value for this object.intReturns the value of theinstructionIndexrecord component.node()Returns the value of thenoderecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
MemoryAccess
Creates an instance of aMemoryAccessrecord class.- Parameters:
instructionIndex- the value for theinstructionIndexrecord componentnode- the value for thenoderecord component
-
-
Method Details
-
getInstructionIndex
Deprecated, for removal: This API element is subject to removal in a future version.UseinstructionIndex()instead -
toString
-
getNode
Deprecated, for removal: This API element is subject to removal in a future version.Usenode()instead -
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. -
instructionIndex
public int instructionIndex()Returns the value of theinstructionIndexrecord component.- Returns:
- the value of the
instructionIndexrecord component
-
node
Returns the value of thenoderecord component.- Returns:
- the value of the
noderecord component
-
instructionIndex()instead