Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 1 | 0.991 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 434 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java |
2 | 10 | 321 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java |
3 | 10 | 362 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java |
| ||||
/** * Method editEntry. */ private void editEntry() { List selElements = fLibrariesList.getSelectedElements(); if (selElements.size() != 1) { return; } Object elem = selElements.get(0); if (fLibrariesList.getIndexOfElement(elem) != -1) { editElementEntry((CPListElement) elem); } else if (elem instanceof CPListElementAttribute) { editAttributeEntry((CPListElementAttribute) elem); } } |
| ||||
/** * Method editEntry. */ private void editEntry() { List selElements = fProjectsList.getSelectedElements(); if (selElements.size() != 1) { return; } Object elem = selElements.get(0); if (fProjectsList.getIndexOfElement(elem) != -1) { editElementEntry((CPListElement) elem); } else if (elem instanceof CPListElementAttribute) { editAttributeEntry((CPListElementAttribute) elem); } } |
| ||||
private void editEntry() { List selElements = fFoldersList.getSelectedElements(); if (selElements.size() != 1) { return; } Object elem = selElements.get(0); if (fFoldersList.getIndexOfElement(elem) != -1) { editElementEntry((CPListElement) elem); } else if (elem instanceof CPListElementAttribute) { editAttributeEntry((CPListElementAttribute) elem); } } |
| |||
/** * Method editEntry. */ private void editEntry() { List selElements = [[#variableb9ff75e0]].getSelectedElements(); if (selElements.size() != 1) { return; } Object elem = selElements.get(0); if ( [[#variableb9ff75e0]].getIndexOfElement(elem) != -1) { editElementEntry((CPListElement) elem); } else if (elem instanceof CPListElementAttribute) { editAttributeEntry((CPListElementAttribute) elem); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b9ff75e0]] | fFoldersList |
1 | 2 | [[#b9ff75e0]] | fProjectsList |
1 | 3 | [[#b9ff75e0]] | fLibrariesList |