CloneSet9059


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.962executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12103
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java
22218
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java
Clone Instance
1
Line Count
2
Source Line
103
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java

                               if (element instanceof IAdaptable) {
                                resource = (IResource) ((IAdaptable) element).getAdapter(IResource.class );
                               }


Clone Instance
2
Line Count
2
Source Line
218
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java

                               if (o instanceof IAdaptable) {
                                r = (IResource) ((IAdaptable) o).getAdapter(IResource.class );
                               }


Clone AbstractionParameter Count: 2Parameter Bindings

if ( [[#variable94230300]]instanceof IAdaptable) {
   [[#variable94230280]]= (IResource) ((IAdaptable)  [[#variable94230300]]).getAdapter(IResource.class );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94230300]]
element 
12[[#94230300]]
o 
21[[#94230280]]
resource 
22[[#94230280]]
r