Module org.kink_lang.kink
Record Class FakeCallTraceCse
java.lang.Object
java.lang.Record
org.kink_lang.kink.internal.callstack.FakeCallTraceCse
- Record Components:
trace
- the trace.
- All Implemented Interfaces:
Cse
Cse to mark the trace of fake-call by PUSHTRACE insn.
-
Constructor Summary
ConstructorDescriptionFakeCallTraceCse
(Trace trace) Creates an instance of aFakeCallTraceCse
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.trace()
Returns the value of thetrace
record component.trace
(int programCounter) Returns the trace under the given program counter.
-
Constructor Details
-
FakeCallTraceCse
Creates an instance of aFakeCallTraceCse
record class.- Parameters:
trace
- the value for thetrace
record component
-
-
Method Details
-
trace
Description copied from interface:Cse
Returns the trace under the given program counter. -
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. -
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. -
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)
. -
trace
Returns the value of thetrace
record component.- Returns:
- the value of the
trace
record component
-