1 package test.tmp; 2 3 import static java.lang.annotation.ElementType.CONSTRUCTOR; 4 import static java.lang.annotation.ElementType.METHOD; 5 import static java.lang.annotation.ElementType.TYPE; 6 7 import java.lang.annotation.Retention; 8 import java.lang.annotation.Target; 9 10 @Retention(java.lang.annotation.RetentionPolicy.RUNTIME) 11 @Target({METHOD, TYPE, CONSTRUCTOR}) 12 public @interface IgnoreUntil { 13 14 /** 15 * Format: hhmm 16 */ time()17 public String time(); 18 } 19