Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1142 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
2 | 3 | 1224 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
| ||||
/** * Sets the type name input field's text to the given value. Method doesn't update * the model. * * @param name the new type name * @param canBeModified if <code>true</code> the type name field is * editable; otherwise it is read-only. */ public void setTypeName(String name, boolean canBeModified) { fTypeNameDialogField.setText(name); fTypeNameDialogField.setEnabled(canBeModified); } |
| ||||
/** * Sets the super class name. * * @param name the new superclass name * @param canBeModified if <code>true</code> the superclass name field is * editable; otherwise it is read-only. */ public void setSuperClass(String name, boolean canBeModified) { fSuperClassDialogField.setText(name); fSuperClassDialogField.setEnabled(canBeModified); } |
| |||
/** * Sets the type name input field's text to the given value. Method doesn't update * the model. * * @param name the new type name * @param canBeModified if <code>true</code> the type name field is * editable; otherwise it is read-only. */ /** * Sets the super class name. * * @param name the new superclass name * @param canBeModified if <code>true</code> the superclass name field is * editable; otherwise it is read-only. */ public void [[#variablebc5d80a0]](String name, boolean canBeModified) { [[#variablebc5d8040]].setText(name); [[#variablebc5d8040]].setEnabled(canBeModified); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bc5d80a0]] | setTypeName |
1 | 2 | [[#bc5d80a0]] | setSuperClass |
2 | 1 | [[#bc5d8040]] | fTypeNameDialogField |
2 | 2 | [[#bc5d8040]] | fSuperClassDialogField |