| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 4 | 0.952 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 1488 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
| 2 | 3 | 1611 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
| ||||
if ( !JavaModelUtil.isEditable(type.getCompilationUnit())) {
status.setError(NewWizardMessages.NewTypeWizardPage_error_EnclosingNotEditable);
return status;
}
|
| ||||
if ( !JavaModelUtil.is50OrHigher(root.getJavaProject())) {
status.setError(NewWizardMessages.NewTypeWizardPage_error_TypeParameters);
return status;
}
|
| |||
if ( !JavaModelUtil. [[#variable76225680]]( [[#variable76225600]]. [[#variable762255a0]]())) {
status.setError(NewWizardMessages. [[#variable762254a0]]);
return status;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#76225680]] | is50OrHigher |
| 1 | 2 | [[#76225680]] | isEditable |
| 2 | 1 | [[#76225600]] | root |
| 2 | 2 | [[#76225600]] | type |
| 3 | 1 | [[#762255a0]] | getJavaProject |
| 3 | 2 | [[#762255a0]] | getCompilationUnit |
| 4 | 1 | [[#762254a0]] | NewTypeWizardPage_error_TypeParameters |
| 4 | 2 | [[#762254a0]] | NewTypeWizardPage_error_EnclosingNotEditable |