checkers.util.test
Class FlowTestChecker
java.lang.Object
javax.annotation.processing.AbstractProcessor
checkers.source.SourceChecker
checkers.basetype.BaseTypeChecker
checkers.util.test.FlowTestChecker
- All Implemented Interfaces:
- Processor
@SupportedSourceVersion(value=RELEASE_7)
@TypeQualifiers(value=Odd.class)
public final class FlowTestChecker
- extends BaseTypeChecker
Methods inherited from class checkers.basetype.BaseTypeChecker |
createQualifierHierarchy, createSourceVisitor, createSupportedTypeQualifiers, createTypeHierarchy, getQualifierHierarchy, getSupportedLintOptions, getSupportedTypeQualifiers, init, isAssignable, isSubtype, isValidUse |
Methods inherited from class checkers.source.SourceChecker |
attribute, getLintOption, getLintOption, getMessages, getProcessingEnvironment, getShouldSkip, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, getSuppressWarningsKey, message, process, report, shouldSkip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlowTestChecker
public FlowTestChecker()
createFactory
public AnnotatedTypeFactory createFactory(CompilationUnitTree tree)
- Description copied from class:
BaseTypeChecker
- Constructs an instance of the appropriate type factory for the
implemented type system.
The default implementation uses the checker naming convention to create
the appropriate type factory. If no factory is found, it returns
BasicAnnotatedTypeFactory
. It reflectively invokes the
constructor that accepts this checker and compilation unit tree
(in that order) as arguments.
Subclasses have to override this method to create the appropriate
visitor if they do not follow the checker naming convention.
- Overrides:
createFactory
in class BaseTypeChecker
- Parameters:
tree
- the currently visited compilation unit
- Returns:
- the appropriate type factory