CloneSet4152


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7320.982switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17117
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaDropAdapterAssistant.java
27124
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaDropAdapterAssistant.java
37131
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaDropAdapterAssistant.java
Clone Instance
1
Line Count
7
Source Line
117
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaDropAdapterAssistant.java

                                        case DND.DROP_DEFAULT:
                                                if (handleValidateDefault(target) != DND.DROP_NONE) {
                                                        result = Status.OK_STATUS;
                                                }
                                                else   {
                                                        result = Status.CANCEL_STATUS;
                                                }
                                                break;


Clone Instance
2
Line Count
7
Source Line
124
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaDropAdapterAssistant.java

                                        case DND.DROP_COPY:
                                                if (handleValidateCopy(target) != DND.DROP_NONE) {
                                                        result = Status.OK_STATUS;
                                                }
                                                else   {
                                                        result = Status.CANCEL_STATUS;
                                                }
                                                break;


Clone Instance
3
Line Count
7
Source Line
131
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaDropAdapterAssistant.java

                                        case DND.DROP_MOVE:
                                                if (handleValidateMove(target) != DND.DROP_NONE) {
                                                        result = Status.OK_STATUS;
                                                }
                                                else   {
                                                        result = Status.CANCEL_STATUS;
                                                }
                                                break;


Clone AbstractionParameter Count: 2Parameter Bindings

case DND. [[#variableb3d04840]]:
  if ( [[#variableb3d046e0]](target) != DND.DROP_NONE) {
    result = Status.OK_STATUS;
  }
  else {
    result = Status.CANCEL_STATUS;
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3d04840]]
DROP_DEFAULT 
12[[#b3d04840]]
DROP_COPY 
13[[#b3d04840]]
DROP_MOVE 
21[[#b3d046e0]]
handleValidateDefault 
22[[#b3d046e0]]
handleValidateCopy 
23[[#b3d046e0]]
handleValidateMove