CloneSet1413


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9330.979class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19459
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java
29470
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java
39555
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java
Clone Instance
1
Line Count
9
Source Line
459
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java

        protected Button getCheckBox(Key key) {
                for (int i = fCheckBoxes.size() - 1; i >= 0; i--) {
                        Button curr = fCheckBoxes.get(i);
                        ControlData data = (ControlData) curr.getData();
                        if (key.equals(data.getKey())) {
                                return curr;
                        }
                }
                return null;
        }


Clone Instance
2
Line Count
9
Source Line
470
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java

        protected Combo getComboBox(Key key) {
                for (int i = fComboBoxes.size() - 1; i >= 0; i--) {
                        Combo curr = fComboBoxes.get(i);
                        ControlData data = (ControlData) curr.getData();
                        if (key.equals(data.getKey())) {
                                return curr;
                        }
                }
                return null;
        }


Clone Instance
3
Line Count
9
Source Line
555
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java

        protected Text getTextControl(Key key) {
                for (int i = fTextBoxes.size() - 1; i >= 0; i--) {
                        Text curr = fTextBoxes.get(i);
                        ControlData data = (ControlData) curr.getData();
                        if (key.equals(data.getKey())) {
                                return curr;
                        }
                }
                return null;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

protected [[#variable9d4840c0]]  [[#variable9d484060]](Key key) {
  for (int i = [[#variable556fffc0]].size() - 1; i >= 0; i--) {
     [[#variable9d4840c0]] curr = [[#variable556fffc0]].get(i);
    ControlData data = (ControlData) curr.getData();
    if (key.equals(data.getKey())) {
      return curr;
    }
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d4840c0]]
Button 
12[[#9d4840c0]]
Combo 
13[[#9d4840c0]]
Text 
21[[#9d484060]]
getCheckBox 
22[[#9d484060]]
getComboBox 
23[[#9d484060]]
getTextControl 
31[[#556fffc0]]
fCheckBoxes 
32[[#556fffc0]]
fComboBoxes 
33[[#556fffc0]]
fTextBoxes