public class DirectoryIndexer extends AbstractIndexWriter
The assumption is that the classes are tested at some stage before packaging. That will be the time when we can index the annotations, even if Eclipse decided not to run any annotation processor.
AbstractIndexWriter.StreamFactory| Constructor and Description | 
|---|
DirectoryIndexer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected <A extends Annotation> | 
add(A annotation,
   String className)  | 
protected void | 
discoverAnnotations(File directory,
                   String classNamePrefix,
                   ClassLoader loader)  | 
void | 
index(File directory)  | 
protected void | 
write(File directory)  | 
adapt, adapt, add, foundAnnotations, merge, write, writeMappublic void index(File directory) throws IOException
IOExceptionprotected void discoverAnnotations(File directory, String classNamePrefix, ClassLoader loader) throws IOException
IOExceptionprotected <A extends Annotation> void add(A annotation, String className)
protected void write(File directory) throws IOException
IOExceptionCopyright © 2015–2022 SciJava. All rights reserved.