| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 2 | 0.954 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 64 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DestinationContentProvider.java |
| 2 | 4 | 68 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DestinationContentProvider.java |
| ||||
{
IJavaElement javaElement = (IJavaElement) children[i];
if (fValidator.canElementBeDestination(javaElement) || fValidator.canChildrenBeDestinations(javaElement))
result.add(javaElement);
}
|
| ||||
{
IResource resource = (IResource) children[i];
if (fValidator.canElementBeDestination(resource) || fValidator.canChildrenBeDestinations(resource))
result.add(resource);
}
|
| |||
{
[[#variable9bda8540]] [[#variable9bda8480]]= ( [[#variable9bda8540]]) children[i];
if (fValidator.canElementBeDestination( [[#variable9bda8480]]) || fValidator.canChildrenBeDestinations( [[#variable9bda8480]]))
result.add( [[#variable9bda8480]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9bda8540]] | IJavaElement |
| 1 | 2 | [[#9bda8540]] | IResource |
| 2 | 1 | [[#9bda8480]] | javaElement |
| 2 | 2 | [[#9bda8480]] | resource |