Record Class InstructionByIIndexWrapper<T extends SSAInstruction>
java.lang.Object
java.lang.Record
com.ibm.wala.core.util.ssa.InstructionByIIndexWrapper<T>
public record InstructionByIIndexWrapper<T extends SSAInstruction>(T extends SSAInstruction instruction)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionInstructionByIIndexWrapper(T instruction) Creates an instance of aInstructionByIIndexWrapperrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Returns a hash code value for this object.Returns the value of theinstructionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InstructionByIIndexWrapper
Creates an instance of aInstructionByIIndexWrapperrecord class.- Parameters:
instruction- the value for theinstructionrecord component
-
-
Method Details
-
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). -
getInstruction
Deprecated, for removal: This API element is subject to removal in a future version.Useinstruction()instead -
toString
-
instruction
Returns the value of theinstructionrecord component.- Returns:
- the value of the
instructionrecord component
-
instruction()instead