Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 6 | 3 | 0.960 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 503 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java |
2 | 9 | 514 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java |
3 | 9 | 261 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java |
4 | 9 | 272 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java |
5 | 9 | 489 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java |
6 | 9 | 500 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java |
| ||||
protected ExpandableComposite getParentExpandableComposite(Control control) { Control parent = control.getParent(); while ( !(parent instanceof ExpandableComposite) && parent != null) { parent = parent.getParent(); } if (parent instanceof ExpandableComposite) { return (ExpandableComposite) parent; } return null; } |
| ||||
protected ScrolledPageContent getParentScrolledComposite(Control control) { Control parent = control.getParent(); while ( !(parent instanceof ScrolledPageContent) && parent != null) { parent = parent.getParent(); } if (parent instanceof ScrolledPageContent) { return (ScrolledPageContent) parent; } return null; } |
| ||||
protected final ScrolledPageContent getParentScrolledComposite(Control control) { Control parent = control.getParent(); while ( !(parent instanceof ScrolledPageContent) && parent != null) { parent = parent.getParent(); } if (parent instanceof ScrolledPageContent) { return (ScrolledPageContent) parent; } return null; } |
| ||||
private final ExpandableComposite getParentExpandableComposite(Control control) { Control parent = control.getParent(); while ( !(parent instanceof ExpandableComposite) && parent != null) { parent = parent.getParent(); } if (parent instanceof ExpandableComposite) { return (ExpandableComposite) parent; } return null; } |
| ||||
protected ScrolledPageContent getParentScrolledComposite(Control control) { Control parent = control.getParent(); while ( !(parent instanceof ScrolledPageContent) && parent != null) { parent = parent.getParent(); } if (parent instanceof ScrolledPageContent) { return (ScrolledPageContent) parent; } return null; } |
| ||||
protected ExpandableComposite getParentExpandableComposite(Control control) { Control parent = control.getParent(); while ( !(parent instanceof ExpandableComposite) && parent != null) { parent = parent.getParent(); } if (parent instanceof ExpandableComposite) { return (ExpandableComposite) parent; } return null; } |
| |||
[[#variable961f8160]] [[#variable961f80e0]] [[#variable961f8060]](Control control) { Control parent = control.getParent(); while ( !(parent instanceof [[#variable961f80e0]]) && parent != null) { parent = parent.getParent(); } if (parent instanceof [[#variable961f80e0]]) { return ( [[#variable961f80e0]]) parent; } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#961f8160]] | protected |
1 | 2 | [[#961f8160]] | protected |
1 | 3 | [[#961f8160]] | protected final |
1 | 4 | [[#961f8160]] | private final |
1 | 5 | [[#961f8160]] | protected |
1 | 6 | [[#961f8160]] | protected |
2 | 1 | [[#961f80e0]] | ScrolledPageContent |
2 | 2 | [[#961f80e0]] | ExpandableComposite |
2 | 3 | [[#961f80e0]] | ScrolledPageContent |
2 | 4 | [[#961f80e0]] | ExpandableComposite |
2 | 5 | [[#961f80e0]] | ExpandableComposite |
2 | 6 | [[#961f80e0]] | ScrolledPageContent |
3 | 1 | [[#961f8060]] | getParentScrolledComposite |
3 | 2 | [[#961f8060]] | getParentExpandableComposite |
3 | 3 | [[#961f8060]] | getParentScrolledComposite |
3 | 4 | [[#961f8060]] | getParentExpandableComposite |
3 | 5 | [[#961f8060]] | getParentExpandableComposite |
3 | 6 | [[#961f8060]] | getParentScrolledComposite |