Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 1 | 0.962 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 114 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/QuickMenuAction.java |
2 | 5 | 64 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithActionGroup.java |
3 | 5 | 149 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.java |
| ||||
/** * Returns the shortcut assigned to the sub menu or <code>null</code> if * no short cut is assigned. * * @return the shortcut as a human readable string or <code>null</code> */ private String getShortcutString() { IBindingService bindingService = (IBindingService) PlatformUI.getWorkbench().getAdapter(IBindingService.class ); if (bindingService == null) return null; return bindingService.getBestActiveBindingFormattedFor(getActionDefinitionId()); } |
| ||||
private String getShortcutString() { IBindingService bindingService = (IBindingService) PlatformUI.getWorkbench().getAdapter(IBindingService.class ); if (bindingService == null) return null; return bindingService.getBestActiveBindingFormattedFor(SurroundWithTemplateMenuAction.SURROUND_WITH_QUICK_MENU_ACTION_ID); } |
| ||||
private String getShortcutString() { IBindingService bindingService = (IBindingService) PlatformUI.getWorkbench().getAdapter(IBindingService.class ); if (bindingService == null) return null; return bindingService.getBestActiveBindingFormattedFor(IJavaEditorActionDefinitionIds.SEARCH_OCCURRENCES_IN_FILE_QUICK_MENU); } |
| |||
/** * Returns the shortcut assigned to the sub menu or <code>null</code> if * no short cut is assigned. * * @return the shortcut as a human readable string or <code>null</code> */ private String getShortcutString() { IBindingService bindingService = (IBindingService) PlatformUI.getWorkbench().getAdapter(IBindingService.class ); if (bindingService == null) return null; return bindingService.getBestActiveBindingFormattedFor( [[#variable600cc200]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#600cc200]] | IJavaEditorActionDefinitionIds.SEARCH_OCCURRENCES_IN_FILE_QUICK_MENU |
1 | 2 | [[#600cc200]] | SurroundWithTemplateMenuAction.SURROUND_WITH_QUICK_MENU_ACTION_ID |
1 | 3 | [[#600cc200]] | getActionDefinitionId() |