File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EEnumImpl.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EStructuralFeatureImpl.java | |||
Method name: NotificationChain eInverseAdd(InternalEObject, int, NotificationChain)
|
Method name: NotificationChain eInverseAdd(InternalEObject, int, NotificationChain)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | case EcorePackage.EENUM__EPACKAGE:↵ | 1 | case EcorePackage.ESTRUCTURAL_FEATURE__ECONTAINING_CLASS:↵ | |
2 | if (eInternalContainer() != null)↵ | 2 | if (eInternalContainer() != null)↵ | |
3 | msgs = eBasicRemoveFromContainer(msgs);↵ | 3 | msgs = eBasicRemoveFromContainer(msgs);↵ | |
4 | return eBasicSetContainer(otherEnd, EcorePackage.EENUM__EPACKAGE, msgs); | 4 | return eBasicSetContainer(otherEnd, EcorePackage.ESTRUCTURAL_FEATURE__ECONTAINING_CLASS, msgs); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.1 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 9 |
Number of mapped statements | 4 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.9 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4 | case EcorePackage.EENUM__EPACKAGE: |
| 4 | case EcorePackage.ESTRUCTURAL_FEATURE__ECONTAINING_CLASS: | ||||||||||
5 | if (eInternalContainer() != null) | 5 | if (eInternalContainer() != null) | |||||||||||
6 | msgs = eBasicRemoveFromContainer(msgs); | 6 | msgs = eBasicRemoveFromContainer(msgs); | |||||||||||
7 | return eBasicSetContainer(otherEnd, EcorePackage.EENUM__EPACKAGE, msgs); |
| 7 | return eBasicSetContainer(otherEnd, EcorePackage.ESTRUCTURAL_FEATURE__ECONTAINING_CLASS, msgs); |
Row | Violation |
---|