Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.973 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 930 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java |
2 | 11 | 1050 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java |
| ||||
public boolean canChildrenBeDestinations(IJavaElement javaElement) { switch (javaElement.getElementType()) { case IJavaElement.JAVA_MODEL: case IJavaElement.JAVA_PROJECT: return true; default: return false; } } public boolean canChildrenBeDestinations(IResource resource) { return false; } |
| ||||
public boolean canElementBeDestination(IJavaElement javaElement) { switch (javaElement.getElementType()) { case IJavaElement.JAVA_PROJECT: case IJavaElement.PACKAGE_FRAGMENT_ROOT: return true; default: return false; } } public boolean canElementBeDestination(IResource resource) { return false; } |
| |||
public boolean [[#variable9e75f080]](IJavaElement javaElement) { switch (javaElement.getElementType()) { case IJavaElement. [[#variable9e75e600]]: case IJavaElement. [[#variable9e75f0e0]]: return true; default: return false; } } public boolean [[#variable9e75f080]](IResource resource) { return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9e75f080]] | canElementBeDestination |
1 | 2 | [[#9e75f080]] | canChildrenBeDestinations |
2 | 1 | [[#9e75e600]] | JAVA_PROJECT |
2 | 2 | [[#9e75e600]] | JAVA_MODEL |
3 | 1 | [[#9e75f0e0]] | PACKAGE_FRAGMENT_ROOT |
3 | 2 | [[#9e75f0e0]] | JAVA_PROJECT |