Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.992 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 189 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddLibraryToBuildpathAction.java |
2 | 6 | 169 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/GenerateBuildPathActionGroup.java |
| ||||
public boolean canHandle(IStructuredSelection selection) { if (selection.size() == 1 && selection.getFirstElement() instanceof IJavaProject) { fSelectedProject = (IJavaProject) selection.getFirstElement(); return true; } return false; } |
| ||||
/** * {@inheritDoc} */ public boolean selectionChanged(IStructuredSelection selection) { if (selection.size() == 1 && selection.getFirstElement() instanceof IJavaProject) { fSelectedProject = (IJavaProject) selection.getFirstElement(); return true; } return false; } |
| |||
/** * {@inheritDoc} */ public boolean [[#variable9916f8a0]](IStructuredSelection selection) { if (selection.size() == 1 && selection.getFirstElement() instanceof IJavaProject) { fSelectedProject = (IJavaProject) selection.getFirstElement(); return true; } return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9916f8a0]] | selectionChanged |
1 | 2 | [[#9916f8a0]] | canHandle |