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.String |
readClientName(com.google.gson.stream.JsonReader in) |
protected java.lang.Object |
readInitializationOptions(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.Number> |
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 |
writeClientName(com.google.gson.stream.JsonWriter out,
java.lang.String value) |
protected void |
writeInitializationOptions(com.google.gson.stream.JsonWriter out,
java.lang.Object 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.Number> 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.IOException
protected void writeProcessId(com.google.gson.stream.JsonWriter out, java.lang.Integer value) throws java.io.IOException
java.io.IOException
protected void writeRootUri(com.google.gson.stream.JsonWriter out, java.lang.String value) throws java.io.IOException
java.io.IOException
public InitializeParams read(com.google.gson.stream.JsonReader in) throws java.io.IOException
read
in class com.google.gson.TypeAdapter<InitializeParams>
java.io.IOException
protected org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Number> readWorkDoneToken(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOException
protected java.lang.Integer readProcessId(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOException
protected java.lang.String readRootPath(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOException
protected java.lang.String readRootUri(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOException
protected ClientCapabilities readCapabilities(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOException
protected java.lang.String readClientName(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOException
protected ClientInfo readClientInfo(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOException
protected java.lang.String readTrace(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOException
protected java.util.List<WorkspaceFolder> readWorkspaceFolders(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOException
public void write(com.google.gson.stream.JsonWriter out, InitializeParams value) throws java.io.IOException
write
in class com.google.gson.TypeAdapter<InitializeParams>
java.io.IOException
protected void writeWorkDoneToken(com.google.gson.stream.JsonWriter out, org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Number> value) throws java.io.IOException
java.io.IOException
protected void writeRootPath(com.google.gson.stream.JsonWriter out, java.lang.String value) throws java.io.IOException
java.io.IOException
protected void writeInitializationOptions(com.google.gson.stream.JsonWriter out, java.lang.Object value) throws java.io.IOException
java.io.IOException
protected void writeCapabilities(com.google.gson.stream.JsonWriter out, ClientCapabilities value) throws java.io.IOException
java.io.IOException
protected void writeClientName(com.google.gson.stream.JsonWriter out, java.lang.String value) throws java.io.IOException
java.io.IOException
protected void writeClientInfo(com.google.gson.stream.JsonWriter out, ClientInfo value) throws java.io.IOException
java.io.IOException
protected void writeTrace(com.google.gson.stream.JsonWriter out, java.lang.String value) throws java.io.IOException
java.io.IOException
protected void writeWorkspaceFolders(com.google.gson.stream.JsonWriter out, java.util.List<WorkspaceFolder> value) throws java.io.IOException
java.io.IOException