Class I18nChecker

All Implemented Interfaces:
Processor, OptionConfiguration

public class I18nChecker extends AggregateChecker
A type-checker that enforces (and finds the violations of) two properties:
  1. Only localized output gets emitted to the user
  2. Only localizable keys (i.e. keys found in localizing resource bundles) get used as such.
See Also:
See the Checker Framework Manual:
Internationalization Checker
  • Constructor Details

    • I18nChecker

      public I18nChecker()
  • Method Details

    • getSupportedCheckers

      protected Collection<Class<? extends SourceChecker>> getSupportedCheckers()
      Description copied from class: AggregateChecker
      Returns the list of independent subcheckers to be run together. An aggregate checker overrides this method to indicate its immediate subcheckers.
      Specified by:
      getSupportedCheckers in class AggregateChecker
      Returns:
      the list of immediate subcheckers checkers to be run