Class SubtypingAnnotationClassLoader
java.lang.Object
org.checkerframework.framework.type.AnnotationClassLoader
org.checkerframework.common.subtyping.SubtypingAnnotationClassLoader
- All Implemented Interfaces:
 Closeable,AutoCloseable
- 
Field Summary
Fields inherited from class org.checkerframework.framework.type.AnnotationClassLoader
checker, classLoader, processingEnv - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanhasWellDefinedTargetMetaAnnotation(Class<? extends Annotation> annoClass) Checks to see whether a particular annotation class has theTargetmeta-annotation, and has the requiredElementTypevalues.Methods inherited from class org.checkerframework.framework.type.AnnotationClassLoader
close, getBundledAnnotationClasses, isSupportedAnnotationClass, loadAnnotationClass, loadAnnotationClasses, loadExternalAnnotationClass, loadExternalAnnotationClassesFromDirectory, printPaths 
- 
Constructor Details
- 
SubtypingAnnotationClassLoader
 
 - 
 - 
Method Details
- 
hasWellDefinedTargetMetaAnnotation
Description copied from class:AnnotationClassLoaderChecks to see whether a particular annotation class has theTargetmeta-annotation, and has the requiredElementTypevalues.A subclass may override this method to load annotations that are not intended to be annotated in source code. E.g.:
SubtypingCheckeroverrides this method to loadUnqualified.- Overrides:
 hasWellDefinedTargetMetaAnnotationin classAnnotationClassLoader- Parameters:
 annoClass- an annotation class- Returns:
 - true if the annotation is well defined, false if it isn't
 
 
 -