CloneSet4547


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.980class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1646
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java
2748
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileEditorActionContributor.java
Clone Instance
1
Line Count
6
Source Line
46
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java

        /*
         * @see org.eclipse.jdt.internal.ui.javaeditor.BasicEditorActionContributor#contributeToMenu(org.eclipse.jface.action.IMenuManager)
         */
        public void contributeToMenu(IMenuManager menu) {
                super.contributeToMenu(menu);

                IMenuManager editMenu = menu.findMenuUsingPath(IWorkbenchActionConstants.M_EDIT);
                if (editMenu != null) {
                        editMenu.appendToGroup(IContextMenuConstants.GROUP_ADDITIONS, fToggleInsertModeAction);
                }
        }


Clone Instance
2
Line Count
7
Source Line
48
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileEditorActionContributor.java

        /*
         * @see org.eclipse.ui.part.EditorActionBarContributor#contributeToMenu(org.eclipse.jface.action.IMenuManager)
         */
        public void contributeToMenu(IMenuManager menu) {

                super.contributeToMenu(menu);

                IMenuManager editMenu = menu.findMenuUsingPath(IWorkbenchActionConstants.M_EDIT);
                if (editMenu != null) {
                        editMenu.appendToGroup(ITextEditorActionConstants.GROUP_ASSIST, fCorrectionAssist);
                }
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @see org.eclipse.ui.part.EditorActionBarContributor#contributeToMenu(org.eclipse.jface.action.IMenuManager)
         */
/*
         * @see org.eclipse.jdt.internal.ui.javaeditor.BasicEditorActionContributor#contributeToMenu(org.eclipse.jface.action.IMenuManager)
         */
public void contributeToMenu(IMenuManager menu) {
  super.contributeToMenu(menu);
  IMenuManager editMenu = menu.findMenuUsingPath(IWorkbenchActionConstants.M_EDIT);
  if (editMenu != null) {
    editMenu.appendToGroup( [[#variable546af440]]. [[#variable546af3c0]],  [[#variable546af360]]);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#546af440]]
ITextEditorActionConstants 
12[[#546af440]]
IContextMenuConstants 
21[[#546af3c0]]
GROUP_ASSIST 
22[[#546af3c0]]
GROUP_ADDITIONS 
31[[#546af360]]
fCorrectionAssist 
32[[#546af360]]
fToggleInsertModeAction