CloneSet2418


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.984statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19437
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
2101384
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
Clone Instance
1
Line Count
9
Source Line
437
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java

                int ops = DND.DROP_COPY|  DND.DROP_MOVE|  DND.DROP_LINK;
                // drop
                Transfer[] dropTransfers = new Transfer[] {
                         LocalSelectionTransfer.getInstance()
                                                          };
                TransferDropTargetListener[] dropListeners = new TransferDropTargetListener[] {
                         new SelectionTransferDropAdapter(fViewer)
                                                                                              };
                fViewer.addDropSupport(ops|  DND.DROP_DEFAULT, dropTransfers, new DelegatingDropAdapter(dropListeners));


Clone Instance
2
Line Count
10
Source Line
1384
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java

                int ops = DND.DROP_COPY|  DND.DROP_MOVE|  DND.DROP_LINK;
                Transfer[] transfers = new Transfer[] {
                         LocalSelectionTransfer.getInstance()
                                                      };

                // Drop Adapter
                TransferDropTargetListener[] dropListeners = new TransferDropTargetListener[] {
                         new SelectionTransferDropAdapter(fOutlineViewer)
                                                                                              };
                fOutlineViewer.addDropSupport(ops|  DND.DROP_DEFAULT, transfers, new DelegatingDropAdapter(dropListeners));


Clone AbstractionParameter Count: 2Parameter Bindings

int ops = DND.DROP_COPY|DND.DROP_MOVE|DND.DROP_LINK;
// drop
Transfer[]  [[#variable99431320]]= new Transfer[] {
                                                    LocalSelectionTransfer.getInstance()
                                                  };
// Drop Adapter
TransferDropTargetListener[] dropListeners = new TransferDropTargetListener[] {
                                                                                new SelectionTransferDropAdapter( [[#variableb8aade60]])
                                                                              };
 [[#variableb8aade60]].addDropSupport(ops|DND.DROP_DEFAULT,  [[#variable99431320]], new DelegatingDropAdapter(dropListeners));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99431320]]
dropTransfers 
12[[#99431320]]
transfers 
21[[#b8aade60]]
fViewer 
22[[#b8aade60]]
fOutlineViewer