Since 3.17.0
| Modifier and Type | Field and Description |
|---|---|
| private Object | data
A data entry field that is preserved between a type hierarchy prepare and supertypes or subtypes requests. |
| private String | detail
More detail for this item, e.g. the signature of a function. |
| private SymbolKind | kind
The kind of this item. |
| private String | name
The name of this item. |
| private Range | range
The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code. |
| private Range | selectionRange
The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. |
| private List | tags
Tags for this item. |
| private String | uri
The resource identifier of this item. |
| Access | Constructor and Description |
|---|---|
| public | TypeHierarchyItem(final String name, final SymbolKind kind, final String uri, final Range range, final Range selectionRange)
|
| public | TypeHierarchyItem(final String name, final SymbolKind kind, final String uri, final Range range, final Range selectionRange, final String detail)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Object | getData()
A data entry field that is preserved between a type hierarchy prepare and supertypes or subtypes requests. |
| public String | |
| public SymbolKind | |
| public String | |
| public Range | getRange()
The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code. |
| public Range | getSelectionRange()
The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. |
| public List | |
| public String | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setSelectionRange(final Range selectionRange)
The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. |
| public void | |
| public void | |
| public String |
| data | back to summary |
|---|---|
| private Object data A data entry field that is preserved between a type hierarchy prepare and supertypes or subtypes requests. It could also be used to identify the type hierarchy in the server, helping improve the performance on resolving supertypes and subtypes. | |
| detail | back to summary |
|---|---|
| private String detail More detail for this item, e.g. the signature of a function. | |
| kind | back to summary |
|---|---|
| private SymbolKind kind The kind of this item. | |
| name | back to summary |
|---|---|
| private String name The name of this item. | |
| range | back to summary |
|---|---|
| private Range range The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code. | |
| selectionRange | back to summary |
|---|---|
| private Range selectionRange The range that should be selected and revealed when this symbol is being
picked, e.g. the name of a function. Must be contained by the | |
| tags | back to summary |
|---|---|
| private List<SymbolTag> tags Tags for this item. | |
| uri | back to summary |
|---|---|
| private String uri The resource identifier of this item. | |
| TypeHierarchyItem | back to summary |
|---|---|
| public TypeHierarchyItem(final String name, final SymbolKind kind, final String uri, final Range range, final Range selectionRange) | |
| TypeHierarchyItem | back to summary |
|---|---|
| public TypeHierarchyItem(final String name, final SymbolKind kind, final String uri, final Range range, final Range selectionRange, final String detail) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getData | back to summary |
|---|---|
| public Object getData() A data entry field that is preserved between a type hierarchy prepare and supertypes or subtypes requests. It could also be used to identify the type hierarchy in the server, helping improve the performance on resolving supertypes and subtypes. | |
| getDetail | back to summary |
|---|---|
| public String getDetail() More detail for this item, e.g. the signature of a function. | |
| getKind | back to summary |
|---|---|
| public SymbolKind getKind() The kind of this item.
| |
| getName | back to summary |
|---|---|
| public String getName() The name of this item.
| |
| getRange | back to summary |
|---|---|
| public Range getRange() The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.
| |
| getSelectionRange | back to summary |
|---|---|
| public Range getSelectionRange() The range that should be selected and revealed when this symbol is being
picked, e.g. the name of a function. Must be contained by the
| |
| getTags | back to summary |
|---|---|
| public List Tags for this item. | |
| getUri | back to summary |
|---|---|
| public String getUri() The resource identifier of this item.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setData | back to summary |
|---|---|
| public void setData(final Object data) A data entry field that is preserved between a type hierarchy prepare and supertypes or subtypes requests. It could also be used to identify the type hierarchy in the server, helping improve the performance on resolving supertypes and subtypes. | |
| setDetail | back to summary |
|---|---|
| public void setDetail(final String detail) More detail for this item, e.g. the signature of a function. | |
| setKind | back to summary |
|---|---|
| public void setKind(final SymbolKind kind) The kind of this item. | |
| setName | back to summary |
|---|---|
| public void setName(final String name) The name of this item. | |
| setRange | back to summary |
|---|---|
| public void setRange(final Range range) The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code. | |
| setSelectionRange | back to summary |
|---|---|
| public void setSelectionRange(final Range selectionRange) The range that should be selected and revealed when this symbol is being
picked, e.g. the name of a function. Must be contained by the | |
| setTags | back to summary |
|---|---|
| public void setTags(final List<SymbolTag> tags) Tags for this item. | |
| setUri | back to summary |
|---|---|
| public void setUri(final String uri) The resource identifier of this item. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |