net.java.sezpoz
Annotation Type Indexable


@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.
 

type

public abstract java.lang.Class<?> type
Optional indication of a type to which the resolved instance must be assignable.

Returns:
the type of instance
Default:
java.lang.Object.class


Copyright © 2012. All Rights Reserved.