CloneSet623


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.978class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1836
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/NameMatchMappingCommand.java
2834
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/TypeMatchMappingCommand.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
36
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/NameMatchMappingCommand.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);
}


First
Previous
Clone Instance
2
Line Count
8
Source Line
34
Source File
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 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);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
   * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#17381cc0]]
NameMatchMappingCommand 
12[[#17381cc0]]
TypeMatchMappingCommand