Class SymbolInformationTypeAdapter


  • public class SymbolInformationTypeAdapter
    extends com.google.gson.TypeAdapter<SymbolInformation>
    A type adapter for the SymbolInformation protocol type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class com.google.gson.TypeAdapter

        fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SymbolInformationTypeAdapter

        public SymbolInformationTypeAdapter​(com.google.gson.Gson gson)
    • 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:
        read in class com.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:
        write in class com.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