6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
authordarcy
Wed Jun 23 16:51:30 2010 -0700 (2 years ago)
changeset 584be5cafeb318d
parent 5834177f5bdd189
child 585d8a15fda7e3a
6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
Reviewed-by: darcy, alanb
Contributed-by: jjb@google.com
src/share/classes/javax/lang/model/element/ElementKind.java
--- 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 @@ public enum ElementKind {
* An implementation-reserved element. This is not the element
* you are looking for.
*/
- OTHER;
+ OTHER,
+
+ /**
+ * A resource variable.
+ * @since 1.7
+ */
+ RESOURCE_VARIABLE;
/**