6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
authordarcy
Wed, 23 Jun 2010 16:51:30 -0700
changeset 6028 c8a98b3e9f79
parent 5855 00d9c252e60c
child 6029 89f2c9b62d31
6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks Reviewed-by: darcy, alanb Contributed-by: jjb@google.com
langtools/src/share/classes/javax/lang/model/element/ElementKind.java
--- a/langtools/src/share/classes/javax/lang/model/element/ElementKind.java	Fri Jun 18 21:13:56 2010 -0700
+++ b/langtools/src/share/classes/javax/lang/model/element/ElementKind.java	Wed Jun 23 16:51:30 2010 -0700
@@ -88,7 +88,13 @@
      * An implementation-reserved element.  This is not the element
      * you are looking for.
      */
-    OTHER;
+    OTHER,
+
+    /**
+     * A resource variable.
+     * @since 1.7
+     */
+    RESOURCE_VARIABLE;
 
 
     /**