01: package test.tmp;
02:
03: import static java.lang.annotation.ElementType.CONSTRUCTOR;
04: import static java.lang.annotation.ElementType.METHOD;
05: import static java.lang.annotation.ElementType.TYPE;
06:
07: import java.lang.annotation.Retention;
08: import java.lang.annotation.Target;
09:
10: @Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
11: @Target({METHOD,TYPE,CONSTRUCTOR})
12: public @interface IgnoreUntil {
13:
14: /**
15: * Format: hhmm
16: */
17: public String time();
18: }
|