CloneSet2176


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

        private ExceptionInfo[] getSelectedItems() {
                ISelection selection = fTableViewer.getSelection();
                if (selection == null)
                        return new ExceptionInfo[0];

                if ( !(selection instanceof IStructuredSelection))
                        return new ExceptionInfo[0];

                List selected = ((IStructuredSelection) selection).toList();
                return (ExceptionInfo[]) selected.toArray(new ExceptionInfo[selected.size()]);
        }


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

        private ParameterInfo[] getSelectedElements() {
                ISelection selection = fTableViewer.getSelection();
                if (selection == null)
                        return new ParameterInfo[0];

                if ( !(selection instanceof IStructuredSelection))
                        return new ParameterInfo[0];

                List selected = ((IStructuredSelection) selection).toList();
                return (ParameterInfo[]) selected.toArray(new ParameterInfo[selected.size()]);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

private [[#variablec2d011e0]][]  [[#variablec2d01180]]() {
  ISelection selection = fTableViewer.getSelection();
  if (selection == null)
    return new [[#variablec2d011e0]][0];
  if ( !(selection instanceof IStructuredSelection))
    return new [[#variablec2d011e0]][0];
  List selected = ((IStructuredSelection) selection).toList();
  return ( [[#variablec2d011e0]][]) selected.toArray(new [[#variablec2d011e0]][selected.size()]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c2d011e0]]
ParameterInfo 
12[[#c2d011e0]]
ExceptionInfo 
21[[#c2d01180]]
getSelectedElements 
22[[#c2d01180]]
getSelectedItems