KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)SupportedSourceVersion.java 1.5 06/08/02
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 import javax.lang.model.SourceVersion;
14
15
16 /**
17  * An annotation used to indicate the latest source version an
18  * annotation processor supports. The {@link
19  * Processor#getSupportedSourceVersion} method can construct its
20  * result from the value of this annotation, as done by {@link
21  * AbstractProcessor#getSupportedSourceVersion}.
22  *
23  * @author Joseph D. Darcy
24  * @author Scott Seligman
25  * @author Peter von der Ahé
26  * @version 1.5 06/08/02
27  * @since 1.6
28  */

29 @Documented
30 @Target(TYPE)
31 @Retention(RUNTIME)
32 public @interface SupportedSourceVersion {
33     SourceVersion value();
34 }
35
Popular Tags