for (DiffElement diffElement : operations) { if ( diffElement instanceof UpdateAttribute ) { UpdateAttribute changeObject = (UpdateAttribute)diffElement; if (changeObject.getAttribute().getName() == "name" ) { // process changeObject's left and right EClasses... } } }
if ( changeObject.getAttribute() == EcorePackage.Literals.ENAMED_ELEMENT__NAME ) {