Package org.eclipse.lsp4j
Class InlineValueParams
- java.lang.Object
-
- org.eclipse.lsp4j.InlineValueParams
-
- All Implemented Interfaces:
WorkDoneProgressParams
public class InlineValueParams extends java.lang.Object implements WorkDoneProgressParams
A parameter literal used in inline value requests.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description InlineValueParams()
InlineValueParams(TextDocumentIdentifier textDocument, Range range, InlineValueContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
InlineValueContext
getContext()
Additional information about the context in which inline values were requested.Range
getRange()
The visible document range for which inlay hints should be computed.TextDocumentIdentifier
getTextDocument()
The text document.org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer>
getWorkDoneToken()
An optional token that a server can use to report work done progress.int
hashCode()
void
setContext(InlineValueContext context)
Additional information about the context in which inline values were requested.void
setRange(Range range)
The visible document range for which inlay hints should be computed.void
setTextDocument(TextDocumentIdentifier textDocument)
The text document.void
setWorkDoneToken(java.lang.Integer workDoneToken)
void
setWorkDoneToken(java.lang.String workDoneToken)
void
setWorkDoneToken(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> workDoneToken)
An optional token that a server can use to report work done progress.java.lang.String
toString()
-
-
-
Constructor Detail
-
InlineValueParams
public InlineValueParams()
-
InlineValueParams
public InlineValueParams(TextDocumentIdentifier textDocument, Range range, InlineValueContext context)
-
-
Method Detail
-
getWorkDoneToken
public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> getWorkDoneToken()
An optional token that a server can use to report work done progress.- Specified by:
getWorkDoneToken
in interfaceWorkDoneProgressParams
-
setWorkDoneToken
public void setWorkDoneToken(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> workDoneToken)
An optional token that a server can use to report work done progress.- Specified by:
setWorkDoneToken
in interfaceWorkDoneProgressParams
-
setWorkDoneToken
public void setWorkDoneToken(java.lang.String workDoneToken)
-
setWorkDoneToken
public void setWorkDoneToken(java.lang.Integer workDoneToken)
-
getTextDocument
public TextDocumentIdentifier getTextDocument()
The text document.
-
setTextDocument
public void setTextDocument(TextDocumentIdentifier textDocument)
The text document.
-
getRange
public Range getRange()
The visible document range for which inlay hints should be computed.
-
setRange
public void setRange(Range range)
The visible document range for which inlay hints should be computed.
-
getContext
public InlineValueContext getContext()
Additional information about the context in which inline values were requested.
-
setContext
public void setContext(InlineValueContext context)
Additional information about the context in which inline values were requested.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-