Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.962 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 64 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java |
2 | 7 | 62 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java |
| ||||
/** * Creates a new ResourceTransferDragAdapter for the given selection * provider. * * @param provider the selection provider to access the viewer's selection */ public ResourceTransferDragAdapter(ISelectionProvider provider) { fProvider = provider; Assert.isNotNull(fProvider); } public Transfer getTransfer() { return ResourceTransfer.getInstance(); } |
| ||||
FileTransferDragAdapter(ISelectionProvider provider) { fProvider = provider; Assert.isNotNull(fProvider); } public Transfer getTransfer() { return FileTransfer.getInstance(); } |
| |||
[[#variable4e6d34a0]] [[#variable4e6d3460]](ISelectionProvider provider) { fProvider = provider; Assert.isNotNull(fProvider); } public Transfer getTransfer() { return [[#variable4e6d34c0]].getInstance(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4e6d34a0]] | /** * Creates a new ResourceTransferDragAdapter for the given selection * provider. * * @param provider the selection provider to access the viewer's selection */ public |
1 | 2 | [[#4e6d34a0]] | |
2 | 1 | [[#4e6d3460]] | ResourceTransferDragAdapter |
2 | 2 | [[#4e6d3460]] | FileTransferDragAdapter |
3 | 1 | [[#4e6d34c0]] | ResourceTransfer |
3 | 2 | [[#4e6d34c0]] | FileTransfer |