Package org.eclipse.lsp4j
Class SelectionRangeParams
- java.lang.Object
-
- org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
-
- org.eclipse.lsp4j.SelectionRangeParams
-
- All Implemented Interfaces:
PartialResultParams,WorkDoneProgressParams
public class SelectionRangeParams extends WorkDoneProgressAndPartialResultParams
A parameter literal used in selection range requests.Since 3.15.0
-
-
Constructor Summary
Constructors Constructor Description SelectionRangeParams()SelectionRangeParams(TextDocumentIdentifier textDocument, java.util.List<Position> positions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<Position>getPositions()The positions inside the text document.TextDocumentIdentifiergetTextDocument()The text document.inthashCode()voidsetPositions(java.util.List<Position> positions)The positions inside the text document.voidsetTextDocument(TextDocumentIdentifier textDocument)The text document.java.lang.StringtoString()-
Methods inherited from class org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
getPartialResultToken, getWorkDoneToken, setPartialResultToken, setPartialResultToken, setPartialResultToken, setWorkDoneToken, setWorkDoneToken, setWorkDoneToken
-
-
-
-
Constructor Detail
-
SelectionRangeParams
public SelectionRangeParams()
-
SelectionRangeParams
public SelectionRangeParams(TextDocumentIdentifier textDocument, java.util.List<Position> positions)
-
-
Method Detail
-
getTextDocument
public TextDocumentIdentifier getTextDocument()
The text document.
-
setTextDocument
public void setTextDocument(TextDocumentIdentifier textDocument)
The text document.
-
getPositions
public java.util.List<Position> getPositions()
The positions inside the text document.
-
setPositions
public void setPositions(java.util.List<Position> positions)
The positions inside the text document.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classWorkDoneProgressAndPartialResultParams
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classWorkDoneProgressAndPartialResultParams
-
hashCode
public int hashCode()
- Overrides:
hashCodein classWorkDoneProgressAndPartialResultParams
-
-