public class ImmutabilitySubchecker extends BaseTypeChecker
SourceChecker.CheckerError
Modifier and Type | Field and Description |
---|---|
protected @Nullable AnnotationMirror |
ASSIGNS_FIELDS
Supported annotations for IGJ.
|
protected @Nullable AnnotationMirror |
BOTTOM_QUAL
Supported annotations for IGJ.
|
protected @Nullable AnnotationMirror |
I
Supported annotations for IGJ.
|
protected @Nullable AnnotationMirror |
IMMUTABLE
Supported annotations for IGJ.
|
protected @Nullable AnnotationMirror |
MUTABLE
Supported annotations for IGJ.
|
protected @Nullable AnnotationMirror |
READONLY
Supported annotations for IGJ.
|
currentPath, currentRoot, messager, messages, trees
processingEnv
Constructor and Description |
---|
ImmutabilitySubchecker() |
Modifier and Type | Method and Description |
---|---|
protected TypeHierarchy |
createTypeHierarchy()
Creates the type subtyping checker using the current type qualifier
hierarchy.
|
void |
initChecker()
Initialize the checker.
|
createFactory, createQualifierHierarchy, createQualifierHierarchy, createQualifierHierarchyFactory, createSourceVisitor, createSupportedTypeQualifiers, getQualifierHierarchy, getSupportedLintOptions, getSupportedTypeQualifiers, getTypeHierarchy, invokeConstructorFor
errorAbort, errorAbort, formatStackTrace, fullMessageOf, getLintOption, getLintOption, getMessages, getProcessingEnvironment, getProperties, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, getSuppressWarningsKey, message, report, shouldSkipDefs, shouldSkipDefs, shouldSkipUses, typeProcess, typeProcessingStart
init, process, typeProcessingOver
getCompletions, isInitialized, toString
protected @Nullable AnnotationMirror READONLY
protected @Nullable AnnotationMirror MUTABLE
protected @Nullable AnnotationMirror IMMUTABLE
protected @Nullable AnnotationMirror I
protected @Nullable AnnotationMirror ASSIGNS_FIELDS
protected @Nullable AnnotationMirror BOTTOM_QUAL
public void initChecker()
SourceChecker
initChecker
in class BaseTypeChecker
AbstractProcessor.init(ProcessingEnvironment)
protected TypeHierarchy createTypeHierarchy()
BaseTypeChecker
createTypeHierarchy
in class BaseTypeChecker