类 _OptimizedJsonWriterImpl

  • 所有已实现的接口:
    _OptimizedJsonWriter

    public class _OptimizedJsonWriterImpl
    extends java.lang.Object
    implements _OptimizedJsonWriter
    This class is a template for an _OptimizedJsonWriter implementation. The data structure that contains the mapping between internal indices and Json field names is empty and needs to be initialized using injected byte code.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void b​(com.google.gson.stream.JsonWriter jsonWriter, int nameIndex)
      Writes the field name with the given internal index to the given Json writer.
      void c​(com.google.gson.stream.JsonWriter jsonWriter, int valueIndex)
      Writes the field value with the given internal index to the given Json writer.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • _OptimizedJsonWriterImpl

        public _OptimizedJsonWriterImpl()
    • 方法详细资料

      • b

        public void b​(com.google.gson.stream.JsonWriter jsonWriter,
                      int nameIndex)
               throws java.io.IOException
        从接口复制的说明: _OptimizedJsonWriter
        Writes the field name with the given internal index to the given Json writer. The original name of this method is "name". The name of this field has already been obfuscated because it is part of an injected class. When renaming this field, the corresponding constant in OptimizedClassConstants needs to be updated accordingly.
        指定者:
        b 在接口中 _OptimizedJsonWriter
        参数:
        jsonWriter - the Json writer to write to.
        nameIndex - the internal index of the field name.
        抛出:
        java.io.IOException - if the writing failed.
      • c

        public void c​(com.google.gson.stream.JsonWriter jsonWriter,
                      int valueIndex)
               throws java.io.IOException
        从接口复制的说明: _OptimizedJsonWriter
        Writes the field value with the given internal index to the given Json writer. The original name of this method is "value". The name of this method has already been obfuscated because it is part of an injected class. When renaming this method, the corresponding constant in OptimizedClassConstants needs to be updated accordingly.
        指定者:
        c 在接口中 _OptimizedJsonWriter
        参数:
        jsonWriter - the Json writer to write to.
        valueIndex - the internal index of the field value.
        抛出:
        java.io.IOException - if the writing failed.