@StubFiles(value="jdnc.astub") @SupportedOptions(value={"quals","qualDirs"}) public class FenumChecker extends BaseTypeChecker
@Fenum("Name")
: introduces a fake enumerator with the name
"Name". Enumerators with different names are distinct. The default name is
empty, but you are encouraged to use a unique name for your purpose.
-Aqual
command line argument.
SourceChecker.CheckerError
currentRoot, DETAILS_SEPARATOR, errsOnLastExit, messager, messages, MSGS_FILE, parentChecker, SUPPRESS_ALL_KEY, trees, upstreamCheckerNames, visitor
processingEnv
Constructor and Description |
---|
FenumChecker() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getSuppressWarningsKeys()
Copied from SubtypingChecker; cannot reuse it, because SubtypingChecker is final.
|
createSourceVisitor, getAnnotationProvider, getChecker, getContext, getImmediateSubcheckerClasses, getOptions, getSubchecker, getSupportedLintOptions, getSupportedOptions, getTypeFactory, getTypeFactoryOfSubchecker, getVisitor, initChecker, invokeConstructorFor, processArg, shouldResolveReflection, typeProcess, typeProcessingOver
addOptions, createSupportedLintOptions, errorAbort, errorAbort, expandCFOptions, formatStackTrace, fullMessageOf, getElementUtils, getLintOption, getLintOption, getMessages, getOption, getOption, getOptionConfiguration, getProcessingEnvironment, getProperties, getStandardSuppressWarningsKeys, getSupportedAnnotationTypes, getSupportedSourceVersion, getTreeUtils, getTypeUtils, getUpstreamCheckerNames, hasOption, init, message, message, printStats, report, setLintOption, setParentChecker, setProcessingEnvironment, setSupportedLintOptions, shouldAddShutdownHook, shouldSkipDefs, shouldSkipDefs, shouldSkipUses, shouldSkipUses, shouldSuppressWarnings, shutdownHook, treeToFilePositionString, typeProcessingStart, userErrorAbort, useUncheckedCodeDefault
process
getCompletions, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementUtils, getOptionConfiguration, getProcessingEnvironment, getTreeUtils, getTypeUtils
public Collection<String> getSuppressWarningsKeys()
getSuppressWarningsKeys
in class SourceChecker
SubtypingChecker.getSuppressWarningsKeys()