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 booleanequals(java.lang.Object obj)InlineValueContextgetContext()Additional information about the context in which inline values were requested.RangegetRange()The visible document range for which inlay hints should be computed.TextDocumentIdentifiergetTextDocument()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.inthashCode()voidsetContext(InlineValueContext context)Additional information about the context in which inline values were requested.voidsetRange(Range range)The visible document range for which inlay hints should be computed.voidsetTextDocument(TextDocumentIdentifier textDocument)The text document.voidsetWorkDoneToken(java.lang.Integer workDoneToken)voidsetWorkDoneToken(java.lang.String workDoneToken)voidsetWorkDoneToken(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.StringtoString()
-
-
-
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:
getWorkDoneTokenin 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:
setWorkDoneTokenin 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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-