@Documented @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface IndexAnnotated
During compilation ClassIndexProcessor
creates a resource file listing all classes
annotated by annotation annotated by this meta-annotation.
You can retrieve the list at runtime using ClassIndex.getAnnotated(Class)
.
If the classes also have a zero-argument constructor you can use ServiceLoader
facility.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
storeJavadoc
Specifies whether to store Javadoc for runtime retrieval.
|
public abstract boolean storeJavadoc
You can retrieve the stored Javadoc summary using ClassIndex.getClassSummary(Class)
.
Copyright © 2014 Atteo. All rights reserved.