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 Details

    • StackFrameTuple

      public StackFrameTuple(BoxLangDebugger debugger, StackFrame stackFrame, Location location, int id, Map<LocalVariable,Value> values, ThreadReference thread)
      Creates an instance of a StackFrameTuple record class.
      Parameters:
      debugger - the value for the debugger record component
      stackFrame - the value for the stackFrame record component
      location - the value for the location record component
      id - the value for the id record component
      values - the value for the values record component
      thread - the value for the thread record component
  • Method Details

    • sourceFile

      public String sourceFile()
    • sourceLine

      public int sourceLine()
    • getFileName

      public String getFileName()
    • isTemplate

      public boolean isTemplate()
    • toString

      public final 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
    • 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 '=='.
      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.
    • debugger

      public BoxLangDebugger debugger()
      Returns the value of the debugger record component.
      Returns:
      the value of the debugger record component
    • stackFrame

      public StackFrame stackFrame()
      Returns the value of the stackFrame record component.
      Returns:
      the value of the stackFrame record component
    • location

      public Location location()
      Returns the value of the location record component.
      Returns:
      the value of the location record component
    • id

      public int id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • values

      public Map<LocalVariable,Value> values()
      Returns the value of the values record component.
      Returns:
      the value of the values record component
    • thread

      public ThreadReference thread()
      Returns the value of the thread record component.
      Returns:
      the value of the thread record component