CloneSet2471


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.992statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18685
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
27716
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
Clone Instance
1
Line Count
8
Source Line
685
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java

                        IResource[] clipboardResources = getClipboardResources(availableTypes);
                        if (clipboardResources == null)
                                clipboardResources = new IResource[0];
                        IJavaElement[] clipboardJavaElements = getClipboardJavaElements(availableTypes);
                        if (clipboardJavaElements == null)
                                clipboardJavaElements = new IJavaElement[0];

                        Object destination = getTarget(javaElements, resources);


Clone Instance
2
Line Count
7
Source Line
716
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java

                        IResource[] clipboardResources = getClipboardResources(fAvailableTypes);
                        if (clipboardResources == null)
                                clipboardResources = new IResource[0];
                        IJavaElement[] clipboardJavaElements = getClipboardJavaElements(fAvailableTypes);
                        if (clipboardJavaElements == null)
                                clipboardJavaElements = new IJavaElement[0];
                        Object destination = getTarget(javaElements, resources);


Clone AbstractionParameter Count: 1Parameter Bindings

IResource[] clipboardResources = getClipboardResources( [[#variable9b1aaa60]]);
if (clipboardResources == null)
  clipboardResources = new IResource[0];
IJavaElement[] clipboardJavaElements = getClipboardJavaElements( [[#variable9b1aaa60]]);
if (clipboardJavaElements == null)
  clipboardJavaElements = new IJavaElement[0];
Object destination = getTarget(javaElements, resources);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b1aaa60]]
fAvailableTypes 
12[[#9b1aaa60]]
availableTypes