--- old/src/share/classes/javax/lang/model/element/VariableElement.java 2013-01-08 17:39:26.000000000 -0800 +++ new/src/share/classes/javax/lang/model/element/VariableElement.java 2013-01-08 17:39:26.000000000 -0800 @@ -62,4 +62,29 @@ * @jls 4.12.4 final Variables */ Object getConstantValue(); + + /** + * Returns the simple name of this variable element. + * + *

For method and constructor parameters, the names of each + * parameter must be distinct from the names of the other + * parameters on the same executable. If the original source + * names are not available, an implementation may synthesize + * names subject to the distinctness requirement above. + * + * @return the simple name of this variable element + */ + @Override + Name getSimpleName(); + + /** + * Returns the enclosing element of this variable. + * + * The enclosing element of a method or constructor parameter is + * the executable declaring the parameter. + * + * @return the enclosing element of this variable + */ + @Override + Element getEnclosingElement(); }