KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > annotations > ValueAttrAnnotation


1
2 package annotations;
3
4 import java.lang.annotation.Retention JavaDoc;
5 import java.lang.annotation.RetentionPolicy JavaDoc;
6
7
8 @Retention JavaDoc(RetentionPolicy.RUNTIME)
9 public @interface ValueAttrAnnotation {
10   String JavaDoc value() default "defaultValue";
11 }
12
13
Popular Tags