Package org.eclipse.lsp4j.adapters
Class SymbolInformationTypeAdapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<SymbolInformation>
-
- org.eclipse.lsp4j.adapters.SymbolInformationTypeAdapter
-
public class SymbolInformationTypeAdapter extends com.google.gson.TypeAdapter<SymbolInformation>
A type adapter for the SymbolInformation protocol type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSymbolInformationTypeAdapter.Factory
-
Constructor Summary
Constructors Constructor Description SymbolInformationTypeAdapter(com.google.gson.Gson gson)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SymbolInformationread(com.google.gson.stream.JsonReader in)protected java.lang.StringreadContainerName(com.google.gson.stream.JsonReader in)protected java.lang.BooleanreadDeprecated(com.google.gson.stream.JsonReader in)protected SymbolKindreadKind(com.google.gson.stream.JsonReader in)protected LocationreadLocation(com.google.gson.stream.JsonReader in)protected java.lang.StringreadName(com.google.gson.stream.JsonReader in)protected java.util.List<SymbolTag>readTags(com.google.gson.stream.JsonReader in)voidwrite(com.google.gson.stream.JsonWriter out, SymbolInformation value)protected voidwriteContainerName(com.google.gson.stream.JsonWriter out, java.lang.String value)protected voidwriteDeprecated(com.google.gson.stream.JsonWriter out, java.lang.Boolean value)protected voidwriteKind(com.google.gson.stream.JsonWriter out, SymbolKind value)protected voidwriteLocation(com.google.gson.stream.JsonWriter out, Location value)protected voidwriteName(com.google.gson.stream.JsonWriter out, java.lang.String value)protected voidwritePosition(com.google.gson.stream.JsonWriter out, Position value)protected voidwriteRange(com.google.gson.stream.JsonWriter out, Range value)protected voidwriteTags(com.google.gson.stream.JsonWriter out, java.util.List<SymbolTag> value)
-
-
-
Method Detail
-
writeLocation
protected void writeLocation(com.google.gson.stream.JsonWriter out, Location value) throws java.io.IOException- Throws:
java.io.IOException
-
writeRange
protected void writeRange(com.google.gson.stream.JsonWriter out, Range value) throws java.io.IOException- Throws:
java.io.IOException
-
writePosition
protected void writePosition(com.google.gson.stream.JsonWriter out, Position value) throws java.io.IOException- Throws:
java.io.IOException
-
read
public SymbolInformation read(com.google.gson.stream.JsonReader in) throws java.io.IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<SymbolInformation>- Throws:
java.io.IOException
-
readName
protected java.lang.String readName(com.google.gson.stream.JsonReader in) throws java.io.IOException- Throws:
java.io.IOException
-
readKind
protected SymbolKind readKind(com.google.gson.stream.JsonReader in) throws java.io.IOException
- Throws:
java.io.IOException
-
readTags
protected java.util.List<SymbolTag> readTags(com.google.gson.stream.JsonReader in) throws java.io.IOException
- Throws:
java.io.IOException
-
readDeprecated
protected java.lang.Boolean readDeprecated(com.google.gson.stream.JsonReader in) throws java.io.IOException- Throws:
java.io.IOException
-
readLocation
protected Location readLocation(com.google.gson.stream.JsonReader in) throws java.io.IOException
- Throws:
java.io.IOException
-
readContainerName
protected java.lang.String readContainerName(com.google.gson.stream.JsonReader in) throws java.io.IOException- Throws:
java.io.IOException
-
write
public void write(com.google.gson.stream.JsonWriter out, SymbolInformation value) throws java.io.IOException- Specified by:
writein classcom.google.gson.TypeAdapter<SymbolInformation>- Throws:
java.io.IOException
-
writeName
protected void writeName(com.google.gson.stream.JsonWriter out, java.lang.String value) throws java.io.IOException- Throws:
java.io.IOException
-
writeKind
protected void writeKind(com.google.gson.stream.JsonWriter out, SymbolKind value) throws java.io.IOException- Throws:
java.io.IOException
-
writeTags
protected void writeTags(com.google.gson.stream.JsonWriter out, java.util.List<SymbolTag> value) throws java.io.IOException- Throws:
java.io.IOException
-
writeDeprecated
protected void writeDeprecated(com.google.gson.stream.JsonWriter out, java.lang.Boolean value) throws java.io.IOException- Throws:
java.io.IOException
-
writeContainerName
protected void writeContainerName(com.google.gson.stream.JsonWriter out, java.lang.String value) throws java.io.IOException- Throws:
java.io.IOException
-
-