| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final TypeToken | |
| private final Gson | |
| private static final TypeToken | |
| private static final TypeToken |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Hover | read(final JsonReader in)
Implements abstract com. Reads one JSON value (an array, object, string, number, boolean or null) and converts it to a Java object. |
| protected Either | |
| protected Range | |
| public void | write(final JsonWriter out, final Hover value)
Implements abstract com. Writes one JSON value (an array, object, string, number, boolean or null)
for |
| protected void | writeContents(final JsonWriter out, final Either<List<Either<String, MarkedString>>, MarkupContent> contents)
|
| protected void |
| CONTENTS_TYPE_TOKEN | back to summary |
|---|---|
| private static final TypeToken<Either<List<Either<String, MarkedString>>, MarkupContent>> CONTENTS_TYPE_TOKEN | |
| gson | back to summary |
|---|---|
| private final Gson gson | |
| LIST_STRING_MARKEDSTRING | back to summary |
|---|---|
| private static final TypeToken<List<Either<String, MarkedString>>> LIST_STRING_MARKEDSTRING | |
| STRING_MARKEDSTRING | back to summary |
|---|---|
| private static final TypeToken<Either<String, MarkedString>> STRING_MARKEDSTRING | |
| HoverTypeAdapter | back to summary |
|---|---|
| public HoverTypeAdapter(final Gson gson) | |
| read | back to summary |
|---|---|
| public Hover read(final JsonReader in) throws IOException Implements abstract com. Doc from com. Reads one JSON value (an array, object, string, number, boolean or null) and converts it to a Java object. Returns the converted object. | |
| readContents | back to summary |
|---|---|
| protected Either | |
| readRange | back to summary |
|---|---|
| protected Range readRange(final JsonReader in) throws IOException | |
| write | back to summary |
|---|---|
| public void write(final JsonWriter out, final Hover value) throws IOException Implements abstract com. Doc from com. Writes one JSON value (an array, object, string, number, boolean or null)
for | |
| writeContents | back to summary |
|---|---|
| protected void writeContents(final JsonWriter out, final Either<List<Either<String, MarkedString>>, MarkupContent> contents) throws IOException | |
| writeRange | back to summary |
|---|---|
| protected void writeRange(final JsonWriter out, final Range value) throws IOException | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> TypeAdapter | create(final Gson gson, final TypeToken<T> typeToken)
Implements com. Returns a type adapter for |
| Factory | back to summary |
|---|---|
| public Factory() | |
| create | back to summary |
|---|---|
| public <T> TypeAdapter Implements com. Doc from com. Returns a type adapter for | |