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.956 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 77 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizardPage.java |
2 | 6 | 85 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizardPage.java |
| ||||
protected Text createText(Composite composite, int style, String message, GridData gd) { Text text = new Text(composite, style); if (message != null) text.setText(message); text.setLayoutData(gd); return text; } |
| ||||
protected Combo createCombo(Composite composite, int style, String message, GridData gd) { Combo combo = new Combo(composite, style); if (message != null) combo.setText(message); combo.setLayoutData(gd); return combo; } |
| |||
protected [[#variableb5082620]] [[#variableb5082580]](Composite composite, int style, String message, GridData gd) { [[#variableb5082620]] [[#variableb50824c0]]= new [[#variableb5082620]](composite, style); if (message != null) [[#variableb50824c0]].setText(message); [[#variableb50824c0]].setLayoutData(gd); return [[#variableb50824c0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b5082620]] | Text |
1 | 2 | [[#b5082620]] | Combo |
2 | 1 | [[#b5082580]] | createText |
2 | 2 | [[#b5082580]] | createCombo |
3 | 1 | [[#b50824c0]] | text |
3 | 2 | [[#b50824c0]] | combo |