mirror of
https://git.eaglercraft.rip/eaglercraft/eaglercraft-1.8.git
synced 2025-04-08 00:47:45 -07:00
19 lines
427 B
Java
19 lines
427 B
Java
package javax.annotation;
|
|
|
|
import java.lang.annotation.Documented;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
/**
|
|
* Used to annotate a constructor/factory parameter to indicate that returned
|
|
* object (X) will close the resource when X is closed.
|
|
*
|
|
* @see WillClose
|
|
* @see WillNotClose
|
|
*/
|
|
@Documented
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface WillCloseWhenClosed {
|
|
|
|
}
|