CloneSet687


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.953method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113670
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/ECrossReferenceAdapter.java
213740
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/ECrossReferenceAdapter.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
670
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/ECrossReferenceAdapter.java

/**
 * Handles installation of the adapter
 * by adding the adapter to each of the directly contained objects.
 */
public void setTarget(Notifier target) {
  if (target instanceof EObject) {
    setTarget((EObject) target);
  }
  else
    if (target instanceof Resource) {
      setTarget((Resource) target);
    }
    else
      if (target instanceof ResourceSet) {
        setTarget((ResourceSet) target);
      }
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
740
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/ECrossReferenceAdapter.java

/**
 * Handles undoing the installation of the adapter
 * by removing the adapter to each of the directly contained objects.
 */
public void unsetTarget(Notifier target) {
  if (target instanceof EObject) {
    unsetTarget((EObject) target);
  }
  else
    if (target instanceof Resource) {
      unsetTarget((Resource) target);
    }
    else
      if (target instanceof ResourceSet) {
        unsetTarget((ResourceSet) target);
      }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
   * Handles undoing the installation of the adapter
   * by removing the adapter to each of the directly contained objects.
   */
/**
   * Handles installation of the adapter
   * by adding the adapter to each of the directly contained objects.
   */
public void [[#variable173a6ac0]](Notifier target) {
  if (target instanceof EObject) {
     [[#variable173a6ac0]]((EObject) target);
  }
  else
    if (target instanceof Resource) {
       [[#variable173a6ac0]]((Resource) target);
    }
    else
      if (target instanceof ResourceSet) {
         [[#variable173a6ac0]]((ResourceSet) target);
      }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#173a6ac0]]
setTarget 
12[[#173a6ac0]]
unsetTarget