Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 3 | 0.979 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 459 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java |
2 | 9 | 470 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java |
3 | 9 | 555 | 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; } |
| ||||
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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9d4840c0]] | Button |
1 | 2 | [[#9d4840c0]] | Combo |
1 | 3 | [[#9d4840c0]] | Text |
2 | 1 | [[#9d484060]] | getCheckBox |
2 | 2 | [[#9d484060]] | getComboBox |
2 | 3 | [[#9d484060]] | getTextControl |
3 | 1 | [[#556fffc0]] | fCheckBoxes |
3 | 2 | [[#556fffc0]] | fComboBoxes |
3 | 3 | [[#556fffc0]] | fTextBoxes |