@Beta
public class TypeHierarchyItem
extends java.lang.Object
| Constructor and Description |
|---|
TypeHierarchyItem() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<TypeHierarchyItem> |
getChildren()
If this type hierarchy item is resolved, it contains the direct children of the current item.
|
java.lang.Object |
getData()
An optional data field can be used to identify a type hierarchy item in a resolve request.
|
java.lang.Boolean |
getDeprecated()
true if the hierarchy item is deprecated. |
java.lang.String |
getDetail()
Optional detail for the hierarchy item.
|
SymbolKind |
getKind()
The kind of the hierarchy item.
|
java.lang.String |
getName()
The human readable name of the hierarchy item.
|
java.util.List<TypeHierarchyItem> |
getParents()
If this type hierarchy item is resolved, it contains the direct parents.
|
Range |
getRange()
The range enclosing this type hierarchy item not including leading/trailing whitespace but everything else
like comments.
|
Range |
getSelectionRange()
The range that should be selected and revealed when this type hierarchy item is being picked, e.g the name of a function.
|
java.lang.String |
getUri()
The URI of the text document where this type hierarchy item belongs to.
|
int |
hashCode() |
void |
setChildren(java.util.List<TypeHierarchyItem> children)
If this type hierarchy item is resolved, it contains the direct children of the current item.
|
void |
setData(java.lang.Object data)
An optional data field can be used to identify a type hierarchy item in a resolve request.
|
void |
setDeprecated(java.lang.Boolean deprecated)
true if the hierarchy item is deprecated. |
void |
setDetail(java.lang.String detail)
Optional detail for the hierarchy item.
|
void |
setKind(SymbolKind kind)
The kind of the hierarchy item.
|
void |
setName(java.lang.String name)
The human readable name of the hierarchy item.
|
void |
setParents(java.util.List<TypeHierarchyItem> parents)
If this type hierarchy item is resolved, it contains the direct parents.
|
void |
setRange(Range range)
The range enclosing this type hierarchy item not including leading/trailing whitespace but everything else
like comments.
|
void |
setSelectionRange(Range selectionRange)
The range that should be selected and revealed when this type hierarchy item is being picked, e.g the name of a function.
|
void |
setUri(java.lang.String uri)
The URI of the text document where this type hierarchy item belongs to.
|
java.lang.String |
toString() |
@Pure public java.lang.String getName()
public void setName(java.lang.String name)
@Pure public java.lang.String getDetail()
public void setDetail(java.lang.String detail)
@Pure public SymbolKind getKind()
public void setKind(SymbolKind kind)
@Pure public java.lang.Boolean getDeprecated()
true if the hierarchy item is deprecated. Otherwise, false. It is false by default.public void setDeprecated(java.lang.Boolean deprecated)
true if the hierarchy item is deprecated. Otherwise, false. It is false by default.@Pure public java.lang.String getUri()
public void setUri(java.lang.String uri)
@Pure public Range getRange()
selectionRangepublic void setRange(Range range)
selectionRange@Pure public Range getSelectionRange()
range.rangepublic void setSelectionRange(Range selectionRange)
range.range@Pure public java.util.List<TypeHierarchyItem> getParents()
public void setParents(java.util.List<TypeHierarchyItem> parents)
@Pure public java.util.List<TypeHierarchyItem> getChildren()
public void setChildren(java.util.List<TypeHierarchyItem> children)
@Pure public java.lang.Object getData()
public void setData(java.lang.Object data)
@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public int hashCode()
hashCode in class java.lang.Object