类 GsonContext
- java.lang.Object
-
- proguard.optimize.gson.GsonContext
-
public class GsonContext extends java.lang.ObjectThis class groups all information about how the Gson library is being used in a program class pool.
-
-
字段概要
字段 修饰符和类型 字段 说明 proguard.classfile.ClassPoolgsonDomainClassPoolGsonRuntimeSettingsgsonRuntimeSettings
-
构造器概要
构造器 构造器 说明 GsonContext()
-
-
-
字段详细资料
-
gsonDomainClassPool
public proguard.classfile.ClassPool gsonDomainClassPool
-
gsonRuntimeSettings
public GsonRuntimeSettings gsonRuntimeSettings
-
-
方法详细资料
-
setupFor
public void setupFor(proguard.classfile.ClassPool programClassPool, proguard.classfile.ClassPool libraryClassPool, proguard.classfile.util.WarningPrinter warningPrinter)Sets up the Gson context for the given program class pool. Notes will be printed to the given printer if provided.- 参数:
programClassPool- the program class poollibraryClassPool- the library class poolwarningPrinter- the optional warning printer to which notes can be printed.
-
-