Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 5 | 4 | 0.960 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 228 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java |
2 | 6 | 236 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java |
3 | 6 | 244 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java |
4 | 6 | 252 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java |
5 | 6 | 665 | 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; } |
| ||||
{ Transfer transfer = JavaElementTransfer.getInstance(); if (isAvailable(transfer, availableDataTypes)) { return (IJavaElement[]) getContents(fClipboard2, transfer, getShell()); } return null; } |
| ||||
{ Transfer transfer = TypedSourceTransfer.getInstance(); if (isAvailable(transfer, availableDataTypes)) { return (TypedSource[]) getContents(fClipboard2, transfer, getShell()); } return null; } |
| ||||
{ Transfer transfer = TextTransfer.getInstance(); if (isAvailable(transfer, availableDataTypes)) { return (String) getContents(fClipboard2, transfer, getShell()); } return null; } |
| ||||
{ Transfer transfer = FileTransfer.getInstance(); if (isAvailable(transfer, availableDataTypes)) { return (String[]) getContents(getClipboard(), transfer, getShell()); } return null; } |
| |||
{ Transfer transfer = [[#variable58c67420]].getInstance(); if (isAvailable(transfer, availableDataTypes)) { return ( [[#variable58c673a0]] [[#variableb24780c0]]) getContents( [[#variable58c673e0]], transfer, getShell()); } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58c67420]] | FileTransfer |
1 | 2 | [[#58c67420]] | TextTransfer |
1 | 3 | [[#58c67420]] | TypedSourceTransfer |
1 | 4 | [[#58c67420]] | JavaElementTransfer |
1 | 5 | [[#58c67420]] | ResourceTransfer |
2 | 1 | [[#58c673a0]] | String |
2 | 2 | [[#58c673a0]] | String |
2 | 3 | [[#58c673a0]] | TypedSource |
2 | 4 | [[#58c673a0]] | IJavaElement |
2 | 5 | [[#58c673a0]] | IResource |
3 | 1 | [[#b24780c0]] | [] |
3 | 2 | [[#b24780c0]] | |
3 | 3 | [[#b24780c0]] | [] |
3 | 4 | [[#b24780c0]] | [] |
3 | 5 | [[#b24780c0]] | [] |
4 | 1 | [[#58c673e0]] | getClipboard() |
4 | 2 | [[#58c673e0]] | fClipboard2 |
4 | 3 | [[#58c673e0]] | fClipboard2 |
4 | 4 | [[#58c673e0]] | fClipboard2 |
4 | 5 | [[#58c673e0]] | fClipboard2 |