Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 1 | 0.986 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 45 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/AddMappingCommand.java |
2 | 6 | 93 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/CreateMappingCommand.java |
3 | 6 | 53 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/RemoveMappingCommand.java |
| |||||
/** * This creates a command that adds the new mappings in the collection into the appropriate place in the mapping root's. */ public static Command create(MappingDomain domain, Collection<? > collection) { return domain.createCommand(AddMappingCommand.class , new CommandParameter(domain.getMappingRoot(), null, collection)); } |
| |||||
/** * This creates a command that creates a new mapping involving the given domain's collection of input and output objects. */ public static Command create(MappingDomain domain, Collection<? > collection) { return domain.createCommand(CreateMappingCommand.class , new CommandParameter(domain.getMappingRoot(), null, collection)); } |
| |||||
/** * This creates a command that removes the mappings in the collection from the mapping root. */ public static Command create(MappingDomain domain, Collection<? > collection) { return domain.createCommand(RemoveMappingCommand.class , new CommandParameter(domain.getMappingRoot(), null, collection)); } |
| |||
/** * This creates a command that removes the mappings in the collection from the mapping root. */ /** * This creates a command that adds the new mappings in the collection into the appropriate place in the mapping root's. */ /** * This creates a command that creates a new mapping involving the given domain's collection of input and output objects. */ public static Command create(MappingDomain domain, Collection<? > collection) { return domain.createCommand( [[#variable1732aa00]].class , new CommandParameter(domain.getMappingRoot(), null, collection)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1732aa00]] | AddMappingCommand |
1 | 2 | [[#1732aa00]] | CreateMappingCommand |
1 | 3 | [[#1732aa00]] | RemoveMappingCommand |