Class RenameParams
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.WorkDoneProgressParams
org.graalvm.tools.lsp.server.types.RenameParams
The parameters of a [RenameRequest](#RenameRequest).
-
Method Summary
Modifier and TypeMethodDescriptionstatic RenameParamscreate(TextDocumentIdentifier textDocument, Position position, String newName) booleanThe new name of the symbol.The position at which this request was sent.The document to rename.inthashCode()setNewName(String newName) setPosition(Position position) setTextDocument(TextDocumentIdentifier textDocument) Methods inherited from class org.graalvm.tools.lsp.server.types.WorkDoneProgressParams
create, getWorkDoneToken, setWorkDoneToken
-
Method Details
-
getTextDocument
The document to rename. -
setTextDocument
-
getPosition
The position at which this request was sent. -
setPosition
-
getNewName
The new name of the symbol. If the given name is not valid the request must return a [ResponseError](#ResponseError) with an appropriate message set. -
setNewName
-
equals
- Overrides:
equalsin classWorkDoneProgressParams
-
hashCode
public int hashCode()- Overrides:
hashCodein classWorkDoneProgressParams
-
create
public static RenameParams create(TextDocumentIdentifier textDocument, Position position, String newName)
-