|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Indexable
Marker for an annotation type which can be indexed.
You can then use Index
to find all annotated elements
together with the annotations without necessarily loading any
classes.
The annotation may use any RetentionPolicy
and must permit targets of type ElementType.TYPE
,
ElementType.METHOD
, or ElementType.FIELD
(but no others). It should not be Inherited
.
Optional Element Summary | |
---|---|
java.lang.Class<?> |
type
Optional indication of a type to which the resolved instance must be assignable. |
public abstract java.lang.Class<?> type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |