Class CompletionsArguments

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

public class CompletionsArguments extends JSONBase
Arguments for 'completions' request.
  • Method Details

    • getFrameId

      public Integer getFrameId()
      Returns completions in the scope of this stack frame. If not specified, the completions are returned for the global scope.
    • setFrameId

      public CompletionsArguments setFrameId(Integer frameId)
    • getText

      public String getText()
      One or more source lines. Typically this is the text a user has typed into the debug console before he asked for completion.
    • setText

      public CompletionsArguments setText(String text)
    • getColumn

      public int getColumn()
      The character position for which to determine the completion proposals.
    • setColumn

      public CompletionsArguments setColumn(int column)
    • getLine

      public Integer getLine()
      An optional line for which to determine the completion proposals. If missing the first line of the text is assumed.
    • setLine

      public CompletionsArguments setLine(Integer line)
    • equals

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

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

      public static CompletionsArguments create(String text, Integer column)