Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.958 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1246 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java |
2 | 7 | 2278 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java |
| ||||
{ if (identifier == null) { throw new IllegalArgumentException(); } SimpleName result = new SimpleName(this ); result.setIdentifier(identifier); return result; } |
| ||||
{ if (literal == null) { throw new IllegalArgumentException(); } NumberLiteral result = new NumberLiteral(this ); result.setToken(literal); return result; } |
| |||
{ if ( [[#variable5c984fa0]]== null) { throw new IllegalArgumentException(); } [[#variable5c9849e0]] result = new [[#variable5c9849e0]](this ); result. [[#variable5c984840]]( [[#variable5c984fa0]]); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5c984fa0]] | literal |
1 | 2 | [[#5c984fa0]] | identifier |
2 | 1 | [[#5c9849e0]] | NumberLiteral |
2 | 2 | [[#5c9849e0]] | SimpleName |
3 | 1 | [[#5c984840]] | setToken |
3 | 2 | [[#5c984840]] | setIdentifier |