Package org.eclipse.lsp4j
Class InlayHintParams
- java.lang.Object
-
- org.eclipse.lsp4j.InlayHintParams
-
- All Implemented Interfaces:
WorkDoneProgressParams
public class InlayHintParams extends java.lang.Object implements WorkDoneProgressParams
A parameter literal used in inlay hint requests.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description InlayHintParams()InlayHintParams(TextDocumentIdentifier textDocument, Range range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)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()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
-
InlayHintParams
public InlayHintParams()
-
InlayHintParams
public InlayHintParams(TextDocumentIdentifier textDocument, Range range)
-
-
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.
-
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
-
-