CloneSet528


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6310.986method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1645
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/AddMappingCommand.java
2693
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/CreateMappingCommand.java
3653
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/RemoveMappingCommand.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
45
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/AddMappingCommand.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));
}


Next
Previous
Clone Instance
2
Line Count
6
Source Line
93
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/CreateMappingCommand.java

/**
 * 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));
}


First
Previous
Clone Instance
3
Line Count
6
Source Line
53
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/RemoveMappingCommand.java

/**
 * 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));
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
   * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1732aa00]]
AddMappingCommand 
12[[#1732aa00]]
CreateMappingCommand 
13[[#1732aa00]]
RemoveMappingCommand