CloneSet993


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

                Composite entryComposite = createInsertPositionCombo(composite);
                entryComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

                Composite commentComposite = createCommentSelection(composite);
                commentComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

                Composite overrideSuperComposite = createOmitSuper(composite);
                overrideSuperComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

                Control linkControl = createLinkControl(composite);
                if (linkControl != null)
                        linkControl.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

                gd = new GridData(GridData.FILL_BOTH);
                composite.setLayoutData(gd);

                applyDialogFont(composite);

                return composite;


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

                        Composite entryComposite = createInsertPositionCombo(composite);
                        entryComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

                        Composite commentComposite = createCommentSelection(composite);
                        commentComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

                        Composite overrideSuperComposite = createOmitSuper(composite);
                        overrideSuperComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

                        Control linkControl = createLinkControl(composite);
                        if (linkControl != null)
                                linkControl.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

                        gd = new GridData(GridData.FILL_BOTH);
                        composite.setLayoutData(gd);

                        applyDialogFont(composite);

                        return composite;


Clone AbstractionParameter Count: 0Parameter Bindings

Composite entryComposite = createInsertPositionCombo(composite);
entryComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
Composite commentComposite = createCommentSelection(composite);
commentComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
Composite overrideSuperComposite = createOmitSuper(composite);
overrideSuperComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
Control linkControl = createLinkControl(composite);
if (linkControl != null)
  linkControl.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
gd = new GridData(GridData.FILL_BOTH);
composite.setLayoutData(gd);
applyDialogFont(composite);
return composite;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None