1 package javax.annotation; 2 3 import java.lang.annotation.Documented; 4 import java.lang.annotation.Retention; 5 import java.lang.annotation.RetentionPolicy; 6 7 @Documented 8 @Retention(RetentionPolicy.RUNTIME) 9 /** 10 * Used to annotate a method parameter to indicate that this method will close 11 * the resource. 12 */ 13 public @interface WillClose { 14 15 } 16