| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Gson | |
| private static final TypeToken | |
| private static final TypeToken |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public InitializeParams | 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 ClientCapabilities | |
| protected ClientInfo | |
| protected Object | |
| protected String | |
| protected Integer | |
| protected String | |
| protected String | |
| protected String | |
| protected Either | |
| protected List | |
| public void | write(final JsonWriter out, final InitializeParams value)
Implements abstract com. Writes one JSON value (an array, object, string, number, boolean or null)
for |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void |
| gson | back to summary |
|---|---|
| private final Gson gson | |
| WORKDONETOKEN_TYPE_TOKEN | back to summary |
|---|---|
| private static final TypeToken<Either<String, Integer>> WORKDONETOKEN_TYPE_TOKEN | |
| WORKSPACEFOLDERS_TYPE_TOKEN | back to summary |
|---|---|
| private static final TypeToken<List<WorkspaceFolder>> WORKSPACEFOLDERS_TYPE_TOKEN | |
| InitializeParamsTypeAdapter | back to summary |
|---|---|
| public InitializeParamsTypeAdapter(final Gson gson) | |
| read | back to summary |
|---|---|
| public InitializeParams 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. | |
| readCapabilities | back to summary |
|---|---|
| protected ClientCapabilities readCapabilities(final JsonReader in) throws IOException | |
| readClientInfo | back to summary |
|---|---|
| protected ClientInfo readClientInfo(final JsonReader in) throws IOException | |
| readInitializationOptions | back to summary |
|---|---|
| protected Object readInitializationOptions(final JsonReader in) throws IOException | |
| readLocale | back to summary |
|---|---|
| protected String readLocale(final JsonReader in) throws IOException | |
| readProcessId | back to summary |
|---|---|
| protected Integer readProcessId(final JsonReader in) throws IOException | |
| readRootPath | back to summary |
|---|---|
| protected String readRootPath(final JsonReader in) throws IOException | |
| readRootUri | back to summary |
|---|---|
| protected String readRootUri(final JsonReader in) throws IOException | |
| readTrace | back to summary |
|---|---|
| protected String readTrace(final JsonReader in) throws IOException | |
| readWorkDoneToken | back to summary |
|---|---|
| protected Either | |
| readWorkspaceFolders | back to summary |
|---|---|
| protected List | |
| write | back to summary |
|---|---|
| public void write(final JsonWriter out, final InitializeParams value) throws IOException Implements abstract com. Doc from com. Writes one JSON value (an array, object, string, number, boolean or null)
for | |
| writeCapabilities | back to summary |
|---|---|
| protected void writeCapabilities(final JsonWriter out, final ClientCapabilities value) throws IOException | |
| writeClientInfo | back to summary |
|---|---|
| protected void writeClientInfo(final JsonWriter out, final ClientInfo value) throws IOException | |
| writeInitializationOptions | back to summary |
|---|---|
| protected void writeInitializationOptions(final JsonWriter out, final Object value) throws IOException | |
| writeLocale | back to summary |
|---|---|
| protected void writeLocale(final JsonWriter out, final String value) throws IOException | |
| writeProcessId | back to summary |
|---|---|
| protected void writeProcessId(final JsonWriter out, final Integer value) throws IOException | |
| writeRootPath | back to summary |
|---|---|
| protected void writeRootPath(final JsonWriter out, final String value) throws IOException | |
| writeRootUri | back to summary |
|---|---|
| protected void writeRootUri(final JsonWriter out, final String value) throws IOException | |
| writeTrace | back to summary |
|---|---|
| protected void writeTrace(final JsonWriter out, final String value) throws IOException | |
| writeWorkDoneToken | back to summary |
|---|---|
| protected void writeWorkDoneToken(final JsonWriter out, final Either<String, Integer> value) throws IOException | |
| writeWorkspaceFolders | back to summary |
|---|---|
| protected void writeWorkspaceFolders(final JsonWriter out, final List<WorkspaceFolder> 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 | |