public abstract class InitializationChecker extends BaseTypeChecker
SourceChecker.CheckerError
Modifier and Type | Field and Description |
---|---|
boolean |
useFbc
Should the initialization type system be FBC? If not, the rawness type system is used for
initialization.
|
currentRoot, DETAILS_SEPARATOR, errsOnLastExit, messager, messages, MSGS_FILE, parentChecker, SUPPRESS_ALL_KEY, trees, upstreamCheckerNames, visitor
Constructor and Description |
---|
InitializationChecker(boolean useFbc) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<com.sun.source.tree.VariableTree> |
getAllFields(com.sun.source.tree.ClassTree clazz)
Returns a list of all fields of the given class
|
java.util.Collection<java.lang.String> |
getSuppressWarningsKeys() |
createSourceVisitor, getAnnotationProvider, getChecker, getContext, getImmediateSubcheckerClasses, getOptions, getSubchecker, getSupportedLintOptions, getSupportedOptions, getTypeFactory, getTypeFactoryOfSubchecker, getVisitor, initChecker, invokeConstructorFor, printMessage, processArg, shouldAddShutdownHook, shouldResolveReflection, shutdownHook, 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, printStats, report, setLintOption, setParentChecker, setProcessingEnvironment, setSupportedLintOptions, shouldSkipDefs, shouldSkipDefs, shouldSkipUses, shouldSkipUses, shouldSuppressWarnings, shouldSuppressWarnings, treeToFilePositionString, typeProcessingStart, userErrorAbort, useUncheckedCodeDefault
process
getCompletions, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementUtils, getOptionConfiguration, getProcessingEnvironment, getTreeUtils, getTypeUtils
public final boolean useFbc
public java.util.Collection<java.lang.String> getSuppressWarningsKeys()
getSuppressWarningsKeys
in class SourceChecker
SuppressWarningsKeys
public static java.util.List<com.sun.source.tree.VariableTree> getAllFields(com.sun.source.tree.ClassTree clazz)