类 WarningPrinter
java.lang.Object
proguard.classfile.util.WarningPrinter
- 直接已知子类:
WarningLogger
This class prints out and counts warnings.
-
构造器概要
构造器构造器说明WarningPrinter(PrintWriter printWriter) Creates a new WarningPrinter that prints to the given print writer.WarningPrinter(PrintWriter printWriter, List classFilter) Creates a new WarningPrinter that prints to the given print stream, except if the names of any involved classes matches the given filter. -
方法概要
修饰符和类型方法说明booleanReturns whether the given class name passes the class name filter.booleanReturns whether the given class names pass the class name filter.intReturns the number of warnings printed so far.voidPrints out the given note without incrementing the warning count, if the given class name passes the class name filter.voidPrints out the given note without incrementing the warning count, if the given class nams pass the class name filter.voidPrints out the given warning and increments the warning count, if the given class name passes the class name filter.voidPrints out the given warning and increments the warning count, if the given class names pass the class name filter.
-
构造器详细资料
-
WarningPrinter
Creates a new WarningPrinter that prints to the given print writer. -
WarningPrinter
Creates a new WarningPrinter that prints to the given print stream, except if the names of any involved classes matches the given filter.
-
-
方法详细资料
-
print
Prints out the given warning and increments the warning count, if the given class name passes the class name filter. -
accepts
Returns whether the given class name passes the class name filter. -
print
Prints out the given warning and increments the warning count, if the given class names pass the class name filter. -
accepts
Returns whether the given class names pass the class name filter. -
note
Prints out the given note without incrementing the warning count, if the given class name passes the class name filter. -
note
Prints out the given note without incrementing the warning count, if the given class nams pass the class name filter. -
getWarningCount
public int getWarningCount()Returns the number of warnings printed so far.
-