Class I18nChecker
- All Implemented Interfaces:
- Processor,- OptionConfiguration
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:
- See the Checker Framework Manual:
- Internationalization Checker
- 
Nested Class SummaryNested classes/interfaces inherited from class org.checkerframework.framework.source.SourceCheckerSourceChecker.CheckerMessage
- 
Field SummaryFields inherited from class org.checkerframework.framework.source.SourceCheckeractiveOptions, currentRoot, DETAILS_SEPARATOR, elements, elementsWithSuppressedWarnings, immediateSubcheckers, javacErrored, messager, messagesProperties, messageStore, MSGS_FILE, OPTION_SEPARATOR, parentChecker, subcheckers, supportedOptions, SUPPRESS_ALL_MESSAGE_KEY, SUPPRESS_ALL_PREFIX, suppressWarningsPrefixesOfSubcheckers, treePathCacher, trees, types, UNNEEDED_SUPPRESSION_KEY, upstreamCheckerNames, useAllcheckersPrefix, visitorFields inherited from class javax.annotation.processing.AbstractProcessorprocessingEnv
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected Collection<Class<? extends SourceChecker>>Returns the list of independent subcheckers to be run together.Methods inherited from class org.checkerframework.framework.source.AggregateCheckercreateSourceVisitor, getImmediateSubcheckerClassesMethods inherited from class org.checkerframework.framework.source.SourceCheckercreateSupportedLintOptions, expandCFOptions, fullMessageOf, getAnnotationProvider, getBooleanOption, getBooleanOption, getElementUtils, getExtraStubFiles, getLintOption, getLintOption, getMessagesProperties, getOption, getOption, getOptionConfiguration, getOptions, getOptionsNoSubcheckers, getParentChecker, getPathToCompilationUnit, getProcessingEnvironment, getProperties, getRelatedClassName, getStandardSuppressWarningsPrefixes, getStringsOption, getStringsOption, getSubchecker, getSubCheckerIndex, getSubcheckers, getSupportedAnnotationTypes, getSupportedLintOptions, getSupportedOptions, getSupportedSourceVersion, getSuppressWarningsPrefixes, getSuppressWarningsPrefixesOfSubcheckers, getTreePathCacher, getTreeUtils, getTypeUtils, getUpstreamCheckerNames, getVisitor, hasOption, hasOptionNoSubcheckers, init, initChecker, instantiateSubcheckers, message, message, messageKeyMatches, printOrStoreMessage, printOrStoreMessage, printStats, printStoredMessages, processErrorMessageArg, report, reportError, reportWarning, setLintOption, setParentChecker, setRoot, shouldAddShutdownHook, shouldResolveReflection, shouldSkipDefs, shouldSkipDefs, shouldSkipDefs, shouldSkipFiles, shouldSkipUses, shouldSkipUses, shouldSuppressWarnings, shouldSuppressWarnings, shouldSuppressWarnings, shutdownHook, typeProcess, typeProcessingOver, typeProcessingStart, useConservativeDefault, warnUnneededSuppressions, warnUnneededSuppressionsMethods inherited from class org.checkerframework.javacutil.AbstractTypeProcessorgetCompilerLog, processMethods inherited from class javax.annotation.processing.AbstractProcessorgetCompletions, isInitializedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.checkerframework.framework.util.OptionConfigurationgetStringsOption, getStringsOption
- 
Constructor Details- 
I18nCheckerpublic I18nChecker()
 
- 
- 
Method Details- 
getSupportedCheckersDescription copied from class:AggregateCheckerReturns the list of independent subcheckers to be run together. An aggregate checker overrides this method to indicate its immediate subcheckers.- Specified by:
- getSupportedCheckersin class- AggregateChecker
- Returns:
- the list of immediate subcheckers checkers to be run
 
 
-