CloneSet1225


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6540.960block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16228
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
26236
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
36244
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
46252
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
56665
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
Clone Instance
1
Line Count
6
Source Line
228
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java

                                                                                                     {
                        Transfer transfer = ResourceTransfer.getInstance();
                        if (isAvailable(transfer, availableDataTypes)) {
                                return (IResource[]) getContents(fClipboard2, transfer, getShell());
                        }
                        return null;
                                                                                                     }


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

                                                                                                           {
                        Transfer transfer = JavaElementTransfer.getInstance();
                        if (isAvailable(transfer, availableDataTypes)) {
                                return (IJavaElement[]) getContents(fClipboard2, transfer, getShell());
                        }
                        return null;
                                                                                                           }


Clone Instance
3
Line Count
6
Source Line
244
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java

                                                                                                          {
                        Transfer transfer = TypedSourceTransfer.getInstance();
                        if (isAvailable(transfer, availableDataTypes)) {
                                return (TypedSource[]) getContents(fClipboard2, transfer, getShell());
                        }
                        return null;
                                                                                                          }


Clone Instance
4
Line Count
6
Source Line
252
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java

                                                                                           {
                        Transfer transfer = TextTransfer.getInstance();
                        if (isAvailable(transfer, availableDataTypes)) {
                                return (String) getContents(fClipboard2, transfer, getShell());
                        }
                        return null;
                                                                                           }


Clone Instance
5
Line Count
6
Source Line
665
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java

                                                                                      {
                        Transfer transfer = FileTransfer.getInstance();
                        if (isAvailable(transfer, availableDataTypes)) {
                                return (String[]) getContents(getClipboard(), transfer, getShell());
                        }
                        return null;
                                                                                      }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  Transfer transfer = [[#variable58c67420]].getInstance();
  if (isAvailable(transfer, availableDataTypes)) {
    return ( [[#variable58c673a0]] [[#variableb24780c0]]) getContents( [[#variable58c673e0]], transfer, getShell());
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58c67420]]
FileTransfer 
12[[#58c67420]]
TextTransfer 
13[[#58c67420]]
TypedSourceTransfer 
14[[#58c67420]]
JavaElementTransfer 
15[[#58c67420]]
ResourceTransfer 
21[[#58c673a0]]
String 
22[[#58c673a0]]
String 
23[[#58c673a0]]
TypedSource 
24[[#58c673a0]]
IJavaElement 
25[[#58c673a0]]
IResource 
31[[#b24780c0]]
[] 
32[[#b24780c0]]
33[[#b24780c0]]
[] 
34[[#b24780c0]]
[] 
35[[#b24780c0]]
[] 
41[[#58c673e0]]
getClipboard() 
42[[#58c673e0]]
fClipboard2 
43[[#58c673e0]]
fClipboard2 
44[[#58c673e0]]
fClipboard2 
45[[#58c673e0]]
fClipboard2