Package ortus.boxlang.debugger
Record Class BoxLangDebugger.StackFrameTuple
java.lang.Object
java.lang.Record
ortus.boxlang.debugger.BoxLangDebugger.StackFrameTuple
- Enclosing class:
BoxLangDebugger
public static record BoxLangDebugger.StackFrameTuple(BoxLangDebugger debugger, StackFrame stackFrame, Location location, int id, Map<LocalVariable,Value> values, ThreadReference thread)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionStackFrameTuple(BoxLangDebugger debugger, StackFrame stackFrame, Location location, int id, Map<LocalVariable, Value> values, ThreadReference thread) Creates an instance of aStackFrameTuplerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondebugger()Returns the value of thedebuggerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.booleanlocation()Returns the value of thelocationrecord component.intReturns the value of thestackFramerecord component.thread()Returns the value of thethreadrecord component.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
StackFrameTuple
public StackFrameTuple(BoxLangDebugger debugger, StackFrame stackFrame, Location location, int id, Map<LocalVariable, Value> values, ThreadReference thread) Creates an instance of aStackFrameTuplerecord class.- Parameters:
debugger- the value for thedebuggerrecord componentstackFrame- the value for thestackFramerecord componentlocation- the value for thelocationrecord componentid- the value for theidrecord componentvalues- the value for thevaluesrecord componentthread- the value for thethreadrecord component
-
-
Method Details
-
sourceFile
-
sourceLine
public int sourceLine() -
getFileName
-
isTemplate
public boolean isTemplate() -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
debugger
Returns the value of thedebuggerrecord component.- Returns:
- the value of the
debuggerrecord component
-
stackFrame
Returns the value of thestackFramerecord component.- Returns:
- the value of the
stackFramerecord component
-
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-
thread
Returns the value of thethreadrecord component.- Returns:
- the value of the
threadrecord component
-