use of org.eclipse.n4js.n4JS.VariableDeclaration in project n4js by eclipse.
the class BindingPropertyImpl method getName.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getName() {
String _elvis = null;
String _name = super.getName();
if (_name != null) {
_elvis = _name;
} else {
BindingElement _value = this.getValue();
VariableDeclaration _varDecl = null;
if (_value != null) {
_varDecl = _value.getVarDecl();
}
String _name_1 = null;
if (_varDecl != null) {
_name_1 = _varDecl.getName();
}
_elvis = _name_1;
}
return _elvis;
}
Aggregations