Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.982 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 106 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java |
2 | 11 | 119 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java |
| ||||
public static class MoveDescription extends DeltaDescription { private IPath fDestination; public MoveDescription(IResource resource, IPath destination) { super(resource); fDestination = destination; } public void buildDelta(IResourceChangeDescriptionFactory builder) { builder.move(fResource, fDestination); } public IPath getDestinationPath() { return fDestination; } } |
| ||||
public static class CopyDescription extends DeltaDescription { private IPath fDestination; public CopyDescription(IResource resource, IPath destination) { super(resource); fDestination = destination; } public void buildDelta(IResourceChangeDescriptionFactory builder) { builder.copy(fResource, fDestination); } public IPath getDestinationPath() { return fDestination; } } |
| |||
public static class [[#variableb2ef6620]]extends DeltaDescription { private IPath fDestination; public [[#variableb2ef6620]](IResource resource, IPath destination) { super(resource); fDestination = destination; } public void buildDelta(IResourceChangeDescriptionFactory builder) { builder. [[#variableb2ef65c0]](fResource, fDestination); } public IPath getDestinationPath() { return fDestination; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2ef6620]] | MoveDescription |
1 | 2 | [[#b2ef6620]] | CopyDescription |
2 | 1 | [[#b2ef65c0]] | move |
2 | 2 | [[#b2ef65c0]] | copy |