Files
Eaglercraftx-u19-source/sources/main/java/javax/annotation/WillCloseWhenClosed.java

19 lines
427 B
Java
Raw Normal View History

2023-06-28 09:58:17 +03:30
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 {
}