| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 2 | 0.969 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 79 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyElementsOperation.java |
| 2 | 2 | 80 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java |
| ||||
/**
* When executed, this operation will copy the given elements to the
* given container.
*/
public CopyElementsOperation(IJavaElement[] elementsToCopy, IJavaElement destContainer, boolean force) {
this(elementsToCopy, new IJavaElement[] {
destContainer
}, force);
}
|
| ||||
/**
* When executed, this operation will copy the given resources to the
* given container.
*/
public CopyResourceElementsOperation(IJavaElement[] resourcesToCopy, IJavaElement destContainer, boolean force) {
this(resourcesToCopy, new IJavaElement[] {
destContainer
}, force);
}
|
| |||
/**
* When executed, this operation will copy the given resources to the
* given container.
*/
/**
* When executed, this operation will copy the given elements to the
* given container.
*/
public [[#variable59151cc0]](IJavaElement[] [[#variable59151c40]], IJavaElement destContainer, boolean force) {
this( [[#variable59151c40]], new IJavaElement[] {
destContainer
}, force);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#59151cc0]] | CopyResourceElementsOperation |
| 1 | 2 | [[#59151cc0]] | CopyElementsOperation |
| 2 | 1 | [[#59151c40]] | resourcesToCopy |
| 2 | 2 | [[#59151c40]] | elementsToCopy |