KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > annotation > processing > SupportedAnnotationTypes


1 /*
2  * @(#)SupportedAnnotationTypes.java 1.4 06/07/31
3  *
4  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.annotation.processing;
9
10 import java.lang.annotation.*;
11 import static java.lang.annotation.RetentionPolicy JavaDoc.*;
12 import static java.lang.annotation.ElementType JavaDoc.*;
13
14 /**
15  * An annotation used to indicate what annotation types an annotation
16  * processor supports. The {@link
17  * Processor#getSupportedAnnotationTypes} method can construct its
18  * result from the value of this annotation, as done by {@link
19  * AbstractProcessor#getSupportedAnnotationTypes}. Only {@linkplain
20  * Processor#getSupportedAnnotationTypes strings conforming to the
21  * grammar} should be used as values.
22  *
23  * @author Joseph D. Darcy
24  * @author Scott Seligman
25  * @author Peter von der Ahé
26  * @version 1.4 06/07/31
27  * @since 1.6
28  */

29 @Documented
30 @Target(TYPE)
31 @Retention(RUNTIME)
32 public @interface SupportedAnnotationTypes {
33   String JavaDoc [] value();
34 }
35
Popular Tags