langtools/src/share/classes/javax/lang/model/element/ElementKind.java
Print this page
rev 584 : 6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
Reviewed-by: darcy, alanb
Contributed-by: jjb@google.com
@@ -86,11 +86,17 @@
/**
* An implementation-reserved element. This is not the element
* you are looking for.
*/
- OTHER;
+ OTHER,
+
+ /**
+ * A resource variable.
+ * @since 1.7
+ */
+ RESOURCE_VARIABLE;
/**
* Returns {@code true} if this is a kind of class:
* either {@code CLASS} or {@code ENUM}.