Package org.apache.rat
Class DeprecationReporter
java.lang.Object
org.apache.rat.DeprecationReporter
Reporting methods for deprecated objects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Annotation to provide deprecation information for Java8. -
Method Summary
Modifier and TypeMethodDescriptionstatic Consumer
<org.apache.commons.cli.Option> Creates the consumer that will log usage of deprecated operations to the default log.static void
logDeprecated
(Class<?> clazz) Log Deprecated class use.
-
Method Details
-
getLogReporter
Creates the consumer that will log usage of deprecated operations to the default log.- Returns:
- The consumer that will log usage of deprecated operations to the default log.
-
logDeprecated
Log Deprecated class use.- Parameters:
clazz
- the Deprecated class to log
-