Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.978 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 147 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java |
2 | 6 | 155 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java |
| ||||
/** * Returns true if the element is checked. */ public boolean isChecked(Object obj) { if (isOkToUse(fTableControl)) { return ((CheckboxTableViewer) fTable).getChecked(obj); } return fCheckedElements.contains(obj); } |
| ||||
public boolean isGrayed(Object obj) { if (isOkToUse(fTableControl)) { return ((CheckboxTableViewer) fTable).getGrayed(obj); } return fGrayedElements.contains(obj); } |
| |||
/** * Returns true if the element is checked. */ public boolean [[#variableb4f96b80]](Object obj) { if (isOkToUse(fTableControl)) { return ((CheckboxTableViewer) fTable). [[#variableb4f96720]](obj); } return [[#variableb4f96b20]].contains(obj); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b4f96b80]] | isChecked |
1 | 2 | [[#b4f96b80]] | isGrayed |
2 | 1 | [[#b4f96720]] | getChecked |
2 | 2 | [[#b4f96720]] | getGrayed |
3 | 1 | [[#b4f96b20]] | fCheckedElements |
3 | 2 | [[#b4f96b20]] | fGrayedElements |