CloneSet6128


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4310.962block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14602
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
24812
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
34104
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java
Clone Instance
1
Line Count
4
Source Line
602
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java

                                                                                                   {
                        if (destination instanceof ICompilationUnit)
                                return (ICompilationUnit) destination;
                        return (ICompilationUnit) destination.getAncestor(IJavaElement.COMPILATION_UNIT);
                                                                                                   }


Clone Instance
2
Line Count
4
Source Line
812
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java

                                                                                         {
                        if (destination instanceof ICompilationUnit)
                                return (ICompilationUnit) destination;
                        return (ICompilationUnit) destination.getAncestor(IJavaElement.COMPILATION_UNIT);
                                                                                         }


Clone Instance
3
Line Count
4
Source Line
104
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java

                                                                                   {
                if (javaElement instanceof ICompilationUnit)
                        return (ICompilationUnit) javaElement;
                return (ICompilationUnit) javaElement.getAncestor(IJavaElement.COMPILATION_UNIT);
                                                                                   }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  if ( [[#variable5c362c00]]instanceof ICompilationUnit)
    return (ICompilationUnit)  [[#variable5c362c00]];
  return (ICompilationUnit)  [[#variable5c362c00]].getAncestor(IJavaElement.COMPILATION_UNIT);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5c362c00]]
destination 
12[[#5c362c00]]
javaElement 
13[[#5c362c00]]
destination