javax.annotation
public @Interface WillCloseWhenClosed
extends Annotation
- Annotations
- @Documented
- @Retention:RUNTIME
- Imports
- java.lang.annotation.Documented, .Retention, .RetentionPolicy
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