mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #0 - First Release
This commit is contained in:
18
sources/main/java/javax/annotation/WillCloseWhenClosed.java
Normal file
18
sources/main/java/javax/annotation/WillCloseWhenClosed.java
Normal file
@ -0,0 +1,18 @@
|
||||
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 {
|
||||
|
||||
}
|
Reference in New Issue
Block a user