Unmatched statement Object value=featureMap.getValue(i); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
7
Objectvalue = featureMap.getValue(i);
3
if(result!=null)
3
if(result!=null)
8
if(value!=null)
Differences
Expression1
Expression2
Difference
result
value
VARIABLE_NAME_MISMATCH
org.eclipse.emf.ecore.EValidator
java.lang.Object
VARIABLE_TYPE_MISMATCH
Preondition Violations
Type org.eclipse.emf.ecore.EValidator of variable result does not match with type java.lang.Object of variable value
Make classes org.eclipse.emf.ecore.EValidator and java.lang.Object extend a common superclass
8
if(value!=null)
4
returnresult;
4
returnresult;
Preondition Violations
Unmatched return result;
9
copy((EObject)value);
Precondition Violations (3)
Row
Violation
1
Unmatched statement Object value=featureMap.getValue(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 java.lang.Object of variable value