Package org.eclipse.lsp4j
Class SelectionRange
- java.lang.Object
-
- org.eclipse.lsp4j.SelectionRange
-
public class SelectionRange extends java.lang.ObjectA selection range represents a part of a selection hierarchy. A selection range may have a parent selection range that contains it.Since 3.15.0
-
-
Constructor Summary
Constructors Constructor Description SelectionRange()SelectionRange(Range range, SelectionRange parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)SelectionRangegetParent()The parent selection range containing this range.RangegetRange()The range of this selection range.inthashCode()voidsetParent(SelectionRange parent)The parent selection range containing this range.voidsetRange(Range range)The range of this selection range.java.lang.StringtoString()
-
-
-
Constructor Detail
-
SelectionRange
public SelectionRange()
-
SelectionRange
public SelectionRange(Range range, SelectionRange parent)
-
-
Method Detail
-
getRange
public Range getRange()
The range of this selection range.
-
setRange
public void setRange(Range range)
The range of this selection range.
-
getParent
public SelectionRange getParent()
The parent selection range containing this range. Therefore `parent.range` must containrange.
-
setParent
public void setParent(SelectionRange parent)
The parent selection range containing this range. Therefore `parent.range` must containrange.
-
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
-
-