Package javax.annotation
Annotation Type WillCloseWhenClosed
-
@Documented @Retention(RUNTIME) public @interface WillCloseWhenClosed
Used to annotate a constructor/factory parameter to indicate that returned object (X) will close the resource when X is closed.- See Also:
WillClose
,WillNotClose