CloneSet5506


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.954executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1464
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DestinationContentProvider.java
2468
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DestinationContentProvider.java
Clone Instance
1
Line Count
4
Source Line
64
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DestinationContentProvider.java

                                                                                 {
                                                IJavaElement javaElement = (IJavaElement) children[i];
                                                if (fValidator.canElementBeDestination(javaElement) || fValidator.canChildrenBeDestinations(javaElement))
                                                        result.add(javaElement);
                                                                                 }


Clone Instance
2
Line Count
4
Source Line
68
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DestinationContentProvider.java

                                                                                     {
                                                IResource resource = (IResource) children[i];
                                                if (fValidator.canElementBeDestination(resource) || fValidator.canChildrenBeDestinations(resource))
                                                        result.add(resource);
                                                                                     }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   [[#variable9bda8540]]  [[#variable9bda8480]]= ( [[#variable9bda8540]]) children[i];
  if (fValidator.canElementBeDestination( [[#variable9bda8480]]) || fValidator.canChildrenBeDestinations( [[#variable9bda8480]]))
    result.add( [[#variable9bda8480]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9bda8540]]
IJavaElement 
12[[#9bda8540]]
IResource 
21[[#9bda8480]]
javaElement 
22[[#9bda8480]]
resource