Class SubtypingAnnotationClassLoader
java.lang.Object
org.checkerframework.framework.type.AnnotationClassLoader
org.checkerframework.common.subtyping.SubtypingAnnotationClassLoader
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- 
Field SummaryFields inherited from class org.checkerframework.framework.type.AnnotationClassLoaderchecker, classLoader, processingEnv
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AnnotationClassLoaderclose, getBundledAnnotationClasses, isSupportedAnnotationClass, loadAnnotationClass, loadAnnotationClasses, loadExternalAnnotationClass, loadExternalAnnotationClassesFromDirectory, printPaths
- 
Constructor Details- 
SubtypingAnnotationClassLoader
 
- 
- 
Method Details- 
hasWellDefinedTargetMetaAnnotationDescription 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 class- AnnotationClassLoader
- Parameters:
- annoClass- an annotation class
- Returns:
- true if the annotation is well defined, false if it isn't
 
 
-