Class CodeActionParams
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.WorkDoneProgressParams
org.graalvm.tools.lsp.server.types.CodeActionParams
The parameters of a [CodeActionRequest](#CodeActionRequest).
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodeActionParamscreate(TextDocumentIdentifier textDocument, Range range, CodeActionContext context) booleanContext carrying additional information.An optional token that a server can use to report partial results (e.g.getRange()The range for which the command was invoked.The document in which the command was invoked.inthashCode()setContext(CodeActionContext context) setPartialResultToken(Object partialResultToken) setTextDocument(TextDocumentIdentifier textDocument) Methods inherited from class org.graalvm.tools.lsp.server.types.WorkDoneProgressParams
create, getWorkDoneToken, setWorkDoneToken
-
Method Details
-
getTextDocument
The document in which the command was invoked. -
setTextDocument
-
getRange
The range for which the command was invoked. -
setRange
-
getContext
Context carrying additional information. -
setContext
-
getPartialResultToken
An optional token that a server can use to report partial results (e.g. streaming) to the client. -
setPartialResultToken
-
equals
- Overrides:
equalsin classWorkDoneProgressParams
-
hashCode
public int hashCode()- Overrides:
hashCodein classWorkDoneProgressParams
-
create
public static CodeActionParams create(TextDocumentIdentifier textDocument, Range range, CodeActionContext context)
-