changeset 584:be5cafeb318d

6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks Reviewed-by: darcy, alanb Contributed-by: jjb@google.com
author darcy
date Wed, 23 Jun 2010 16:51:30 -0700
parents 4177f5bdd189
children d8a15fda7e3a
files src/share/classes/javax/lang/model/element/ElementKind.java
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/lang/model/element/ElementKind.java	Fri Jun 18 21:13:56 2010 -0700
+++ b/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;
 
 
     /**