Unmatched statement InternalEObject value=values.get(i); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
4
InternalEObjectvalue = values.get(i);
3
if(result!=null)
3
if(result!=null)
5
if(value!=null)
Differences
Expression1
Expression2
Difference
result
value
VARIABLE_NAME_MISMATCH
org.eclipse.emf.ecore.EValidator
org.eclipse.emf.ecore.InternalEObject
VARIABLE_TYPE_MISMATCH
Preondition Violations
Type org.eclipse.emf.ecore.EValidator of variable result does not match with type org.eclipse.emf.ecore.InternalEObject of variable value
Make classes org.eclipse.emf.ecore.EValidator and org.eclipse.emf.ecore.InternalEObject extend a common superclass
5
if(value!=null)
4
returnresult;
4
returnresult;
Preondition Violations
Unmatched return result;
6
saveElement(value, f);
Precondition Violations (3)
Row
Violation
1
Unmatched statement InternalEObject value=values.get(i); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
2
Type org.eclipse.emf.ecore.EValidator of variable result does not match with type org.eclipse.emf.ecore.InternalEObject of variable value