程序包 proguard

类 LibraryKeepChecker

  • 所有已实现的接口:
    proguard.classfile.visitor.ClassVisitor

    public class LibraryKeepChecker
    extends java.lang.Object
    implements proguard.classfile.visitor.ClassVisitor
    This class checks whether some keep rules only keep library classes, no program classes. That is strange, because library classes never need to be kept explicitly.
    • 构造器概要

      构造器 
      构造器 说明
      LibraryKeepChecker​(proguard.classfile.ClassPool programClassPool, proguard.classfile.ClassPool libraryClassPool, proguard.classfile.util.WarningPrinter notePrinter)
      Creates a new DescriptorKeepChecker.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void checkClassSpecifications​(java.util.List keepSpecifications)
      Checks the classes mentioned in the given keep specifications, printing notes if necessary.
      void visitAnyClass​(proguard.classfile.Clazz clazz)  
      void visitLibraryClass​(proguard.classfile.LibraryClass libraryClass)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 proguard.classfile.visitor.ClassVisitor

        visitProgramClass
    • 构造器详细资料

      • LibraryKeepChecker

        public LibraryKeepChecker​(proguard.classfile.ClassPool programClassPool,
                                  proguard.classfile.ClassPool libraryClassPool,
                                  proguard.classfile.util.WarningPrinter notePrinter)
        Creates a new DescriptorKeepChecker.
    • 方法详细资料

      • checkClassSpecifications

        public void checkClassSpecifications​(java.util.List keepSpecifications)
        Checks the classes mentioned in the given keep specifications, printing notes if necessary.
      • visitAnyClass

        public void visitAnyClass​(proguard.classfile.Clazz clazz)
        指定者:
        visitAnyClass 在接口中 proguard.classfile.visitor.ClassVisitor
      • visitLibraryClass

        public void visitLibraryClass​(proguard.classfile.LibraryClass libraryClass)
        指定者:
        visitLibraryClass 在接口中 proguard.classfile.visitor.ClassVisitor