public class ShortestUsageMarker extends SimpleUsageMarker
| Modifier and Type | Field and Description |
|---|---|
proguard.shrink.ShortestUsageMark |
currentUsageMark |
| Constructor and Description |
|---|
ShortestUsageMarker() |
| Modifier and Type | Method and Description |
|---|---|
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.util.Processable processable) |
boolean |
shouldBeMarkedAsPossiblyUsed(proguard.classfile.ProgramClass programClass,
proguard.classfile.ProgramMember programMember) |
boolean |
shouldBeMarkedAsUsed(proguard.util.Processable processable) |
boolean |
shouldBeMarkedAsUsed(proguard.classfile.ProgramClass programClass) |
boolean |
shouldBeMarkedAsUsed(proguard.classfile.ProgramClass programClass,
proguard.classfile.ProgramMember programMember) |
markAsUnusedpublic void setCurrentUsageMark(proguard.shrink.ShortestUsageMark currentUsageMark)
public void markAsUsed(proguard.util.Processable processable)
SimpleUsageMarkermarkAsUsed in class SimpleUsageMarkerpublic boolean isUsed(proguard.util.Processable processable)
SimpleUsageMarkerisUsed in class SimpleUsageMarkerpublic boolean shouldBeMarkedAsUsed(proguard.classfile.ProgramClass programClass)
public boolean shouldBeMarkedAsUsed(proguard.classfile.ProgramClass programClass,
proguard.classfile.ProgramMember programMember)
public boolean shouldBeMarkedAsUsed(proguard.util.Processable processable)
public void markAsPossiblyUsed(proguard.util.Processable processable)
SimpleUsageMarkermarkAsPossiblyUsed in class SimpleUsageMarkerpublic boolean shouldBeMarkedAsPossiblyUsed(proguard.classfile.ProgramClass programClass,
proguard.classfile.ProgramMember programMember)
public boolean shouldBeMarkedAsPossiblyUsed(proguard.util.Processable processable)
public boolean isPossiblyUsed(proguard.util.Processable processable)
SimpleUsageMarkerisPossiblyUsed in class SimpleUsageMarkerprotected proguard.shrink.ShortestUsageMark getShortestUsageMark(proguard.util.Processable processable)