类 GsonContext


  • public class GsonContext
    extends java.lang.Object
    This class groups all information about how the Gson library is being used in a program class pool.
    • 构造器概要

      构造器 
      构造器 说明
      GsonContext()  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • gsonDomainClassPool

        public proguard.classfile.ClassPool gsonDomainClassPool
    • 构造器详细资料

      • GsonContext

        public GsonContext()
    • 方法详细资料

      • 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 pool
        libraryClassPool - the library class pool
        warningPrinter - the optional warning printer to which notes can be printed.