script-astra/Android/Sdk/sources/android-35/javax/annotation/WillCloseWhenClosed.java

16 lines
385 B
Java
Raw Permalink Normal View History

2025-01-20 15:15:20 +00:00
package javax.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Documented
@Retention(RetentionPolicy.RUNTIME)
/**
* Used to annotate a constructor/factory parameter to indicate that returned
* object (X) will close the resource when X is closed.
*/
public @interface WillCloseWhenClosed {
}