CloneSet3588


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.989statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112281
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsSelectionDialog.java
212310
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java
Clone Instance
1
Line Count
12
Source Line
281
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsSelectionDialog.java

                fOmitSuperButton.addSelectionListener(new SelectionListener() {

                        public void widgetDefaultSelected(SelectionEvent e) {
                                widgetSelected(e);
                        }

                        public void widgetSelected(SelectionEvent e) {
                                boolean isSelected = (((Button) e.widget).getSelection());
                                setOmitSuper(isSelected);
                        }
                                                      } );
                fOmitSuperButton.setSelection(isOmitSuper());


Clone Instance
2
Line Count
12
Source Line
310
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java

                        omitSuperButton.addSelectionListener(new SelectionListener() {

                                public void widgetDefaultSelected(SelectionEvent e) {
                                        widgetSelected(e);
                                }

                                public void widgetSelected(SelectionEvent e) {
                                        boolean isSelected = (((Button) e.widget).getSelection());
                                        setOmitSuper(isSelected);
                                }
                                                             } );
                        omitSuperButton.setSelection(isOmitSuper());


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variable9941a880]].addSelectionListener(new SelectionListener() {
                                              public void widgetDefaultSelected(SelectionEvent e) {
                                                widgetSelected(e);
                                              }

                                              public void widgetSelected(SelectionEvent e) {
                                                boolean isSelected = (((Button) e.widget).getSelection());
                                                setOmitSuper(isSelected);
                                              }
                                            } );
 [[#variable9941a880]].setSelection(isOmitSuper());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9941a880]]
fOmitSuperButton 
12[[#9941a880]]
omitSuperButton