CloneSet2775


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11220.968class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111336
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java
211349
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java
Clone Instance
1
Line Count
11
Source Line
336
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java

        private void editColumnOrNextPossible(int column) {
                ParameterInfo[] selected = getSelectedElements();
                if (selected.length != 1)
                        return;
                int nextColumn = column;
                do {
                        fTableViewer.editElement(selected[0], nextColumn);
                        if (fTableViewer.isCellEditorActive())
                                return;
                        nextColumn = nextColumn(nextColumn);
                }
                while (  nextColumn != column);
        }


Clone Instance
2
Line Count
11
Source Line
349
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java

        private void editColumnOrPrevPossible(int column) {
                ParameterInfo[] selected = getSelectedElements();
                if (selected.length != 1)
                        return;
                int prevColumn = column;
                do {
                        fTableViewer.editElement(selected[0], prevColumn);
                        if (fTableViewer.isCellEditorActive())
                            return;
                        prevColumn = prevColumn(prevColumn);
                }
                while (  prevColumn != column);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

private void [[#variableb66cd040]](int column) {
  ParameterInfo[] selected = getSelectedElements();
  if (selected.length != 1)
    return;
  int  [[#variableb66ccfa0]]= column;
  do {
    fTableViewer.editElement(selected[0],  [[#variableb66ccfa0]]);
    if (fTableViewer.isCellEditorActive())
      return;
     [[#variableb66ccfa0]]= [[#variableb66ccfa0]]( [[#variableb66ccfa0]]);
  }
  while ( [[#variableb66ccfa0]]!= column);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b66cd040]]
editColumnOrNextPossible 
12[[#b66cd040]]
editColumnOrPrevPossible 
21[[#b66ccfa0]]
nextColumn 
22[[#b66ccfa0]]
prevColumn