public class SymbolInformationTypeAdapter extends com.google.gson.TypeAdapter<SymbolInformation>
| Modifier and Type | Class and Description |
|---|---|
static class |
SymbolInformationTypeAdapter.Factory |
| Constructor and Description |
|---|
SymbolInformationTypeAdapter(com.google.gson.Gson gson) |
| Modifier and Type | Method and Description |
|---|---|
SymbolInformation |
read(com.google.gson.stream.JsonReader in) |
protected java.lang.String |
readContainerName(com.google.gson.stream.JsonReader in) |
protected java.lang.Boolean |
readDeprecated(com.google.gson.stream.JsonReader in) |
protected SymbolKind |
readKind(com.google.gson.stream.JsonReader in) |
protected Location |
readLocation(com.google.gson.stream.JsonReader in) |
protected java.lang.String |
readName(com.google.gson.stream.JsonReader in) |
protected java.util.List<SymbolTag> |
readTags(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
SymbolInformation value) |
protected void |
writeContainerName(com.google.gson.stream.JsonWriter out,
java.lang.String value) |
protected void |
writeDeprecated(com.google.gson.stream.JsonWriter out,
java.lang.Boolean value) |
protected void |
writeKind(com.google.gson.stream.JsonWriter out,
SymbolKind value) |
protected void |
writeLocation(com.google.gson.stream.JsonWriter out,
Location value) |
protected void |
writeName(com.google.gson.stream.JsonWriter out,
java.lang.String value) |
protected void |
writePosition(com.google.gson.stream.JsonWriter out,
Position value) |
protected void |
writeRange(com.google.gson.stream.JsonWriter out,
Range value) |
protected void |
writeTags(com.google.gson.stream.JsonWriter out,
java.util.List<SymbolTag> value) |
public SymbolInformationTypeAdapter(com.google.gson.Gson gson)
protected void writeLocation(com.google.gson.stream.JsonWriter out,
Location value)
throws java.io.IOException
java.io.IOExceptionprotected void writeRange(com.google.gson.stream.JsonWriter out,
Range value)
throws java.io.IOException
java.io.IOExceptionprotected void writePosition(com.google.gson.stream.JsonWriter out,
Position value)
throws java.io.IOException
java.io.IOExceptionpublic SymbolInformation read(com.google.gson.stream.JsonReader in) throws java.io.IOException
read in class com.google.gson.TypeAdapter<SymbolInformation>java.io.IOExceptionprotected java.lang.String readName(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected SymbolKind readKind(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOExceptionprotected java.util.List<SymbolTag> readTags(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOExceptionprotected java.lang.Boolean readDeprecated(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected Location readLocation(com.google.gson.stream.JsonReader in) throws java.io.IOException
java.io.IOExceptionprotected java.lang.String readContainerName(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionpublic void write(com.google.gson.stream.JsonWriter out,
SymbolInformation value)
throws java.io.IOException
write in class com.google.gson.TypeAdapter<SymbolInformation>java.io.IOExceptionprotected void writeName(com.google.gson.stream.JsonWriter out,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionprotected void writeKind(com.google.gson.stream.JsonWriter out,
SymbolKind value)
throws java.io.IOException
java.io.IOExceptionprotected void writeTags(com.google.gson.stream.JsonWriter out,
java.util.List<SymbolTag> value)
throws java.io.IOException
java.io.IOExceptionprotected void writeDeprecated(com.google.gson.stream.JsonWriter out,
java.lang.Boolean value)
throws java.io.IOException
java.io.IOExceptionprotected void writeContainerName(com.google.gson.stream.JsonWriter out,
java.lang.String value)
throws java.io.IOException
java.io.IOException