Class CompletionParams
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.TextDocumentPositionParams
org.graalvm.tools.lsp.server.types.CompletionParams
Completion parameters.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletionParamscreate(TextDocumentIdentifier textDocument, Position position) booleanThe completion context.An optional token that a server can use to report partial results (e.g.An optional token that a server can use to report work done progress.inthashCode()setContext(CompletionContext context) setPartialResultToken(Object partialResultToken) setWorkDoneToken(Object workDoneToken) Methods inherited from class org.graalvm.tools.lsp.server.types.TextDocumentPositionParams
getPosition, getTextDocument, setPosition, setTextDocument
-
Method Details
-
getContext
The completion context. This is only available it the client specifies to send this using the client capability `textDocument.completion.contextSupport === true` -
setContext
-
getWorkDoneToken
An optional token that a server can use to report work done progress. -
setWorkDoneToken
-
getPartialResultToken
An optional token that a server can use to report partial results (e.g. streaming) to the client. -
setPartialResultToken
-
equals
- Overrides:
equalsin classTextDocumentPositionParams
-
hashCode
public int hashCode()- Overrides:
hashCodein classTextDocumentPositionParams
-
create
-