public abstract class Checker<Q> extends Object implements QualifierContext<Q>
QualifiedTypeFactory
for the type system.Constructor and Description |
---|
Checker() |
Modifier and Type | Method and Description |
---|---|
QualifiedTypeFormatter<Q> |
createQualifiedTypeFormatter()
Create a QualifiedTypeFormatter to format QualifiedTypeMirrors into strings.
|
protected abstract QualifiedTypeFactory<Q> |
createTypeFactory()
Constructs the
QualifiedTypeFactory for use by this Checker . |
AnnotationProvider |
getAnnotationProvider() |
Checker<Q> |
getChecker() |
CheckerAdapter<Q> |
getCheckerAdapter() |
QualifierContext<Q> |
getContext() |
Elements |
getElementUtils() |
protected Set<?> |
getInvisibleQualifiers()
Return a list of qualifiers that should not be printed unless printAllQualifiers is enabled.
|
OptionConfiguration |
getOptionConfiguration() |
ProcessingEnvironment |
getProcessingEnvironment() |
QualifiedTypes<Q> |
getQualifiedTypeUtils() |
Trees |
getTreeUtils() |
QualifiedTypeFactory<Q> |
getTypeFactory()
Returns the
QualifiedTypeFactory used by this Checker . |
Types |
getTypeUtils() |
public QualifierContext<Q> getContext()
public ProcessingEnvironment getProcessingEnvironment()
getProcessingEnvironment
in interface BaseContext
public Elements getElementUtils()
getElementUtils
in interface BaseContext
public Types getTypeUtils()
getTypeUtils
in interface BaseContext
public Checker<Q> getChecker()
getChecker
in interface QualifierContext<Q>
public CheckerAdapter<Q> getCheckerAdapter()
getCheckerAdapter
in interface QualifierContext<Q>
public QualifiedTypes<Q> getQualifiedTypeUtils()
getQualifiedTypeUtils
in interface QualifierContext<Q>
public AnnotationProvider getAnnotationProvider()
getAnnotationProvider
in interface BaseContext
public Trees getTreeUtils()
getTreeUtils
in interface BaseContext
public OptionConfiguration getOptionConfiguration()
getOptionConfiguration
in interface BaseContext
protected abstract QualifiedTypeFactory<Q> createTypeFactory()
QualifiedTypeFactory
for use by this Checker
.public QualifiedTypeFactory<Q> getTypeFactory()
QualifiedTypeFactory
used by this Checker
.getTypeFactory
in interface QualifierContext<Q>
public QualifiedTypeFormatter<Q> createQualifiedTypeFormatter()
protected Set<?> getInvisibleQualifiers()