CloneSet40


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25601.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12572
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/change/util/ChangeSwitch.java
22572
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreSwitch.java
32570
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/tree/util/TreeSwitch.java
42574
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/ecore2ecore/util/Ecore2EcoreSwitch.java
52571
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/ecore2xml/util/Ecore2XMLSwitch.java
62570
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/util/MappingSwitch.java
Next
Last
Clone Instance
1
Line Count
25
Source Line
72
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/change/util/ChangeSwitch.java

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
public T doSwitch(EObject theEObject) {
  return doSwitch(theEObject.eClass(), theEObject);
}

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
protected T doSwitch(EClass theEClass, EObject theEObject) {
  if (theEClass.eContainer() == modelPackage) {
    return doSwitch(theEClass.getClassifierID(), theEObject);
  }
  else {
    List<EClass> eSuperTypes = theEClass.getESuperTypes();
    return eSuperTypes.isEmpty() ? defaultCase(theEObject): doSwitch(eSuperTypes.get(0), theEObject);
  }
}


Next
Previous
Clone Instance
2
Line Count
25
Source Line
72
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreSwitch.java

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
public T doSwitch(EObject theEObject) {
  return doSwitch(theEObject.eClass(), theEObject);
}

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
protected T doSwitch(EClass theEClass, EObject theEObject) {
  if (theEClass.eContainer() == modelPackage) {
    return doSwitch(theEClass.getClassifierID(), theEObject);
  }
  else {
    List<EClass> eSuperTypes = theEClass.getESuperTypes();
    return eSuperTypes.isEmpty() ? defaultCase(theEObject): doSwitch(eSuperTypes.get(0), theEObject);
  }
}


Next
Previous
Clone Instance
3
Line Count
25
Source Line
70
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/tree/util/TreeSwitch.java

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
public T doSwitch(EObject theEObject) {
  return doSwitch(theEObject.eClass(), theEObject);
}

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
protected T doSwitch(EClass theEClass, EObject theEObject) {
  if (theEClass.eContainer() == modelPackage) {
    return doSwitch(theEClass.getClassifierID(), theEObject);
  }
  else {
    List<EClass> eSuperTypes = theEClass.getESuperTypes();
    return eSuperTypes.isEmpty() ? defaultCase(theEObject): doSwitch(eSuperTypes.get(0), theEObject);
  }
}


Next
Previous
Clone Instance
4
Line Count
25
Source Line
74
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/ecore2ecore/util/Ecore2EcoreSwitch.java

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
public T doSwitch(EObject theEObject) {
  return doSwitch(theEObject.eClass(), theEObject);
}

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
protected T doSwitch(EClass theEClass, EObject theEObject) {
  if (theEClass.eContainer() == modelPackage) {
    return doSwitch(theEClass.getClassifierID(), theEObject);
  }
  else {
    List<EClass> eSuperTypes = theEClass.getESuperTypes();
    return eSuperTypes.isEmpty() ? defaultCase(theEObject): doSwitch(eSuperTypes.get(0), theEObject);
  }
}


Next
Previous
Clone Instance
5
Line Count
25
Source Line
71
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/ecore2xml/util/Ecore2XMLSwitch.java

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
public T doSwitch(EObject theEObject) {
  return doSwitch(theEObject.eClass(), theEObject);
}

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
protected T doSwitch(EClass theEClass, EObject theEObject) {
  if (theEClass.eContainer() == modelPackage) {
    return doSwitch(theEClass.getClassifierID(), theEObject);
  }
  else {
    List<EClass> eSuperTypes = theEClass.getESuperTypes();
    return eSuperTypes.isEmpty() ? defaultCase(theEObject): doSwitch(eSuperTypes.get(0), theEObject);
  }
}


First
Previous
Clone Instance
6
Line Count
25
Source Line
70
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/util/MappingSwitch.java

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
public T doSwitch(EObject theEObject) {
  return doSwitch(theEObject.eClass(), theEObject);
}

/**
 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the first non-null result returned by a <code>caseXXX</code> call.
 * @generated
 */
protected T doSwitch(EClass theEClass, EObject theEObject) {
  if (theEClass.eContainer() == modelPackage) {
    return doSwitch(theEClass.getClassifierID(), theEObject);
  }
  else {
    List<EClass> eSuperTypes = theEClass.getESuperTypes();
    return eSuperTypes.isEmpty() ? defaultCase(theEObject): doSwitch(eSuperTypes.get(0), theEObject);
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return the first non-null result returned by a <code>caseXXX</code> call.
   * @generated
   */
public T doSwitch(EObject theEObject) {
  return doSwitch(theEObject.eClass(), theEObject);
}

/**
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return the first non-null result returned by a <code>caseXXX</code> call.
   * @generated
   */
protected T doSwitch(EClass theEClass, EObject theEObject) {
  if (theEClass.eContainer() == modelPackage) {
    return doSwitch(theEClass.getClassifierID(), theEObject);
  }
  else {
    List<EClass> eSuperTypes = theEClass.getESuperTypes();
    return eSuperTypes.isEmpty() ? defaultCase(theEObject): doSwitch(eSuperTypes.get(0), theEObject);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None