| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 4 | 0.973 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 52 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithActionGroup.java |
| 2 | 7 | 131 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.java |
| ||||
String shortcutString = getShortcutString();
if (shortcutString != null) {
String[] args = new String[] {
menuText, shortcutString
};
menuText = Messages.format(ActionMessages.QuickMenuAction_menuTextWithShortcut, args);
}
MenuManager subMenu = new MenuManager(menuText, SurroundWithTemplateMenuAction.SURROUND_WITH_QUICK_MENU_ACTION_ID);
|
| ||||
String shortcut = getShortcutString();
if (shortcut != null) {
String[] args = new String[] {
menuText, shortcut
};
menuText = Messages.format(ActionMessages.QuickMenuAction_menuTextWithShortcut, args);
}
MenuManager javaSearchMM = new MenuManager(menuText, IContextMenuConstants.GROUP_SEARCH);
|
| |||
String [[#variable5b443620]]= getShortcutString();
if ( [[#variable5b443620]]!= null) {
String[] args = new String[] {
menuText,
[[#variable5b443620]]
};
menuText = Messages.format(ActionMessages.QuickMenuAction_menuTextWithShortcut, args);
}
MenuManager [[#variable61acc0c0]]= new MenuManager(menuText, [[#variable5b443560]]. [[#variable5a922a80]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5b443620]] | shortcut |
| 1 | 2 | [[#5b443620]] | shortcutString |
| 2 | 1 | [[#61acc0c0]] | javaSearchMM |
| 2 | 2 | [[#61acc0c0]] | subMenu |
| 3 | 1 | [[#5b443560]] | IContextMenuConstants |
| 3 | 2 | [[#5b443560]] | SurroundWithTemplateMenuAction |
| 4 | 1 | [[#5a922a80]] | GROUP_SEARCH |
| 4 | 2 | [[#5a922a80]] | SURROUND_WITH_QUICK_MENU_ACTION_ID |