KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > processing > Property


1 package spoon.processing;
2
3 import java.lang.annotation.ElementType JavaDoc;
4 import java.lang.annotation.Retention JavaDoc;
5 import java.lang.annotation.RetentionPolicy JavaDoc;
6 import java.lang.annotation.Target JavaDoc;
7
8 /**
9  * This annotation shall be used on processor fields to declare them as being
10  * properties (for configuration).
11  */

12 @Retention JavaDoc(RetentionPolicy.RUNTIME)
13 @Target JavaDoc(ElementType.FIELD)
14 public @interface Property {
15     /**
16      * An optional text that describes the property.
17      */

18     String JavaDoc value() default "";
19 }
20
Popular Tags