checkers.i18n
Class I18nChecker
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.sun.source.util.AbstractTypeProcessor
checkers.util.AggregateChecker
checkers.i18n.I18nChecker
- All Implemented Interfaces:
- Processor
public class I18nChecker
extends AggregateChecker
A type-checker that enforces (and finds the violations of) two properties:
- Only localized output gets emitted to the user
- Only localizable keys (i.e. keys found in localizing resource
bundles) get used as such.
- See Also:
SubI18Checker
,
LocalizableKeyChecker
I18nChecker
public I18nChecker()
getSupportedCheckers
protected Collection<Class<? extends SourceChecker>> getSupportedCheckers()
- Description copied from class:
AggregateChecker
- Returns the list of supported checkers to be run together.
Subclasses need to override this method.
- Specified by:
getSupportedCheckers
in class AggregateChecker