程序包 proguard.shrink

类 SimpleUsageMarker

  • 直接已知子类:
    ShortestUsageMarker

    public class SimpleUsageMarker
    extends java.lang.Object
    This class marks processables, in order to remember whether they are unused, possibly used, or definitely used.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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 markAsUnused​(proguard.util.Processable processable)
      Clears any usage marks from the given processable.
      void markAsUsed​(proguard.util.Processable processable)
      Marks the given processable as being used.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • SimpleUsageMarker

        public SimpleUsageMarker()
    • 方法详细资料

      • markAsPossiblyUsed

        public void markAsPossiblyUsed​(proguard.util.Processable processable)
        Marks the given processable as possibly being used.
      • isPossiblyUsed

        public boolean isPossiblyUsed​(proguard.util.Processable processable)
        Returns whether the given processable has been marked as possibly being used.
      • markAsUsed

        public void markAsUsed​(proguard.util.Processable processable)
        Marks the given processable as being used.
      • markAsUnused

        public void markAsUnused​(proguard.util.Processable processable)
        Clears any usage marks from the given processable.
      • isUsed

        public boolean isUsed​(proguard.util.Processable processable)
        Returns whether the given processable has been marked as being used.