Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.986 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 84 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/AddMappingCommand.java |
2 | 12 | 84 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/RemoveMappingCommand.java |
| |||||
/** * This keeps track of all the subcommand(s) use to implement this command. */ Command subcommand; /** * This creates a command instance that adds the new mappings in the collection into the appropriate place in the mapping root's. */ public AddMappingCommand(MappingDomain domain, Collection<? > collection) { super(LABEL, DESCRIPTION); this.domain = domain; this.collection = collection; } |
| |||||
/** * This keeps track of all the subcommand(s) use to implement this command. */ Command subcommand; /** * This creates a command instance that removes the mappings in the collection from the mapping root. */ public RemoveMappingCommand(MappingDomain domain, Collection<? > collection) { super(LABEL, DESCRIPTION); this.domain = domain; this.collection = collection; } |
| |||
/** * This keeps track of all the subcommand(s) use to implement this command. */ Command subcommand; /** * This creates a command instance that removes the mappings in the collection from the mapping root. */ /** * This creates a command instance that adds the new mappings in the collection into the appropriate place in the mapping root's. */ public [[#variable17457e20]](MappingDomain domain, Collection<? > collection) { super(LABEL, DESCRIPTION); this.domain = domain; this.collection = collection; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17457e20]] | AddMappingCommand |
1 | 2 | [[#17457e20]] | RemoveMappingCommand |