Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.978 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 172 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java |
2 | 5 | 172 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java |
| ||||
public void doubleClick(DoubleClickEvent event) { final ISelection selection = event.getSelection(); if (selection instanceof IStructuredSelection) { final Category node = (Category) ((IStructuredSelection) selection).getFirstElement(); fCategoriesViewer.setExpandedState(node, !fCategoriesViewer.getExpandedState(node)); } } |
| ||||
public void doubleClick(DoubleClickEvent event) { final ISelection selection = event.getSelection(); if (selection instanceof IStructuredSelection) { final Node node = (Node) ((IStructuredSelection) selection).getFirstElement(); fTreeViewer.setExpandedState(node, !fTreeViewer.getExpandedState(node)); } } |
| |||
public void doubleClick(DoubleClickEvent event) { final ISelection selection = event.getSelection(); if (selection instanceof IStructuredSelection) { final [[#variable4e2c1da0]] node = ( [[#variable4e2c1da0]]) ((IStructuredSelection) selection).getFirstElement(); [[#variable4e2c1d40]].setExpandedState(node, ! [[#variable4e2c1d40]].getExpandedState(node)); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4e2c1da0]] | Node |
1 | 2 | [[#4e2c1da0]] | Category |
2 | 1 | [[#4e2c1d40]] | fTreeViewer |
2 | 2 | [[#4e2c1d40]] | fCategoriesViewer |