CloneSet727


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14330.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114267
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
214972
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
314282
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java
Clone Instance
1
Line Count
14
Source Line
267
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java

                /*
                 * @see org.eclipse.jdt.internal.ui.dialogs.SourceActionDialog#createLinkControl(org.eclipse.swt.widgets.Composite)
                 */
                protected Control createLinkControl(Composite composite) {
                        Link link = new Link(composite, SWT.WRAP);
                        link.setText(JavaUIMessages.DelegateMethodDialog_link_message);
                        link.addSelectionListener(new SelectionAdapter() {
                                public void widgetSelected(SelectionEvent e) {
                                        openCodeTempatePage(CodeTemplateContextType.OVERRIDECOMMENT_ID);
                                }
                                                  } );
                        link.setToolTipText(JavaUIMessages.DelegateMethodDialog_link_tooltip);

                        GridData gridData = new GridData(SWT.FILL, SWT.BEGINNING, true, false);
                        gridData.widthHint = convertWidthInCharsToPixels(40); // only expand further if anyone else requires it
                        link.setLayoutData(gridData);
                        return link;
                }


Clone Instance
2
Line Count
14
Source Line
972
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java

                /*
                 * @see org.eclipse.jdt.internal.ui.dialogs.SourceActionDialog#createLinkControl(org.eclipse.swt.widgets.Composite)
                 */
                protected Control createLinkControl(Composite composite) {
                        Link link = new Link(composite, SWT.WRAP);
                        link.setText(JavaUIMessages.GetterSetterMethodDialog_link_message);
                        link.addSelectionListener(new SelectionAdapter() {
                                public void widgetSelected(SelectionEvent e) {
                                        openCodeTempatePage(CodeTemplateContextType.GETTERCOMMENT_ID);
                                }
                                                  } );
                        link.setToolTipText(JavaUIMessages.GetterSetterMethodDialog_link_tooltip);

                        GridData gridData = new GridData(SWT.FILL, SWT.BEGINNING, true, false);
                        gridData.widthHint = convertWidthInCharsToPixels(40); // only expand further if anyone else requires it
                        link.setLayoutData(gridData);
                        return link;
                }


Clone Instance
3
Line Count
14
Source Line
282
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java

                /*
                 * @see org.eclipse.jdt.internal.ui.dialogs.SourceActionDialog#createLinkControl(org.eclipse.swt.widgets.Composite)
                 */
                protected Control createLinkControl(Composite composite) {
                        Link link = new Link(composite, SWT.WRAP);
                        link.setText(JavaUIMessages.GenerateConstructorDialog_link_message);
                        link.addSelectionListener(new SelectionAdapter() {
                                public void widgetSelected(SelectionEvent e) {
                                        openCodeTempatePage(CodeTemplateContextType.CONSTRUCTORCOMMENT_ID);
                                }
                                                  } );
                        link.setToolTipText(JavaUIMessages.GenerateConstructorDialog_link_tooltip);

                        GridData gridData = new GridData(SWT.FILL, SWT.BEGINNING, true, false);
                        gridData.widthHint = convertWidthInCharsToPixels(40); // only expand further if anyone else requires it
                        link.setLayoutData(gridData);
                        return link;
                }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
                 * @see org.eclipse.jdt.internal.ui.dialogs.SourceActionDialog#createLinkControl(org.eclipse.swt.widgets.Composite)
                 */
protected Control createLinkControl(Composite composite) {
  Link link = new Link(composite, SWT.WRAP);
  link.setText(JavaUIMessages. [[#variable58679de0]]);
  link.addSelectionListener(new SelectionAdapter() {
                              public void widgetSelected(SelectionEvent e) {
                                openCodeTempatePage(CodeTemplateContextType. [[#variable58679d40]]);
                              }
                            } );
  link.setToolTipText(JavaUIMessages. [[#variable58679e00]]);
  GridData gridData = new GridData(SWT.FILL, SWT.BEGINNING, true, false);
  gridData.widthHint = convertWidthInCharsToPixels(40); // only expand further if anyone else requires it
  link.setLayoutData(gridData);
  return link;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58679de0]]
GenerateConstructorDialog_link_message 
12[[#58679de0]]
GetterSetterMethodDialog_link_message 
13[[#58679de0]]
DelegateMethodDialog_link_message 
21[[#58679d40]]
CONSTRUCTORCOMMENT_ID 
22[[#58679d40]]
GETTERCOMMENT_ID 
23[[#58679d40]]
OVERRIDECOMMENT_ID 
31[[#58679e00]]
GenerateConstructorDialog_link_tooltip 
32[[#58679e00]]
GetterSetterMethodDialog_link_tooltip 
33[[#58679e00]]
DelegateMethodDialog_link_tooltip