public class SubtypingAnnotationClassLoader extends AnnotationClassLoader
classLoader, processingEnv
Constructor and Description |
---|
SubtypingAnnotationClassLoader(BaseTypeChecker checker) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasWellDefinedTargetMetaAnnotation(java.lang.Class<? extends java.lang.annotation.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(java.lang.Class<? extends java.lang.annotation.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