public class IGJChecker extends BaseTypeChecker
ReadOnly, Mutable,
Immutable, I -- a polymorphic qualifier, Assignable,
and AssignsFields. The language is specified by the FSE 2007 paper.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, treesprocessingEnv| Constructor and Description |
|---|
IGJChecker() |
| Modifier and Type | Method and Description |
|---|---|
QualifierHierarchy |
createQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory factory)
Factory method to easily change what QualifierHierarchy is
created.
|
protected TypeHierarchy |
createTypeHierarchy()
Creates the type subtyping checker using the current type qualifier
hierarchy.
|
void |
initChecker()
Initialize the checker.
|
createFactory, createQualifierHierarchy, createQualifierHierarchyFactory, createSourceVisitor, createSupportedTypeQualifiers, getQualifierHierarchy, getSupportedLintOptions, getSupportedTypeQualifiers, getTypeHierarchy, invokeConstructorForerrorAbort, errorAbort, formatStackTrace, fullMessageOf, getLintOption, getLintOption, getMessages, getProcessingEnvironment, getProperties, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, getSuppressWarningsKey, message, report, shouldSkipDefs, shouldSkipDefs, shouldSkipUses, typeProcess, typeProcessingStartinit, process, typeProcessingOvergetCompletions, isInitialized, toStringprotected @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()
SourceCheckerinitChecker in class BaseTypeCheckerAbstractProcessor.init(ProcessingEnvironment)public QualifierHierarchy createQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory factory)
BaseTypeCheckercreateQualifierHierarchy in class BaseTypeCheckerprotected TypeHierarchy createTypeHierarchy()
BaseTypeCheckercreateTypeHierarchy in class BaseTypeChecker