| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 3 | 0.968 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 260 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetFilterActionGroup.java |
| 2 | 4 | 69 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetShowActionGroup.java |
| ||||
private void add(IMenuManager mm, IAction action) {
IContributionItem item = new ActionContributionItem(action);
mm.appendToGroup(ACTION_GROUP, item);
fContributions.add(item);
}
|
| ||||
private void addAction(IMenuManager menuManager, Action action) {
IContributionItem item = new ActionContributionItem(action);
menuManager.appendToGroup(ACTION_GROUP, item);
fContributions.add(item);
}
|
| |||
private void [[#variable97809260]](IMenuManager [[#variable978091e0]], [[#variable97809140]] action) {
IContributionItem item = new ActionContributionItem(action);
[[#variable978091e0]].appendToGroup(ACTION_GROUP, item);
fContributions.add(item);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#97809260]] | addAction |
| 1 | 2 | [[#97809260]] | add |
| 2 | 1 | [[#978091e0]] | menuManager |
| 2 | 2 | [[#978091e0]] | mm |
| 3 | 1 | [[#97809140]] | Action |
| 3 | 2 | [[#97809140]] | IAction |