Class GotoTarget
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.GotoTarget
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 Summary
Modifier and TypeMethodDescriptionstatic GotoTargetbooleanAn optional column of the goto target.An optional end column of the range covered by the goto target.An optional end line of the range covered by the goto target.intgetId()Unique identifier for a goto target.Optional memory reference for the instruction pointer value represented by this target.getLabel()The name of the goto target (shown in the UI).intgetLine()The line of the goto target.inthashCode()setEndColumn(Integer endColumn) setEndLine(Integer endLine) setId(int id) setInstructionPointerReference(String instructionPointerReference) setLine(int line)
-
Method Details
-
getId
public int getId()Unique identifier for a goto target. This is used in the goto request. -
setId
-
getLabel
The name of the goto target (shown in the UI). -
setLabel
-
getLine
public int getLine()The line of the goto target. -
setLine
-
getColumn
An optional column of the goto target. -
setColumn
-
getEndLine
An optional end line of the range covered by the goto target. -
setEndLine
-
getEndColumn
An optional end column of the range covered by the goto target. -
setEndColumn
-
getInstructionPointerReference
Optional memory reference for the instruction pointer value represented by this target. -
setInstructionPointerReference
-
equals
-
hashCode
public int hashCode() -
create
-