类 _OptimizedJsonWriterImpl
- java.lang.Object
-
- proguard.optimize.gson._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.
-
-
构造器概要
构造器 构造器 说明 _OptimizedJsonWriterImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidb(com.google.gson.stream.JsonWriter jsonWriter, int nameIndex)Writes the field name with the given internal index to the given Json writer.voidc(com.google.gson.stream.JsonWriter jsonWriter, int valueIndex)Writes the field value with the given internal index to the given Json writer.
-
-
-
方法详细资料
-
b
public void b(com.google.gson.stream.JsonWriter jsonWriter, int nameIndex) throws java.io.IOException从接口复制的说明:_OptimizedJsonWriterWrites 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从接口复制的说明:_OptimizedJsonWriterWrites 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.
-
-