| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 4 | 3 | 0.981 | switch_group |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 78 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationInfo.java |
| 2 | 5 | 98 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationInfo.java |
| 3 | 5 | 103 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationInfo.java |
| 4 | 5 | 108 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationInfo.java |
| ||||
case 'I': // integer constant
constValueOffset = this.constantPoolOffsets[u2At(this.readOffset)] - this.structOffset;
value = IntConstant.fromValue(i4At(constValueOffset + 1));
this.readOffset += 2;
break;
|
| ||||
case 'D': // double constant
constValueOffset = this.constantPoolOffsets[u2At(this.readOffset)] - this.structOffset;
value = DoubleConstant.fromValue(doubleAt(constValueOffset + 1));
this.readOffset += 2;
break;
|
| ||||
case 'F': // float constant
constValueOffset = this.constantPoolOffsets[u2At(this.readOffset)] - this.structOffset;
value = FloatConstant.fromValue(floatAt(constValueOffset + 1));
this.readOffset += 2;
break;
|
| ||||
case 'J': // long constant
constValueOffset = this.constantPoolOffsets[u2At(this.readOffset)] - this.structOffset;
value = LongConstant.fromValue(i8At(constValueOffset + 1));
this.readOffset += 2;
break;
|
| |||
case [[#variable52a3c700]]: // integer constant // double constant // float constant // long constant constValueOffset = this.constantPoolOffsets[u2At(this.readOffset)] - this.structOffset; value = [[#variable52a3c660]].fromValue( [[#variable52a3c600]](constValueOffset + 1)); this.readOffset += 2; break; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#52a3c700]] | 'I' |
| 1 | 2 | [[#52a3c700]] | 'D' |
| 1 | 3 | [[#52a3c700]] | 'F' |
| 1 | 4 | [[#52a3c700]] | 'J' |
| 2 | 1 | [[#52a3c660]] | IntConstant |
| 2 | 2 | [[#52a3c660]] | DoubleConstant |
| 2 | 3 | [[#52a3c660]] | FloatConstant |
| 2 | 4 | [[#52a3c660]] | LongConstant |
| 3 | 1 | [[#52a3c600]] | i4At |
| 3 | 2 | [[#52a3c600]] | doubleAt |
| 3 | 3 | [[#52a3c600]] | floatAt |
| 3 | 4 | [[#52a3c600]] | i8At |