textDocument/prepareCallHierarchy request.
Since 3.16.0
| Modifier and Type | Field and Description |
|---|---|
| private Object | data
A data entry field that is preserved between a call hierarchy prepare and incoming calls or outgoing calls 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 the item targeted by the call hierarchy request. |
| private Range | range
The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. |
| 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 | |
| public | CallHierarchyItem(final String name, final SymbolKind kind, final String uri, final Range range, final Range selectionRange)
|
| 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 call hierarchy prepare and incoming calls or outgoing calls requests. |
| public String | |
| public SymbolKind | |
| public String | |
| public Range | getRange()
The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. |
| 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 call hierarchy prepare and incoming calls or outgoing calls requests. | |
| 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 the item targeted by the call hierarchy request. | |
| range | back to summary |
|---|---|
| private Range range The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the client's cursor is inside the symbol to reveal the symbol in the UI. | |
| 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. | |
| CallHierarchyItem | back to summary |
|---|---|
| public CallHierarchyItem() | |
| CallHierarchyItem | back to summary |
|---|---|
| public CallHierarchyItem(final String name, final SymbolKind kind, final String uri, final Range range, final Range selectionRange) | |
| 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 call hierarchy prepare and incoming calls or outgoing calls requests. | |
| 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 the item targeted by the call hierarchy request.
| |
| getRange | back to summary |
|---|---|
| public Range getRange() The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the client's cursor is inside the symbol to reveal the symbol in the UI.
| |
| 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 call hierarchy prepare and incoming calls or outgoing calls requests. | |
| 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 the item targeted by the call hierarchy request. | |
| setRange | back to summary |
|---|---|
| public void setRange(final Range range) The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the client's cursor is inside the symbol to reveal the symbol in the UI. | |
| 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-
| |