DocumentSymbol or WorkspaceSymbol instead if supported.
This class is deprecated in the LSP specification. It is not annotated with Deprecated
annotation because the org.eclipse.lsp4j.services.TextDocumentService#documentSymbol(DocumentSymbolParams)
method requires it and causes deprecated warning in the code of all users of that API.
| Modifier and Type | Field and Description |
|---|---|
| private String | containerName
Deprecated
The name of the symbol containing this symbol.
|
| private Boolean | deprecated
Deprecated
Use Indicates if this symbol is deprecated.
tags instead if supported.
|
| private SymbolKind | kind
Deprecated
The kind of this symbol.
|
| private Location | location
Deprecated
The location of this symbol.
|
| private String | name
Deprecated
The name of this symbol.
|
| private List | tags
Deprecated
Tags for this symbol.
|
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | SymbolInformation(final String name, final SymbolKind kind, final Location location, final String containerName)
Deprecated
|
| 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 Boolean | |
| public SymbolKind | |
| public Location | |
| public String | |
| public List | |
| public int | |
| public void | setContainerName(final String containerName)
Deprecated
The name of the symbol containing this symbol. |
| public void | setDeprecated(final Boolean deprecated)
Deprecated
Use
tags instead if supported.
Indicates if this symbol is deprecated. |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| containerName | back to summary |
|---|---|
| private String containerName
Deprecated
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. | |
| deprecated | back to summary |
|---|---|
| private Boolean deprecated
Deprecated Use Indicates if this symbol is deprecated. Since 3.8.0 | |
| kind | back to summary |
|---|---|
| private SymbolKind kind
Deprecated
The kind of this symbol. | |
| location | back to summary |
|---|---|
| private Location location
Deprecated
The location of this symbol. The location's range is used by a tool to reveal the location in the editor. If the symbol is selected in the tool the range's start information is used to position the cursor. So the range usually spans more then the actual symbol's name and does normally include things like visibility modifiers. The range doesn't have to denote a node range in the sense of a abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols. | |
| name | back to summary |
|---|---|
| private String name
Deprecated
The name of this symbol. | |
| tags | back to summary |
|---|---|
| private List<SymbolTag> tags
Deprecated
Tags for this symbol. Since 3.16.0 | |
| SymbolInformation | back to summary |
|---|---|
| public SymbolInformation()
Deprecated
| |
| SymbolInformation | back to summary |
|---|---|
| public SymbolInformation(final String name, final SymbolKind kind, final Location location)
Deprecated
| |
| SymbolInformation | back to summary |
|---|---|
| public SymbolInformation(final String name, final SymbolKind kind, final Location location, final String containerName)
Deprecated
| |
| 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()
Deprecated
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.
| |
| getDeprecated | back to summary |
|---|---|
| public Boolean getDeprecated()
Deprecated Use Indicates if this symbol is deprecated. Since 3.8.0
| |
| getKind | back to summary |
|---|---|
| public SymbolKind getKind()
Deprecated
The kind of this symbol.
| |
| getLocation | back to summary |
|---|---|
| public Location getLocation()
Deprecated
The location of this symbol. The location's range is used by a tool to reveal the location in the editor. If the symbol is selected in the tool the range's start information is used to position the cursor. So the range usually spans more then the actual symbol's name and does normally include things like visibility modifiers. The range doesn't have to denote a node range in the sense of a abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols.
| |
| getName | back to summary |
|---|---|
| public String getName()
Deprecated
The name of this symbol.
| |
| getTags | back to summary |
|---|---|
| public List Deprecated
Tags for this symbol. Since 3.16.0
| |
| 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)
Deprecated
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.
| |
| setDeprecated | back to summary |
|---|---|
| public void setDeprecated(final Boolean deprecated)
Deprecated Use Indicates if this symbol is deprecated. Since 3.8.0
| |
| setKind | back to summary |
|---|---|
| public void setKind(final SymbolKind kind)
Deprecated
The kind of this symbol.
| |
| setLocation | back to summary |
|---|---|
| public void setLocation(final Location location)
Deprecated
The location of this symbol. The location's range is used by a tool to reveal the location in the editor. If the symbol is selected in the tool the range's start information is used to position the cursor. So the range usually spans more then the actual symbol's name and does normally include things like visibility modifiers. The range doesn't have to denote a node range in the sense of a abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols.
| |
| setName | back to summary |
|---|---|
| public void setName(final String name)
Deprecated
The name of this symbol.
| |
| setTags | back to summary |
|---|---|
| public void setTags(final List<SymbolTag> tags)
Deprecated
Tags for this symbol. Since 3.16.0
| |
| 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-
| |