CloneSet3976


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7250.959statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17576
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/JREsComboBlock.java
27584
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/JREsComboBlock.java
Clone Instance
1
Line Count
7
Source Line
576
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/JREsComboBlock.java

                if (fEnvironmentsButton.getSelection()) {
                        int index = fEnvironmentsCombo.getSelectionIndex();
                        if (index >= 0) {
                                IExecutionEnvironment env = (IExecutionEnvironment) fEnvironments.get(index);
                                return JavaRuntime.newJREContainerPath(env);
                        }
                        return null;
                }


Clone Instance
2
Line Count
7
Source Line
584
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/JREsComboBlock.java

                if (fSpecificButton.getSelection()) {
                        int index = fCombo.getSelectionIndex();
                        if (index >= 0) {
                                IVMInstall vm = (IVMInstall) fVMs.get(index);
                                return JavaRuntime.newJREContainerPath(vm);
                        }
                        return null;
                }


Clone AbstractionParameter Count: 5Parameter Bindings

if ( [[#variable53adf620]].getSelection()) {
  int index = [[#variable53adf500]].getSelectionIndex();
  if (index >= 0) {
     [[#variable53adf560]]  [[#variable53adefc0]]= ( [[#variable53adf560]])  [[#variable53adf5c0]].get(index);
    return JavaRuntime.newJREContainerPath( [[#variable53adefc0]]);
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53adf620]]
fSpecificButton 
12[[#53adf620]]
fEnvironmentsButton 
21[[#53adf500]]
fCombo 
22[[#53adf500]]
fEnvironmentsCombo 
31[[#53adf560]]
IVMInstall 
32[[#53adf560]]
IExecutionEnvironment 
41[[#53adefc0]]
vm 
42[[#53adefc0]]
env 
51[[#53adf5c0]]
fVMs 
52[[#53adf5c0]]
fEnvironments