Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.978 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 36 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/NameMatchMappingCommand.java |
2 | 8 | 34 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/TypeMatchMappingCommand.java |
| |||||
/** * This creates a command that creates a new child mappings for the given mapping * by attempting to match by name input children with output children. */ public static Command create(MappingDomain domain, Mapping mapping) { return domain.createCommand(NameMatchMappingCommand.class , new CommandParameter(mapping)); } public NameMatchMappingCommand(MappingDomain domain, Mapping mapping) { super(domain, mapping); } |
| |||||
/** * This creates a command that creates a new child mappings for the given mapping * by attempting to match by type input children with output children. */ public static Command create(MappingDomain domain, Mapping mapping) { return domain.createCommand(TypeMatchMappingCommand.class , new CommandParameter(mapping)); } public TypeMatchMappingCommand(MappingDomain domain, Mapping mapping) { super(domain, mapping); } |
| |||
/** * This creates a command that creates a new child mappings for the given mapping * by attempting to match by name input children with output children. */ /** * This creates a command that creates a new child mappings for the given mapping * by attempting to match by type input children with output children. */ public static Command create(MappingDomain domain, Mapping mapping) { return domain.createCommand( [[#variable17381cc0]].class , new CommandParameter(mapping)); } public [[#variable17381cc0]](MappingDomain domain, Mapping mapping) { super(domain, mapping); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17381cc0]] | NameMatchMappingCommand |
1 | 2 | [[#17381cc0]] | TypeMatchMappingCommand |