| Modifier and Type | Field and Description |
|---|---|
| private Either | contents
The hover's content as markdown |
| private Range | range
An optional range |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| 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 Either | |
| public Range | |
| public int | |
| public void | setContents(final Either<List<Either<String, MarkedString>>, MarkupContent> contents)
The hover's content as markdown |
| public void | |
| public void | |
| public void | |
| public String |
| contents | back to summary |
|---|---|
| private Either<List<Either<String, MarkedString>>, MarkupContent> contents The hover's content as markdown | |
| range | back to summary |
|---|---|
| private Range range An optional range | |
| Hover | back to summary |
|---|---|
| public Hover() | |
| Hover | back to summary |
|---|---|
| public Hover(final List<Either<String, MarkedString>> contents) | |
| Hover | back to summary |
|---|---|
| public Hover(final List<Either<String, MarkedString>> contents, final Range range) | |
| Hover | back to summary |
|---|---|
| public Hover(final MarkupContent contents) | |
| Hover | back to summary |
|---|---|
| public Hover(final MarkupContent contents, final Range range) | |
| Hover | back to summary |
|---|---|
| public Hover(final Either<String, MarkedString> contents) | |
| 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.
| |
| getContents | back to summary |
|---|---|
| public Either The hover's content as markdown
| |
| getRange | back to summary |
|---|---|
| public Range getRange() An optional range | |
| 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
| |
| setContents | back to summary |
|---|---|
| public void setContents(final Either<List<Either<String, MarkedString>>, MarkupContent> contents) The hover's content as markdown | |
| setContents | back to summary |
|---|---|
| public void setContents(final List<Either<String, MarkedString>> contents) | |
| setContents | back to summary |
|---|---|
| public void setContents(final MarkupContent contents) | |
| setRange | back to summary |
|---|---|
| public void setRange(final Range range) An optional range | |
| 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-
| |