CloneSet491


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20260.981statement_sequence[15]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120523
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java
220323
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java
Clone Instance
1
Line Count
20
Source Line
523
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java

                final TableLayoutComposite layouter = new TableLayoutComposite(parent, SWT.NONE);
                layouter.addColumnData(new ColumnWeightData(60, true));
                layouter.addColumnData(new ColumnWeightData(40, true));

                final Table table = new Table(layouter, SWT.H_SCROLL|  SWT.V_SCROLL|  SWT.MULTI|  SWT.BORDER|  SWT.FULL_SELECTION|  SWT.CHECK);
                table.setHeaderVisible(true);
                table.setLinesVisible(true);

                final GridData gd = new GridData(GridData.FILL_BOTH);
                gd.heightHint = SWTUtil.getTableHeightHint(table, getTableRowCount());
                gd.widthHint = convertWidthInCharsToPixels(30);
                layouter.setLayoutData(gd);

                final TableLayout tableLayout = new TableLayout();
                table.setLayout(tableLayout);

                final TableColumn column0 = new TableColumn(table, SWT.NONE);
                column0.setText(RefactoringMessages.PullUpInputPage1_Member);

                final TableColumn column1 = new TableColumn(table, SWT.NONE);


Clone Instance
2
Line Count
20
Source Line
323
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java

                        final TableLayoutComposite layouter = new TableLayoutComposite(parent, SWT.NONE);
                        layouter.addColumnData(new ColumnWeightData(60, true));
                        layouter.addColumnData(new ColumnWeightData(40, true));

                        final Table table = new Table(layouter, SWT.H_SCROLL|  SWT.V_SCROLL|  SWT.MULTI|  SWT.BORDER|  SWT.FULL_SELECTION|  SWT.CHECK);
                        table.setHeaderVisible(true);
                        table.setLinesVisible(true);

                        final GridData data = new GridData(GridData.FILL_BOTH);
                        data.heightHint = SWTUtil.getTableHeightHint(table, ROW_COUNT);
                        data.widthHint = convertWidthInCharsToPixels(30);
                        layouter.setLayoutData(data);

                        final TableLayout layout = new TableLayout();
                        table.setLayout(layout);

                        final TableColumn first = new TableColumn(table, SWT.NONE);
                        first.setText(RefactoringMessages.PushDownInputPage_Member);

                        final TableColumn second = new TableColumn(table, SWT.NONE);


Clone AbstractionParameter Count: 6Parameter Bindings

final TableLayoutComposite layouter = new TableLayoutComposite(parent, SWT.NONE);
layouter.addColumnData(new ColumnWeightData(60, true));
layouter.addColumnData(new ColumnWeightData(40, true));
final Table table = new Table(layouter, SWT.H_SCROLL|SWT.V_SCROLL|SWT.MULTI|SWT.BORDER|SWT.FULL_SELECTION|SWT.CHECK);
table.setHeaderVisible(true);
table.setLinesVisible(true);
final GridData  [[#variable753ae0c0]]= new GridData(GridData.FILL_BOTH);
 [[#variable753ae0c0]].heightHint = SWTUtil.getTableHeightHint(table,  [[#variable5e4effa0]]);
 [[#variable753ae0c0]].widthHint = convertWidthInCharsToPixels(30);
layouter.setLayoutData( [[#variable753ae0c0]]);
final TableLayout  [[#variable5e4efec0]]= new TableLayout();
table.setLayout( [[#variable5e4efec0]]);
final TableColumn  [[#variable5e4eff20]]= new TableColumn(table, SWT.NONE);
 [[#variable5e4eff20]].setText(RefactoringMessages. [[#variable5f5c92e0]]);
final TableColumn  [[#variable5e4efb20]]= new TableColumn(table, SWT.NONE);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#753ae0c0]]
gd 
12[[#753ae0c0]]
data 
21[[#5e4effa0]]
getTableRowCount() 
22[[#5e4effa0]]
ROW_COUNT 
31[[#5e4efec0]]
tableLayout 
32[[#5e4efec0]]
layout 
41[[#5e4eff20]]
column0 
42[[#5e4eff20]]
first 
51[[#5f5c92e0]]
PullUpInputPage1_Member 
52[[#5f5c92e0]]
PushDownInputPage_Member 
61[[#5e4efb20]]
column1 
62[[#5e4efb20]]
second