public class InitializeParamsTypeAdapter extends com.google.gson.TypeAdapter<InitializeParams>
| Modifier and Type | Class and Description |
|---|---|
static class |
InitializeParamsTypeAdapter.Factory |
| Constructor and Description |
|---|
InitializeParamsTypeAdapter(com.google.gson.Gson gson) |
| Modifier and Type | Method and Description |
|---|---|
InitializeParams |
read(com.google.gson.stream.JsonReader in) |
protected ClientCapabilities |
readCapabilities(com.google.gson.stream.JsonReader in) |
protected ClientInfo |
readClientInfo(com.google.gson.stream.JsonReader in) |
protected java.lang.Object |
readInitializationOptions(com.google.gson.stream.JsonReader in) |
protected java.lang.String |
readLocale(com.google.gson.stream.JsonReader in) |
protected java.lang.Integer |
readProcessId(com.google.gson.stream.JsonReader in) |
protected java.lang.String |
readRootPath(com.google.gson.stream.JsonReader in) |
protected java.lang.String |
readRootUri(com.google.gson.stream.JsonReader in) |
protected java.lang.String |
readTrace(com.google.gson.stream.JsonReader in) |
protected org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> |
readWorkDoneToken(com.google.gson.stream.JsonReader in) |
protected java.util.List<WorkspaceFolder> |
readWorkspaceFolders(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
InitializeParams value) |
protected void |
writeCapabilities(com.google.gson.stream.JsonWriter out,
ClientCapabilities value) |
protected void |
writeClientInfo(com.google.gson.stream.JsonWriter out,
ClientInfo value) |
protected void |
writeInitializationOptions(com.google.gson.stream.JsonWriter out,
java.lang.Object value) |
protected void |
writeLocale(com.google.gson.stream.JsonWriter out,
java.lang.String value) |
protected void |
writeProcessId(com.google.gson.stream.JsonWriter out,
java.lang.Integer value) |
protected void |
writeRootPath(com.google.gson.stream.JsonWriter out,
java.lang.String value) |
protected void |
writeRootUri(com.google.gson.stream.JsonWriter out,
java.lang.String value) |
protected void |
writeTrace(com.google.gson.stream.JsonWriter out,
java.lang.String value) |
protected void |
writeWorkDoneToken(com.google.gson.stream.JsonWriter out,
org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> value) |
protected void |
writeWorkspaceFolders(com.google.gson.stream.JsonWriter out,
java.util.List<WorkspaceFolder> value) |
public InitializeParamsTypeAdapter(com.google.gson.Gson gson)
protected java.lang.Object readInitializationOptions(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected void writeProcessId(com.google.gson.stream.JsonWriter out,
java.lang.Integer value)
throws java.io.IOException
java.io.IOExceptionprotected void writeRootUri(com.google.gson.stream.JsonWriter out,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionpublic InitializeParams read(com.google.gson.stream.JsonReader in) throws java.io.IOException
read in class com.google.gson.TypeAdapter<InitializeParams>java.io.IOExceptionprotected org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> readWorkDoneToken(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.Integer readProcessId(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String readRootPath(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String readRootUri(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected ClientCapabilities readCapabilities(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOExceptionprotected ClientInfo readClientInfo(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOExceptionprotected java.lang.String readLocale(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String readTrace(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected java.util.List<WorkspaceFolder> readWorkspaceFolders(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOExceptionpublic void write(com.google.gson.stream.JsonWriter out,
InitializeParams value)
throws java.io.IOException
write in class com.google.gson.TypeAdapter<InitializeParams>java.io.IOExceptionprotected void writeWorkDoneToken(com.google.gson.stream.JsonWriter out,
org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> value)
throws java.io.IOException
java.io.IOExceptionprotected void writeRootPath(com.google.gson.stream.JsonWriter out,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionprotected void writeInitializationOptions(com.google.gson.stream.JsonWriter out,
java.lang.Object value)
throws java.io.IOException
java.io.IOExceptionprotected void writeCapabilities(com.google.gson.stream.JsonWriter out,
ClientCapabilities value)
throws java.io.IOException
java.io.IOExceptionprotected void writeClientInfo(com.google.gson.stream.JsonWriter out,
ClientInfo value)
throws java.io.IOException
java.io.IOExceptionprotected void writeLocale(com.google.gson.stream.JsonWriter out,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionprotected void writeTrace(com.google.gson.stream.JsonWriter out,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionprotected void writeWorkspaceFolders(com.google.gson.stream.JsonWriter out,
java.util.List<WorkspaceFolder> value)
throws java.io.IOException
java.io.IOException