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.
|
currentPath, currentRoot, DETAILS_SEPARATOR, messager, messages, MSGS_FILE, trees, 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, getSupportedLintOptions, invokeConstructorFor
addOptions, createSupportedLintOptions, errorAbort, errorAbort, expandCFOptions, formatStackTrace, fullMessageOf, getLintOption, getLintOption, getMessages, getOption, getOption, getOptions, getProcessingEnvironment, getProperties, getStandardSuppressWarningsKeys, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, hasOption, initChecker, message, printStats, report, setLintOption, setSupportedLintOptions, shouldAddShutdownHook, shouldSkipDefs, shouldSkipDefs, shouldSkipUses, shouldSkipUses, shutdownHook, treeToFilePositionString, typeProcess, typeProcessingStart
init, process, typeProcessingOver
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)