File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EParameterImpl.java | File path: /emf-2.4.1/src/org/eclipse/emf/mapping/impl/MappingImpl.java | |||
Method name: NotificationChain eBasicRemoveFromContainerFeature(NotificationChain)
|
Method name: NotificationChain eBasicRemoveFromContainerFeature(NotificationChain)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | switch (eContainerFeatureID)↵ | 1 | switch (eContainerFeatureID)↵ | |
2 | {↵ | 2 | {↵ | |
3 | case EcorePackage.EPARAMETER__EOPERATION:↵ | 3 | case MappingPackage.MAPPING__NESTED_IN:↵ | |
4 | return eInternalContainer().eInverseRemove(this, EcorePackage.EOPERATION__EPARAMETERS, EOperation.class, msgs);↵ | 4 | return eInternalContainer().eInverseRemove(this, MappingPackage.MAPPING__NESTED, Mapping.class, msgs);↵ | |
5 | }↵ | 5 | }↵ | |
6 | return eDynamicBasicRemoveFromContainer(msgs); | 6 | return super.eBasicRemoveFromContainerFeature(msgs); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
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 | 6 |
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) | 1.4 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | switch (eContainerFeatureID) | 1 | switch (eContainerFeatureID) | |||||||||||||||
2 | case EcorePackage.EPARAMETER__EOPERATION: |
| 2 | case MappingPackage.MAPPING__NESTED_IN: | ||||||||||||||
3 | return eInternalContainer().eInverseRemove(this, EcorePackage.EOPERATION__EPARAMETERS, EOperation.class, msgs); |
| 3 | return eInternalContainer().eInverseRemove(this, MappingPackage.MAPPING__NESTED, Mapping.class, msgs); | ||||||||||||||
4 | return eDynamicBasicRemoveFromContainer(msgs); |
| 4 | return super.eBasicRemoveFromContainerFeature(msgs); |
Row | Violation |
---|---|
1 | Type org.eclipse.emf.ecore.EcorePackage of variable EcorePackage does not match with type org.eclipse.emf.mapping.MappingPackage of variable MappingPackage |
2 | Type org.eclipse.emf.ecore.EcorePackage of variable EcorePackage does not match with type org.eclipse.emf.mapping.MappingPackage of variable MappingPackage |