javax.annotation.WillCloseWhenClosed Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annotations Show documentation
Show all versions of annotations Show documentation
Annotation the FindBugs tool supports
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 {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy