CloneSet2835


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.973statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1752
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithActionGroup.java
27131
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.java
Clone Instance
1
Line Count
7
Source Line
52
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithActionGroup.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);


Clone Instance
2
Line Count
7
Source Line
131
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.java

                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);


Clone AbstractionParameter Count: 4Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b443620]]
shortcut 
12[[#5b443620]]
shortcutString 
21[[#61acc0c0]]
javaSearchMM 
22[[#61acc0c0]]
subMenu 
31[[#5b443560]]
IContextMenuConstants 
32[[#5b443560]]
SurroundWithTemplateMenuAction 
41[[#5a922a80]]
GROUP_SEARCH 
42[[#5a922a80]]
SURROUND_WITH_QUICK_MENU_ACTION_ID