| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 19 | 2 | 1 | 0.983 | class_body_declarations[6] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 19 | 120 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaCopyProcessor.java |
| 2 | 19 | 128 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaMoveProcessor.java |
| ||||
public RefactoringStatus setDestination(IJavaElement destination) throws JavaModelException {
return fCopyPolicy.setDestination(destination);
}
public RefactoringStatus setDestination(IResource destination) throws JavaModelException {
return fCopyPolicy.setDestination(destination);
}
public boolean canChildrenBeDestinations(IJavaElement javaElement) {
return fCopyPolicy.canChildrenBeDestinations(javaElement);
}
public boolean canChildrenBeDestinations(IResource resource) {
return fCopyPolicy.canChildrenBeDestinations(resource);
}
public boolean canElementBeDestination(IJavaElement javaElement) {
return fCopyPolicy.canElementBeDestination(javaElement);
}
public boolean canElementBeDestination(IResource resource) {
return fCopyPolicy.canElementBeDestination(resource);
}
|
| ||||
public RefactoringStatus setDestination(IJavaElement destination) throws JavaModelException {
return fMovePolicy.setDestination(destination);
}
public RefactoringStatus setDestination(IResource destination) throws JavaModelException {
return fMovePolicy.setDestination(destination);
}
public boolean canChildrenBeDestinations(IJavaElement javaElement) {
return fMovePolicy.canChildrenBeDestinations(javaElement);
}
public boolean canChildrenBeDestinations(IResource resource) {
return fMovePolicy.canChildrenBeDestinations(resource);
}
public boolean canElementBeDestination(IJavaElement javaElement) {
return fMovePolicy.canElementBeDestination(javaElement);
}
public boolean canElementBeDestination(IResource resource) {
return fMovePolicy.canElementBeDestination(resource);
}
|
| |||
public RefactoringStatus setDestination(IJavaElement destination) throws JavaModelException {
return [[#variable5ae0c3a0]].setDestination(destination);
}
public RefactoringStatus setDestination(IResource destination) throws JavaModelException {
return [[#variable5ae0c3a0]].setDestination(destination);
}
public boolean canChildrenBeDestinations(IJavaElement javaElement) {
return [[#variable5ae0c3a0]].canChildrenBeDestinations(javaElement);
}
public boolean canChildrenBeDestinations(IResource resource) {
return [[#variable5ae0c3a0]].canChildrenBeDestinations(resource);
}
public boolean canElementBeDestination(IJavaElement javaElement) {
return [[#variable5ae0c3a0]].canElementBeDestination(javaElement);
}
public boolean canElementBeDestination(IResource resource) {
return [[#variable5ae0c3a0]].canElementBeDestination(resource);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5ae0c3a0]] | fMovePolicy |
| 1 | 2 | [[#5ae0c3a0]] | fCopyPolicy |