程序包 proguard.shrink

类 ShortestUsageMarker


  • public class ShortestUsageMarker
    extends SimpleUsageMarker
    This SimpleUsageMarker keeps track of the shortest dependency chains.
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      proguard.shrink.ShortestUsageMark currentUsageMark  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected proguard.shrink.ShortestUsageMark getShortestUsageMark​(proguard.util.Processable processable)  
      boolean isPossiblyUsed​(proguard.util.Processable processable)
      Returns whether the given processable has been marked as possibly being used.
      boolean isUsed​(proguard.util.Processable processable)
      Returns whether the given processable has been marked as being used.
      void markAsPossiblyUsed​(proguard.util.Processable processable)
      Marks the given processable as possibly being used.
      void markAsUsed​(proguard.util.Processable processable)
      Marks the given processable as being used.
      void setCurrentUsageMark​(proguard.shrink.ShortestUsageMark currentUsageMark)  
      boolean shouldBeMarkedAsPossiblyUsed​(proguard.classfile.ProgramClass programClass, proguard.classfile.ProgramMember programMember)  
      boolean shouldBeMarkedAsPossiblyUsed​(proguard.util.Processable processable)  
      boolean shouldBeMarkedAsUsed​(proguard.classfile.ProgramClass programClass)  
      boolean shouldBeMarkedAsUsed​(proguard.classfile.ProgramClass programClass, proguard.classfile.ProgramMember programMember)  
      boolean shouldBeMarkedAsUsed​(proguard.util.Processable processable)  
      • 从类继承的方法 java.lang.Object

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

      • currentUsageMark

        public proguard.shrink.ShortestUsageMark currentUsageMark
    • 构造器详细资料

      • ShortestUsageMarker

        public ShortestUsageMarker()
    • 方法详细资料

      • setCurrentUsageMark

        public void setCurrentUsageMark​(proguard.shrink.ShortestUsageMark currentUsageMark)
      • isUsed

        public boolean isUsed​(proguard.util.Processable processable)
        从类复制的说明: SimpleUsageMarker
        Returns whether the given processable has been marked as being used.
        覆盖:
        isUsed 在类中 SimpleUsageMarker
      • shouldBeMarkedAsUsed

        public boolean shouldBeMarkedAsUsed​(proguard.classfile.ProgramClass programClass)
      • shouldBeMarkedAsUsed

        public boolean shouldBeMarkedAsUsed​(proguard.classfile.ProgramClass programClass,
                                            proguard.classfile.ProgramMember programMember)
      • shouldBeMarkedAsUsed

        public boolean shouldBeMarkedAsUsed​(proguard.util.Processable processable)
      • shouldBeMarkedAsPossiblyUsed

        public boolean shouldBeMarkedAsPossiblyUsed​(proguard.classfile.ProgramClass programClass,
                                                    proguard.classfile.ProgramMember programMember)
      • shouldBeMarkedAsPossiblyUsed

        public boolean shouldBeMarkedAsPossiblyUsed​(proguard.util.Processable processable)
      • isPossiblyUsed

        public boolean isPossiblyUsed​(proguard.util.Processable processable)
        从类复制的说明: SimpleUsageMarker
        Returns whether the given processable has been marked as possibly being used.
        覆盖:
        isPossiblyUsed 在类中 SimpleUsageMarker
      • getShortestUsageMark

        protected proguard.shrink.ShortestUsageMark getShortestUsageMark​(proguard.util.Processable processable)