public class Hover
extends java.lang.Object
Constructor and Description |
---|
Hover() |
Hover(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString> contents) |
Hover(java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>> contents) |
Hover(java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>> contents,
Range range) |
Hover(MarkupContent contents) |
Hover(MarkupContent contents,
Range range) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
org.eclipse.lsp4j.jsonrpc.messages.Either<java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>>,MarkupContent> |
getContents()
The hover's content as markdown
|
Range |
getRange()
An optional range
|
int |
hashCode() |
void |
setContents(org.eclipse.lsp4j.jsonrpc.messages.Either<java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>>,MarkupContent> contents)
The hover's content as markdown
|
void |
setContents(java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>> contents) |
void |
setContents(MarkupContent contents) |
void |
setRange(Range range)
An optional range
|
java.lang.String |
toString() |
public Hover()
public Hover(java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>> contents)
public Hover(java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>> contents, Range range)
public Hover(MarkupContent contents)
public Hover(MarkupContent contents, Range range)
public Hover(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString> contents)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>>,MarkupContent> getContents()
public void setContents(org.eclipse.lsp4j.jsonrpc.messages.Either<java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>>,MarkupContent> contents)
public void setContents(java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkedString>> contents)
public void setContents(MarkupContent contents)
@Pure public Range getRange()
public void setRange(Range range)
@Pure public java.lang.String toString()
toString
in class java.lang.Object
@Pure public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Pure public int hashCode()
hashCode
in class java.lang.Object