Since 3.17.0
| Modifier and Type | Field and Description |
|---|---|
| private Command | command
An optional command for this label part. |
| private Location | location
An optional source code location that represents this label part. |
| private Either | tooltip
The tooltip text when you hover over this label part. |
| private String | value
The value of this label part. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| 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 Command | |
| public Location | |
| public Either | |
| public String | |
| public int | |
| public void | |
| public void | setLocation(final Location location)
An optional source code location that represents this label part. |
| public void | setTooltip(final Either<String, MarkupContent> tooltip)
The tooltip text when you hover over this label part. |
| public void | |
| public void | |
| public void | |
| public String |
| command | back to summary |
|---|---|
| private Command command An optional command for this label part.
Depending on the client capability | |
| location | back to summary |
|---|---|
| private Location location An optional source code location that represents this label part. The editor will use this location for the hover and for code navigation features: This part will become a clickable link that resolves to the definition of the symbol at the given location (not necessarily the location itself), it shows the hover that shows at the given location, and it shows a context menu with further code navigation commands.
Depending on the client capability | |
| tooltip | back to summary |
|---|---|
| private Either<String, MarkupContent> tooltip The tooltip text when you hover over this label part. Depending on
the client capability | |
| value | back to summary |
|---|---|
| private String value The value of this label part. | |
| InlayHintLabelPart | back to summary |
|---|---|
| public InlayHintLabelPart() | |
| InlayHintLabelPart | back to summary |
|---|---|
| public InlayHintLabelPart(final String value) | |
| 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.
| |
| getCommand | back to summary |
|---|---|
| public Command getCommand() An optional command for this label part.
Depending on the client capability | |
| getLocation | back to summary |
|---|---|
| public Location getLocation() An optional source code location that represents this label part. The editor will use this location for the hover and for code navigation features: This part will become a clickable link that resolves to the definition of the symbol at the given location (not necessarily the location itself), it shows the hover that shows at the given location, and it shows a context menu with further code navigation commands.
Depending on the client capability | |
| getTooltip | back to summary |
|---|---|
| public Either The tooltip text when you hover over this label part. Depending on
the client capability | |
| getValue | back to summary |
|---|---|
| public String getValue() The value of this label part.
| |
| 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
| |
| setCommand | back to summary |
|---|---|
| public void setCommand(final Command command) An optional command for this label part.
Depending on the client capability | |
| setLocation | back to summary |
|---|---|
| public void setLocation(final Location location) An optional source code location that represents this label part. The editor will use this location for the hover and for code navigation features: This part will become a clickable link that resolves to the definition of the symbol at the given location (not necessarily the location itself), it shows the hover that shows at the given location, and it shows a context menu with further code navigation commands.
Depending on the client capability | |
| setTooltip | back to summary |
|---|---|
| public void setTooltip(final Either<String, MarkupContent> tooltip) The tooltip text when you hover over this label part. Depending on
the client capability | |
| setTooltip | back to summary |
|---|---|
| public void setTooltip(final String tooltip) | |
| setTooltip | back to summary |
|---|---|
| public void setTooltip(final MarkupContent tooltip) | |
| setValue | back to summary |
|---|---|
| public void setValue(final String value) The value of this label part. | |
| 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-
| |