|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.shrink.ShortestUsagePrinter
public class ShortestUsagePrinter
This ClassVisitor and MemberVisitor prints out the reasons why classes and class members have been marked as being used.
UsageMarker| Constructor Summary | |
|---|---|
ShortestUsagePrinter(ShortestUsageMarker shortestUsageMarker)
Creates a new UsagePrinter that prints verbosely to System.out. |
|
ShortestUsagePrinter(ShortestUsageMarker shortestUsageMarker,
boolean verbose)
Creates a new UsagePrinter that prints to the given stream. |
|
ShortestUsagePrinter(ShortestUsageMarker shortestUsageMarker,
boolean verbose,
java.io.PrintStream printStream)
Creates a new UsagePrinter that prints to the given stream. |
|
| Method Summary | |
|---|---|
void |
visitLibraryClass(LibraryClass libraryClass)
|
void |
visitLibraryField(LibraryClass libraryClass,
LibraryField libraryField)
|
void |
visitLibraryMethod(LibraryClass libraryClass,
LibraryMethod libraryMethod)
|
void |
visitProgramClass(ProgramClass programClass)
|
void |
visitProgramField(ProgramClass programClass,
ProgramField programField)
|
void |
visitProgramMethod(ProgramClass programClass,
ProgramMethod programMethod)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShortestUsagePrinter(ShortestUsageMarker shortestUsageMarker)
System.out.
shortestUsageMarker - the usage marker that was used to mark the
classes and class members.
public ShortestUsagePrinter(ShortestUsageMarker shortestUsageMarker,
boolean verbose)
shortestUsageMarker - the usage marker that was used to mark the
classes and class members.verbose - specifies whether the output should be verbose.
public ShortestUsagePrinter(ShortestUsageMarker shortestUsageMarker,
boolean verbose,
java.io.PrintStream printStream)
shortestUsageMarker - the usage marker that was used to mark the
classes and class members.verbose - specifies whether the output should be verbose.printStream - the stream to which to print.| Method Detail |
|---|
public void visitProgramClass(ProgramClass programClass)
visitProgramClass in interface ClassVisitorpublic void visitLibraryClass(LibraryClass libraryClass)
visitLibraryClass in interface ClassVisitor
public void visitProgramField(ProgramClass programClass,
ProgramField programField)
visitProgramField in interface MemberVisitor
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod programMethod)
visitProgramMethod in interface MemberVisitor
public void visitLibraryField(LibraryClass libraryClass,
LibraryField libraryField)
visitLibraryField in interface MemberVisitor
public void visitLibraryMethod(LibraryClass libraryClass,
LibraryMethod libraryMethod)
visitLibraryMethod in interface MemberVisitor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||