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);
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);
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/mapping/command/NameMatchMappingCommand.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/mapping/command/TypeMatchMappingCommand.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public static Command create(MappingDomain domain, Mapping mapping)↵ | | 1 | public static Command create(MappingDomain domain, Mapping mapping)↵
|
2 | {↵ | | 2 | {↵
|
3 | return domain.createCommand(NameMatchMappingCommand.class, new CommandParameter(mapping));↵ | | 3 | return domain.createCommand(TypeMatchMappingCommand.class, new CommandParameter(mapping));↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public NameMatchMappingCommand(MappingDomain domain, Mapping mapping)↵ | | 5 | public TypeMatchMappingCommand(MappingDomain domain, Mapping mapping)↵
|
6 | {↵ | | 6 | {↵
|
7 | super(domain, mapping); | | 7 | super(domain, mapping);
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |