private void internalCheckOrdering(ReferenceChange diff, boolean rightToLeft) { final EStructuralFeature feature = diff.getReference(); final EObject value = diff.getValue(); final Match match = diff.getMatch(); final Comparison comparison = match.getComparison(); final Match valueMatch = comparison.getMatch(value); final EObject sourceContainer; final EObject targetContainer; final EObject newValue; if (rightToLeft) { sourceContainer = match.getRight(); targetContainer = match.getLeft(); newValue = valueMatch.getLeft(); //...