Since 3.17.0
| Modifier and Type | Field and Description |
|---|---|
| private Object | data
A data entry field that is preserved on a inlay hint between
a |
| private InlayHintKind | kind
The kind of this hint. |
| private Either | label
The label of this hint. |
| private Boolean | paddingLeft
Render padding before the hint. |
| private Boolean | paddingRight
Render padding after the hint. |
| private Position | position
The position of this hint. |
| private List | textEdits
Optional text edits that are performed when accepting this inlay hint. |
| private Either | tooltip
The tooltip text when you hover over this item. |
| 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 Object | getData()
A data entry field that is preserved on a inlay hint between
a |
| public InlayHintKind | |
| public Either | |
| public Boolean | |
| public Boolean | |
| public Position | |
| public List | |
| public Either | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setTextEdits(final List<TextEdit> textEdits)
Optional text edits that are performed when accepting this inlay hint. |
| public void | setTooltip(final Either<String, MarkupContent> tooltip)
The tooltip text when you hover over this item. |
| public void | |
| public void | |
| public String |
| data | back to summary |
|---|---|
| private Object data A data entry field that is preserved on a inlay hint between
a | |
| kind | back to summary |
|---|---|
| private InlayHintKind kind The kind of this hint. Can be omitted in which case the client should fall back to a reasonable default. | |
| label | back to summary |
|---|---|
| private Either<String, List<InlayHintLabelPart>> label The label of this hint. A human readable string or an array of
*Note* that neither the string nor the label part can be empty. | |
| paddingLeft | back to summary |
|---|---|
| private Boolean paddingLeft Render padding before the hint. Note Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint. | |
| paddingRight | back to summary |
|---|---|
| private Boolean paddingRight Render padding after the hint. Note Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint. | |
| position | back to summary |
|---|---|
| private Position position The position of this hint. | |
| textEdits | back to summary |
|---|---|
| private List<TextEdit> textEdits Optional text edits that are performed when accepting this inlay hint. *Note* that edits are expected to change the document so that the inlay hint (or its nearest variant) is now part of the document and the inlay hint itself is now obsolete.
Depending on the client capability | |
| tooltip | back to summary |
|---|---|
| private Either<String, MarkupContent> tooltip The tooltip text when you hover over this item.
Depending on the client capability | |
| InlayHint | back to summary |
|---|---|
| public InlayHint() | |
| InlayHint | back to summary |
|---|---|
| public InlayHint(final Position position, final Either<String, List<InlayHintLabelPart>> label) | |
| 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 on a inlay hint between
a | |
| getKind | back to summary |
|---|---|
| public InlayHintKind getKind() The kind of this hint. Can be omitted in which case the client should fall back to a reasonable default. | |
| getLabel | back to summary |
|---|---|
| public Either The label of this hint. A human readable string or an array of
*Note* that neither the string nor the label part can be empty.
| |
| getPaddingLeft | back to summary |
|---|---|
| public Boolean getPaddingLeft() Render padding before the hint. Note Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint. | |
| getPaddingRight | back to summary |
|---|---|
| public Boolean getPaddingRight() Render padding after the hint. Note Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint. | |
| getPosition | back to summary |
|---|---|
| public Position getPosition() The position of this hint.
| |
| getTextEdits | back to summary |
|---|---|
| public List Optional text edits that are performed when accepting this inlay hint. *Note* that edits are expected to change the document so that the inlay hint (or its nearest variant) is now part of the document and the inlay hint itself is now obsolete.
Depending on the client capability | |
| getTooltip | back to summary |
|---|---|
| public Either The tooltip text when you hover over this item.
Depending on the client capability | |
| 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 on a inlay hint between
a | |
| setKind | back to summary |
|---|---|
| public void setKind(final InlayHintKind kind) The kind of this hint. Can be omitted in which case the client should fall back to a reasonable default. | |
| setLabel | back to summary |
|---|---|
| public void setLabel(final Either<String, List<InlayHintLabelPart>> label) The label of this hint. A human readable string or an array of
*Note* that neither the string nor the label part can be empty. | |
| setLabel | back to summary |
|---|---|
| public void setLabel(final String label) | |
| setLabel | back to summary |
|---|---|
| public void setLabel(final List<InlayHintLabelPart> label) | |
| setPaddingLeft | back to summary |
|---|---|
| public void setPaddingLeft(final Boolean paddingLeft) Render padding before the hint. Note Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint. | |
| setPaddingRight | back to summary |
|---|---|
| public void setPaddingRight(final Boolean paddingRight) Render padding after the hint. Note Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint. | |
| setPosition | back to summary |
|---|---|
| public void setPosition(final Position position) The position of this hint. | |
| setTextEdits | back to summary |
|---|---|
| public void setTextEdits(final List<TextEdit> textEdits) Optional text edits that are performed when accepting this inlay hint. *Note* that edits are expected to change the document so that the inlay hint (or its nearest variant) is now part of the document and the inlay hint itself is now obsolete.
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 item.
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) | |
| 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-
| |