Class AnnotationFileStore
java.lang.Object
org.checkerframework.framework.ajava.AnnotationFileStore
Stores a collection of annotation files. Given a type name, can return a list of paths to stored
 annotation files corresponding to that type name.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddFileOrDirectory(File location) Iflocationis a file, stores it in this as an annotation file.getAnnotationFileForType(String typeName) Given a fully qualified type name, returns a List of paths to annotation files containing annotations for the type.
- 
Constructor Details- 
AnnotationFileStorepublic AnnotationFileStore()Constructs anAnnotationFileStore.
 
- 
- 
Method Details- 
addFileOrDirectoryIflocationis a file, stores it in this as an annotation file. Iflocationis a directory, stores all annotation files contained in it.- Parameters:
- location- an annotation file or a directory containing annotation files
 
- 
getAnnotationFileForTypeGiven a fully qualified type name, returns a List of paths to annotation files containing annotations for the type.- Parameters:
- typeName- fully qualified name of a type
- Returns:
- a list of paths to annotation files with annotations for typeName
 
 
-