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 BaseContextpublic Elements getElementUtils()
getElementUtils in interface BaseContextpublic Types getTypeUtils()
getTypeUtils in interface BaseContextpublic 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 BaseContextpublic Trees getTreeUtils()
getTreeUtils in interface BaseContextpublic OptionConfiguration getOptionConfiguration()
getOptionConfiguration in interface BaseContextprotected 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()