CloneSet7894


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.962class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1764
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java
2762
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java
Clone Instance
1
Line Count
7
Source Line
64
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.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();
        }


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

        FileTransferDragAdapter(ISelectionProvider provider) {
                fProvider = provider;
                Assert.isNotNull(fProvider);
        }

        public Transfer getTransfer() {
                return FileTransfer.getInstance();
        }


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable4e6d34a0]] [[#variable4e6d3460]](ISelectionProvider provider) {
  fProvider = provider;
  Assert.isNotNull(fProvider);
}

public Transfer getTransfer() {
  return [[#variable4e6d34c0]].getInstance();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4e6d34a0]]
/**
 * Creates a new ResourceTransferDragAdapter for the given selection
 * provider.
 * 
 * @param provider the selection provider to access the viewer's selection
 */
public 
12[[#4e6d34a0]]
21[[#4e6d3460]]
ResourceTransferDragAdapter 
22[[#4e6d3460]]
FileTransferDragAdapter 
31[[#4e6d34c0]]
ResourceTransfer 
32[[#4e6d34c0]]
FileTransfer