Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.977 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 117 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/EnumeratedTypeSet.java |
2 | 4 | 270 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/EnumeratedTypeSet.java |
| ||||
EnumeratedTypeSet result = new EnumeratedTypeSet(getTypeSetEnvironment()); result.addAll(this ); // copy first since retainAll() modifies in-place result.retainAll(s2); |
| ||||
EnumeratedTypeSet result = new EnumeratedTypeSet(getTypeSetEnvironment()); result.addAll(this ); result.addAll(that); |
| |||
EnumeratedTypeSet result = new EnumeratedTypeSet(getTypeSetEnvironment()); result.addAll(this ); // copy first since retainAll() modifies in-place result. [[#variable964ba180]]( [[#variable964ba120]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#964ba180]] | retainAll |
1 | 2 | [[#964ba180]] | addAll |
2 | 1 | [[#964ba120]] | s2 |
2 | 2 | [[#964ba120]] | that |