You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
805 B
27 lines
805 B
package com.annotation;
|
|
|
|
import java.lang.annotation.Documented;
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Inherited;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Documented
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target({ElementType.TYPE,ElementType.METHOD,
|
|
ElementType.CONSTRUCTOR,ElementType.ANNOTATION_TYPE,
|
|
ElementType.PACKAGE,ElementType.FIELD,ElementType.LOCAL_VARIABLE})
|
|
@Inherited
|
|
|
|
public @interface Unfinished {
|
|
public enum Priority { LOW, MEDIUM, HIGH }
|
|
String value();
|
|
String[] changedBy() default "";
|
|
String[] lastChangedBy() default "";
|
|
Priority priority() default Priority.MEDIUM;
|
|
String createdBy() default "James Gosling";
|
|
String lastChanged() default "08/07/2011";
|
|
}
|
|
|