CloneSet3046


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4410.990statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14173
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java
24181
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java
34611
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java
44621
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java
Clone Instance
1
Line Count
4
Source Line
173
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java

                ISourceViewer viewer = fEditor.getViewer();
                if (viewer instanceof IEditingSupportRegistry) {
                        IEditingSupportRegistry registry = (IEditingSupportRegistry) viewer;
                        registry.register(helper);
                }


Clone Instance
2
Line Count
4
Source Line
181
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java

                ISourceViewer viewer = fEditor.getViewer();
                if (viewer instanceof IEditingSupportRegistry) {
                        IEditingSupportRegistry registry = (IEditingSupportRegistry) viewer;
                        registry.unregister(helper);
                }


Clone Instance
3
Line Count
4
Source Line
611
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java

                ISourceViewer viewer = fEditor.getViewer();
                if (viewer instanceof IEditingSupportRegistry) {
                        IEditingSupportRegistry registry = (IEditingSupportRegistry) viewer;
                        registry.register(helper);
                }


Clone Instance
4
Line Count
4
Source Line
621
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java

                ISourceViewer viewer = fEditor.getViewer();
                if (viewer instanceof IEditingSupportRegistry) {
                        IEditingSupportRegistry registry = (IEditingSupportRegistry) viewer;
                        registry.unregister(helper);
                }


Clone AbstractionParameter Count: 1Parameter Bindings

ISourceViewer viewer = fEditor.getViewer();
if (viewer instanceof IEditingSupportRegistry) {
  IEditingSupportRegistry registry = (IEditingSupportRegistry) viewer;
  registry. [[#variable986c9520]](helper);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#986c9520]]
register 
12[[#986c9520]]
unregister 
13[[#986c9520]]
register 
14[[#986c9520]]
unregister