CloneSet1092


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16230.980switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116872
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
2161040
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
Clone Instance
1
Line Count
16
Source Line
872
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java

                        case IRuntimeClasspathEntry.VARIABLE:
                                IRuntimeClasspathEntryResolver resolver = getVariableResolver(entry.getVariableName());
                                if (resolver == null) {
                                        IRuntimeClasspathEntry[] resolved = resolveVariableEntry(entry, null, configuration);
                                        if (resolved != null) {
                                                return resolved;
                                        }
                                        break;
                                }
                                return resolver.resolveRuntimeClasspathEntry(entry, configuration);
                        case IRuntimeClasspathEntry.CONTAINER:
                                resolver = getContainerResolver(entry.getVariableName());
                                if (resolver == null) {
                                        return computeDefaultContainerEntries(entry, configuration);
                                }
                                return resolver.resolveRuntimeClasspathEntry(entry, configuration);


Clone Instance
2
Line Count
16
Source Line
1040
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java

                        case IRuntimeClasspathEntry.VARIABLE:
                                IRuntimeClasspathEntryResolver resolver = getVariableResolver(entry.getVariableName());
                                if (resolver == null) {
                                        IRuntimeClasspathEntry[] resolved = resolveVariableEntry(entry, project, null);
                                        if (resolved != null) {
                                                return resolved;
                                        }
                                        break;
                                }
                                return resolver.resolveRuntimeClasspathEntry(entry, project);
                        case IRuntimeClasspathEntry.CONTAINER:
                                resolver = getContainerResolver(entry.getVariableName());
                                if (resolver == null) {
                                        return computeDefaultContainerEntries(entry, project);
                                }
                                return resolver.resolveRuntimeClasspathEntry(entry, project);


Clone AbstractionParameter Count: 3Parameter Bindings

case IRuntimeClasspathEntry.VARIABLE:
  IRuntimeClasspathEntryResolver resolver = getVariableResolver(entry.getVariableName());
  if (resolver == null) {
    IRuntimeClasspathEntry[] resolved = resolveVariableEntry(entry,  [[#variableba7e57c0]],  [[#variableba7e5780]]);
    if (resolved != null) {
      return resolved;
    }
    break;
  }
  return resolver.resolveRuntimeClasspathEntry(entry,  [[#variable53058020]]);
case IRuntimeClasspathEntry.CONTAINER:
  resolver = getContainerResolver(entry.getVariableName());
  if (resolver == null) {
    return computeDefaultContainerEntries(entry,  [[#variable53058020]]);
  }
  return resolver.resolveRuntimeClasspathEntry(entry,  [[#variable53058020]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba7e57c0]]
null 
12[[#ba7e57c0]]
project 
21[[#ba7e5780]]
configuration 
22[[#ba7e5780]]
null 
31[[#53058020]]
configuration 
32[[#53058020]]
project