19 lines
393 B
Java
19 lines
393 B
Java
|
package javax.annotation;
|
||
|
|
||
|
import java.lang.annotation.Documented;
|
||
|
import java.lang.annotation.Retention;
|
||
|
import java.lang.annotation.RetentionPolicy;
|
||
|
|
||
|
/**
|
||
|
* Used to annotate a method parameter to indicate that this method will not
|
||
|
* close the resource.
|
||
|
*
|
||
|
* @see WillClose
|
||
|
* @see WillCloseWhenClosed
|
||
|
*/
|
||
|
@Documented
|
||
|
@Retention(RetentionPolicy.RUNTIME)
|
||
|
public @interface WillNotClose {
|
||
|
|
||
|
}
|