Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.953 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 670 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/ECrossReferenceAdapter.java |
2 | 13 | 740 | 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); } } |
| |||||
/** * 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); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#173a6ac0]] | setTarget |
1 | 2 | [[#173a6ac0]] | unsetTarget |