| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 4 | 4 | 0.953 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 377 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
| 2 | 2 | 815 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpansionControl.java |
| 3 | 2 | 304 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetFilterActionGroup.java |
| 4 | 2 | 63 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetShowActionGroup.java |
| ||||
for (Iterator iter = groups.iterator(); iter.hasNext();) {
change.addTextEditGroup((TextEditGroup) iter.next());
}
|
| ||||
// set the ranges one by one
for (Iterator iter = shadedRanges.iterator(); iter.hasNext();) {
text.setStyleRange((StyleRange) iter.next());
}
|
| ||||
for (Iterator iter = fContributions.iterator(); iter.hasNext();) {
menuManager.remove((IContributionItem) iter.next());
}
|
| ||||
for (Iterator iter = fContributions.iterator(); iter.hasNext();) {
menuManager.remove((IContributionItem) iter.next());
}
|
| |||
// set the ranges one by one
for (Iterator iter = [[#variable95831740]].iterator(); iter.hasNext();) {
[[#variable95831640]]. [[#variable95831620]](( [[#variable958316a0]]) iter.next());
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#95831740]] | fContributions |
| 1 | 2 | [[#95831740]] | shadedRanges |
| 1 | 3 | [[#95831740]] | groups |
| 1 | 4 | [[#95831740]] | fContributions |
| 2 | 1 | [[#95831640]] | menuManager |
| 2 | 2 | [[#95831640]] | text |
| 2 | 3 | [[#95831640]] | change |
| 2 | 4 | [[#95831640]] | menuManager |
| 3 | 1 | [[#95831620]] | remove |
| 3 | 2 | [[#95831620]] | setStyleRange |
| 3 | 3 | [[#95831620]] | addTextEditGroup |
| 3 | 4 | [[#95831620]] | remove |
| 4 | 1 | [[#958316a0]] | IContributionItem |
| 4 | 2 | [[#958316a0]] | StyleRange |
| 4 | 3 | [[#958316a0]] | TextEditGroup |
| 4 | 4 | [[#958316a0]] | IContributionItem |