Since 3.17.0
| Modifier and Type | Field and Description |
|---|---|
| private String | containerName
The name of the symbol containing this symbol. |
| private Object | data
A data entry field that is preserved on a workspace symbol between a workspace symbol request and a workspace symbol resolve request. |
| private SymbolKind | kind
The kind of this symbol. |
| private Either | location
The location of this symbol. |
| private String | name
The name of this symbol. |
| private List | tags
Tags for this completion item. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | WorkspaceSymbol(final String name, final SymbolKind kind, final Either<Location, WorkspaceSymbolLocation> location)
|
| public | WorkspaceSymbol(final String name, final SymbolKind kind, final Either<Location, WorkspaceSymbolLocation> location, final String containerName)
|
| 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 String | |
| public Object | getData()
A data entry field that is preserved on a workspace symbol between a workspace symbol request and a workspace symbol resolve request. |
| public SymbolKind | |
| public Either | |
| public String | |
| public List | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| containerName | back to summary |
|---|---|
| private String containerName The name of the symbol containing this symbol. This information is for user interface purposes (e.g. to render a qualifier in the user interface if necessary). It can't be used to re-infer a hierarchy for the document symbols. | |
| data | back to summary |
|---|---|
| private Object data A data entry field that is preserved on a workspace symbol between a workspace symbol request and a workspace symbol resolve request. | |
| kind | back to summary |
|---|---|
| private SymbolKind kind The kind of this symbol. | |
| location | back to summary |
|---|---|
| private Either<Location, WorkspaceSymbolLocation> location The location of this symbol. Whether a server is allowed to
return a location without a range depends on the client
capability
See also | |
| name | back to summary |
|---|---|
| private String name The name of this symbol. | |
| tags | back to summary |
|---|---|
| private List<SymbolTag> tags Tags for this completion item. | |
| WorkspaceSymbol | back to summary |
|---|---|
| public WorkspaceSymbol() | |
| WorkspaceSymbol | back to summary |
|---|---|
| public WorkspaceSymbol(final String name, final SymbolKind kind, final Either<Location, WorkspaceSymbolLocation> location) | |
| WorkspaceSymbol | back to summary |
|---|---|
| public WorkspaceSymbol(final String name, final SymbolKind kind, final Either<Location, WorkspaceSymbolLocation> location, final String containerName) | |
| 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.
| |
| getContainerName | back to summary |
|---|---|
| public String getContainerName() The name of the symbol containing this symbol. This information is for user interface purposes (e.g. to render a qualifier in the user interface if necessary). It can't be used to re-infer a hierarchy for the document symbols. | |
| getData | back to summary |
|---|---|
| public Object getData() A data entry field that is preserved on a workspace symbol between a workspace symbol request and a workspace symbol resolve request. | |
| getKind | back to summary |
|---|---|
| public SymbolKind getKind() The kind of this symbol.
| |
| getLocation | back to summary |
|---|---|
| public Either The location of this symbol. Whether a server is allowed to
return a location without a range depends on the client
capability
See also
| |
| getName | back to summary |
|---|---|
| public String getName() The name of this symbol.
| |
| getTags | back to summary |
|---|---|
| public List Tags for this completion 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
| |
| setContainerName | back to summary |
|---|---|
| public void setContainerName(final String containerName) The name of the symbol containing this symbol. This information is for user interface purposes (e.g. to render a qualifier in the user interface if necessary). It can't be used to re-infer a hierarchy for the document symbols. | |
| setData | back to summary |
|---|---|
| public void setData(final Object data) A data entry field that is preserved on a workspace symbol between a workspace symbol request and a workspace symbol resolve request. | |
| setKind | back to summary |
|---|---|
| public void setKind(final SymbolKind kind) The kind of this symbol. | |
| setLocation | back to summary |
|---|---|
| public void setLocation(final Either<Location, WorkspaceSymbolLocation> location) The location of this symbol. Whether a server is allowed to
return a location without a range depends on the client
capability
See also | |
| setName | back to summary |
|---|---|
| public void setName(final String name) The name of this symbol. | |
| setTags | back to summary |
|---|---|
| public void setTags(final List<SymbolTag> tags) Tags for this completion 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-
| |