protected boolean isIncluded(EStructuralFeature eStructuralFeature) { return true; } protected boolean isIncludedEntry(EStructuralFeature eStructuralFeature) { return eStructuralFeature instanceof EReference && ((EReference)eStructuralFeature).isContainment();
protected boolean isIncluded(EStructuralFeature eStructuralFeature) { return true; } protected boolean isIncludedEntry(EStructuralFeature eStructuralFeature) { return eStructuralFeature instanceof EReference && ((EReference)eStructuralFeature).isContainment();
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/EContentsEList.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/EContentsEList.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
protected boolean isIncluded(EStructuralFeature eStructuralFeature)
1
protected boolean isIncluded(EStructuralFeature eStructuralFeature)
2
  {
2
  
3
  {
3
    return true;
4
      return true;
4
  }
5
    }
5
  protected boolean isIncludedEntry(EStructuralFeature eStructuralFeature)
6
    protected boolean isIncludedEntry(EStructuralFeature eStructuralFeature)
6
  {
7
  
8
  {
7
    return eStructuralFeature instanceof EReference && ((EReference)eStructuralFeature).isContainment();
9
      return eStructuralFeature instanceof EReference && ((EReference)eStructuralFeature).isContainment();
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