summaryrefslogtreecommitdiffstats
path: root/ri/src/main/java/javax/annotation/WillClose.java
diff options
context:
space:
mode:
Diffstat (limited to 'ri/src/main/java/javax/annotation/WillClose.java')
-rw-r--r--ri/src/main/java/javax/annotation/WillClose.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/ri/src/main/java/javax/annotation/WillClose.java b/ri/src/main/java/javax/annotation/WillClose.java
new file mode 100644
index 0000000..9ea70cf
--- /dev/null
+++ b/ri/src/main/java/javax/annotation/WillClose.java
@@ -0,0 +1,15 @@
+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 method parameter to indicate that this method will close
+ * the resource.
+ */
+public @interface WillClose {
+
+}