public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { return eDynamicInverseAdd(otherEnd, featureID, msgs); } public NotificationChain eDynamicInverseAdd(InternalEObject otherEnd, int featureID, Class<?> inverseClass, NotificationChain msgs) { return eDynamicInverseAdd(otherEnd, featureID, msgs); } protected NotificationChain eDynamicInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { EStructuralFeature.Internal feature = (EStructuralFeature.Internal)eClass().getEStructuralFeature(featureID); return feature.getSettingDelegate().dynamicInverseAdd(this, eSettings(), featureID - eStaticFeatureCount(), otherEnd, msgs);
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { return eDynamicInverseRemove(otherEnd, featureID, msgs); } public NotificationChain eDynamicInverseRemove(InternalEObject otherEnd, int featureID, Class<?> inverseClass, NotificationChain msgs) { return eDynamicInverseRemove(otherEnd, featureID, msgs); } protected NotificationChain eDynamicInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { EStructuralFeature.Internal feature = (EStructuralFeature.Internal)eClass().getEStructuralFeature(featureID); return feature.getSettingDelegate().dynamicInverseRemove(this, eSettings(), featureID - eStaticFeatureCount(), otherEnd, msgs);
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/BasicEObjectImpl.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/BasicEObjectImpl.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
1
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
2
  {
2
  {
3
    return eDynamicInverseAdd(otherEnd, featureID, msgs);
3
    return eDynamicInverseRemove(otherEnd, featureID, msgs);
4
  }
4
  }
5
  public NotificationChain eDynamicInverseAdd(InternalEObject otherEnd, int featureID, Class<?> inverseClass, NotificationChain msgs)
5
  public NotificationChain eDynamicInverseRemove(InternalEObject otherEnd, int featureID, Class<?> inverseClass, NotificationChain msgs)
6
  {
6
  {
7
    return eDynamicInverseAdd(otherEnd, featureID, msgs);
7
    return eDynamicInverseRemove(otherEnd, featureID, msgs);
8
  }
8
  }
9
  
9
  
10
  protected NotificationChain eDynamicInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
10
  protected NotificationChain eDynamicInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
11
  {
11
  {
12
    EStructuralFeature.Internal feature = (EStructuralFeature.Internal)eClass().getEStructuralFeature(featureID);
12
    EStructuralFeature.Internal feature = (EStructuralFeature.Internal)eClass().getEStructuralFeature(featureID);
13
    return feature.getSettingDelegate().dynamicInverseAdd(this, eSettings(), featureID - eStaticFeatureCount(), otherEnd, msgs);
13
    return feature.getSettingDelegate().dynamicInverseRemove(this, eSettings(), featureID - eStaticFeatureCount(), otherEnd, msgs);
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0