initEReference(getEObjectToChangesMapEntry_Key(), theEcorePackage.getEObject(), null, "key", null, 1, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getResourceChange_ListChanges(), this.getListChange(), null, "listChanges", null, 0, -1, ResourceChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/impl/ChangePackageImpl.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/impl/ChangePackageImpl.java
Method name: void initializePackageContents() Method name: void initializePackageContents()
Number of AST nodes: 1 Number of AST nodes: 1
1
initEReference(getEObjectToChangesMapEntry_Key(), theEcorePackage.getEObject(), null, "key", null, 1, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1
initEReference(getResourceChange_ListChanges(), this.getListChange(), null, "listChanges", null, 0, -1, ResourceChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in the same method
Number of node comparisons1
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements1
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    16
    initEReference(getEObjectToChangesMapEntry_Key(), theEcorePackage.getEObject(), null, "key", null, 1, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    16
    initEReference(getEObjectToChangesMapEntry_Key(), theEcorePackage.getEObject(), null, "key", null, 1, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    56
    initEReference(getResourceChange_ListChanges(), this.getListChange(), null, "listChanges", null, 0, -1, ResourceChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    Differences
    Expression1Expression2Difference
    getEObjectToChangesMapEntry_KeygetResourceChange_ListChangesMETHOD_INVOCATION_NAME_MISMATCH
    getEObjectgetListChangeMETHOD_INVOCATION_NAME_MISMATCH
    org.eclipse.emf.ecore.EcorePackageorg.eclipse.emf.ecore.change.impl.ChangePackageImplSUBCLASS_TYPE_MISMATCH
    theEcorePackagethisTYPE_COMPATIBLE_REPLACEMENT
    "key""listChanges"LITERAL_VALUE_MISMATCH
    10LITERAL_VALUE_MISMATCH
    1-1TYPE_COMPATIBLE_REPLACEMENT
    Map.Entry.classResourceChange.classLITERAL_VALUE_MISMATCH
    !IS_COMPOSITEIS_COMPOSITETYPE_COMPATIBLE_REPLACEMENT
    IS_RESOLVE_PROXIES!IS_RESOLVE_PROXIESTYPE_COMPATIBLE_REPLACEMENT
    Preondition Violations
    Expression getEObjectToChangesMapEntry_Key() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression getResourceChange_ListChanges() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    56
    initEReference(getResourceChange_ListChanges(), this.getListChange(), null, "listChanges", null, 0, -1, ResourceChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    Precondition Violations (2)
    Row Violation
    1Expression getEObjectToChangesMapEntry_Key() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    2Expression getResourceChange_ListChanges() cannot be parameterized, because it has dependencies to/from statements that will be extracted