Class GotoTarget

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.GotoTarget

public class GotoTarget extends JSONBase
A GotoTarget describes a code location that can be used as a target in the 'goto' request. The possible goto targets can be determined via the 'gotoTargets' request.
  • Method Details

    • getId

      public int getId()
      Unique identifier for a goto target. This is used in the goto request.
    • setId

      public GotoTarget setId(int id)
    • getLabel

      public String getLabel()
      The name of the goto target (shown in the UI).
    • setLabel

      public GotoTarget setLabel(String label)
    • getLine

      public int getLine()
      The line of the goto target.
    • setLine

      public GotoTarget setLine(int line)
    • getColumn

      public Integer getColumn()
      An optional column of the goto target.
    • setColumn

      public GotoTarget setColumn(Integer column)
    • getEndLine

      public Integer getEndLine()
      An optional end line of the range covered by the goto target.
    • setEndLine

      public GotoTarget setEndLine(Integer endLine)
    • getEndColumn

      public Integer getEndColumn()
      An optional end column of the range covered by the goto target.
    • setEndColumn

      public GotoTarget setEndColumn(Integer endColumn)
    • getInstructionPointerReference

      public String getInstructionPointerReference()
      Optional memory reference for the instruction pointer value represented by this target.
    • setInstructionPointerReference

      public GotoTarget setInstructionPointerReference(String instructionPointerReference)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static GotoTarget create(Integer id, String label, Integer line)