Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.987 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 45 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/command/CreateCopyCommand.java |
2 | 3 | 45 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/command/InitializeCopyCommand.java |
| |||||
/** * This creates a command that will create and object for copying the given object */ public static Command create(EditingDomain domain, Object owner, CopyCommand.Helper copyHelper) { return domain.createCommand(CreateCopyCommand.class , new CommandParameter(owner, null, copyHelper)); } |
| |||||
public static Command create(EditingDomain domain, Object owner, CopyCommand.Helper copyHelper) { return domain.createCommand(InitializeCopyCommand.class , new CommandParameter(owner, null, copyHelper)); } |
| |||
/** * This creates a command that will create and object for copying the given object */ public static Command create(EditingDomain domain, Object owner, CopyCommand.Helper copyHelper) { return domain.createCommand( [[#variable174048e0]].class , new CommandParameter(owner, null, copyHelper)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#174048e0]] | CreateCopyCommand |
1 | 2 | [[#174048e0]] | InitializeCopyCommand |