程序包 proguard.shrink
类 SimpleUsageMarker
- java.lang.Object
-
- proguard.shrink.SimpleUsageMarker
-
- 直接已知子类:
ShortestUsageMarker
public class SimpleUsageMarker extends java.lang.ObjectThis class marks processables, in order to remember whether they are unused, possibly used, or definitely used.
-
-
构造器概要
构造器 构造器 说明 SimpleUsageMarker()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanisPossiblyUsed(proguard.util.Processable processable)Returns whether the given processable has been marked as possibly being used.booleanisUsed(proguard.util.Processable processable)Returns whether the given processable has been marked as being used.voidmarkAsPossiblyUsed(proguard.util.Processable processable)Marks the given processable as possibly being used.voidmarkAsUnused(proguard.util.Processable processable)Clears any usage marks from the given processable.voidmarkAsUsed(proguard.util.Processable processable)Marks the given processable as being used.
-
-
-
方法详细资料
-
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.
-
-