CloneSet2733


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10350.953statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110224
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddProjectAction.java
210221
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/DefaultProjectClasspathEntry.java
3101094
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
Clone Instance
1
Line Count
10
Source Line
224
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddProjectAction.java

                                                switch (container.getKind()) {
                                                        case IClasspathContainer.K_APPLICATION:
                                                                kind = IRuntimeClasspathEntry.USER_CLASSES;
                                                                break;
                                                        case IClasspathContainer.K_SYSTEM:
                                                                kind = IRuntimeClasspathEntry.BOOTSTRAP_CLASSES;
                                                                break;
                                                        case IClasspathContainer.K_DEFAULT_SYSTEM:
                                                                kind = IRuntimeClasspathEntry.STANDARD_CLASSES;
                                                                break;
                                                      }


Clone Instance
2
Line Count
10
Source Line
221
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/DefaultProjectClasspathEntry.java

                                                        switch (container.getKind()) {
                                                                case IClasspathContainer.K_APPLICATION:
                                                                        property = IRuntimeClasspathEntry.USER_CLASSES;
                                                                        break;
                                                                case IClasspathContainer.K_DEFAULT_SYSTEM:
                                                                        property = IRuntimeClasspathEntry.STANDARD_CLASSES;
                                                                        break;
                                                                case IClasspathContainer.K_SYSTEM:
                                                                        property = IRuntimeClasspathEntry.BOOTSTRAP_CLASSES;
                                                                        break;
                                                              }


Clone Instance
3
Line Count
10
Source Line
1094
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java

                switch (container.getKind()) {
                        case IClasspathContainer.K_APPLICATION:
                                property = IRuntimeClasspathEntry.USER_CLASSES;
                                break;
                        case IClasspathContainer.K_DEFAULT_SYSTEM:
                                property = IRuntimeClasspathEntry.STANDARD_CLASSES;
                                break;
                        case IClasspathContainer.K_SYSTEM:
                                property = IRuntimeClasspathEntry.BOOTSTRAP_CLASSES;
                                break;
                      }


Clone AbstractionParameter Count: 5Parameter Bindings

switch (container.getKind()) {
  case IClasspathContainer.K_APPLICATION:
     [[#variable94590560]]= IRuntimeClasspathEntry.USER_CLASSES;
    break;
  case IClasspathContainer. [[#variable945904a0]]:
     [[#variable94590560]]= IRuntimeClasspathEntry. [[#variable94590440]];
    break;
  case IClasspathContainer. [[#variable945903e0]]:
     [[#variable94590560]]= IRuntimeClasspathEntry. [[#variable94590380]];
    break;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94590560]]
property 
12[[#94590560]]
kind 
13[[#94590560]]
property 
21[[#945904a0]]
K_DEFAULT_SYSTEM 
22[[#945904a0]]
K_SYSTEM 
23[[#945904a0]]
K_DEFAULT_SYSTEM 
31[[#94590440]]
STANDARD_CLASSES 
32[[#94590440]]
BOOTSTRAP_CLASSES 
33[[#94590440]]
STANDARD_CLASSES 
41[[#945903e0]]
K_SYSTEM 
42[[#945903e0]]
K_DEFAULT_SYSTEM 
43[[#945903e0]]
K_SYSTEM 
51[[#94590380]]
BOOTSTRAP_CLASSES 
52[[#94590380]]
STANDARD_CLASSES 
53[[#94590380]]
BOOTSTRAP_CLASSES