public class SubtypingAnnotationClassLoader extends AnnotationClassLoader
classLoader, processingEnv
Constructor and Description |
---|
SubtypingAnnotationClassLoader(BaseTypeChecker checker) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasWellDefinedTargetMetaAnnotation(Class<? extends Annotation> annoClass)
Checks to see whether a particular annotation class has the
Target meta-annotation,
and has the required ElementType values as checked by AnnotatedTypes.hasTypeQualifierElementTypes(ElementType[], Class) . |
getBundledAnnotationClasses, isSupportedAnnotationClass, loadAnnotationClass, loadAnnotationClasses, loadExternalAnnotationClass, loadExternalAnnotationClassesFromDirectory, printPaths
public SubtypingAnnotationClassLoader(BaseTypeChecker checker)
protected boolean hasWellDefinedTargetMetaAnnotation(Class<? extends Annotation> annoClass)
AnnotationClassLoader
Target
meta-annotation,
and has the required ElementType
values as checked by AnnotatedTypes.hasTypeQualifierElementTypes(ElementType[], Class)
.
A subclass may override this method to load annotations that are not intended to be
annotated in source code. E.g.: SubtypingChecker
overrides this method to load Unqualified
hasWellDefinedTargetMetaAnnotation
in class AnnotationClassLoader
annoClass
- an annotation class