1 package com.annotation;
2 
3 import java.lang.annotation.Documented;
4 import java.lang.annotation.ElementType;
5 import java.lang.annotation.Inherited;
6 import java.lang.annotation.Retention;
7 import java.lang.annotation.RetentionPolicy;
8 import java.lang.annotation.Target;
9 
10 @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE,ElementType.METHOD,
11  ElementType.CONSTRUCTOR,ElementType.ANNOTATION_TYPE,
12  ElementType.PACKAGE,ElementType.FIELD,ElementType.LOCAL_VARIABLE})
13 @Inherited
14 
15 public @interface Unfinished {
16         public enum Priority { LOW, MEDIUM, HIGH }
value()17         String value();
changedBy()18         String[] changedBy() default "";
lastChangedBy()19         String[] lastChangedBy() default "";
priority()20         Priority priority() default Priority.MEDIUM;
createdBy()21         String createdBy() default "James Gosling";
lastChanged()22         String lastChanged() default "08/07/2011";
23 }
24 
25