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.974 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 211 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java |
2 | 12 | 361 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SingleNameReference.java |
| ||||
if (valueRequired) { if (this.genericCast != null) codeStream.checkcast(this.genericCast); codeStream.generateImplicitConversion(implicitConversion); } else { // could occur if !valueRequired but compliance >= 1.4 switch (this.codegenBinding.type.id) { case T_long: case T_double: codeStream.pop2(); break; default: codeStream.pop(); } } |
| ||||
if (valueRequired) { if (this.genericCast != null) codeStream.checkcast(this.genericCast); codeStream.generateImplicitConversion(implicitConversion); } else { // could occur if !valueRequired but static field belongs to different class switch (fieldBinding.type.id) { case T_long: case T_double: codeStream.pop2(); break; default: codeStream.pop(); } } |
| |||
if (valueRequired) { if (this.genericCast != null) codeStream.checkcast(this.genericCast); codeStream.generateImplicitConversion(implicitConversion); } else { // could occur if !valueRequired but compliance >= 1.4 // could occur if !valueRequired but static field belongs to different class switch ( [[#variable5fb3a140]].type.id) { case T_long: case T_double: codeStream.pop2(); break; default: codeStream.pop(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5fb3a140]] | this.codegenBinding |
1 | 2 | [[#5fb3a140]] | fieldBinding |