类 _OptimizedJsonReaderImpl

  • 所有已实现的接口:
    _OptimizedJsonReader

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

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      int b​(com.google.gson.stream.JsonReader jsonReader)
      Reads the internal index of the next Json field from the given Json reader.
      int c​(com.google.gson.stream.JsonReader jsonReader)
      Reads the internal index of the next Json value from the given Json reader.
      • 从类继承的方法 java.lang.Object

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

      • _OptimizedJsonReaderImpl

        public _OptimizedJsonReaderImpl()
    • 方法详细资料

      • b

        public int b​(com.google.gson.stream.JsonReader jsonReader)
              throws java.io.IOException
        从接口复制的说明: _OptimizedJsonReader
        Reads the internal index of the next Json field from the given Json reader. The original name of this method is "nextFieldIndex". The name of this method 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 在接口中 _OptimizedJsonReader
        参数:
        jsonReader - the Json reader to read from.
        返回:
        the internal index of the read field value.
        抛出:
        java.io.IOException - if the reading failed.
      • c

        public int c​(com.google.gson.stream.JsonReader jsonReader)
              throws java.io.IOException
        从接口复制的说明: _OptimizedJsonReader
        Reads the internal index of the next Json value from the given Json reader. The original name of this method is "nextValueIndex". 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 在接口中 _OptimizedJsonReader
        参数:
        jsonReader - the Json reader to read from.
        返回:
        the internal index of the read field value.
        抛出:
        java.io.IOException - if the reading failed.