| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 9 | 2 | 0.979 | switch_group |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 7041 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 2 | 5 | 7049 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 3 | 5 | 7054 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 4 | 5 | 7059 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 5 | 5 | 7064 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 6 | 5 | 7069 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 7 | 5 | 7074 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 8 | 5 | 7079 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 9 | 5 | 7084 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| ||||
//==============================
case TokenNamevoid:
pushIdentifier(-T_void);
pushOnIntStack(this.scanner.currentPosition - 1);
pushOnIntStack(this.scanner.startPosition);
break;
|
| ||||
//push a default dimension while void is not part of the primitive
//declaration baseType and so takes the place of a type without getting into
//regular type parsing that generates a dimension on this.intStack
case TokenNameboolean:
pushIdentifier(-T_boolean);
pushOnIntStack(this.scanner.currentPosition - 1);
pushOnIntStack(this.scanner.startPosition);
break;
|
| ||||
case TokenNamebyte:
pushIdentifier(-T_byte);
pushOnIntStack(this.scanner.currentPosition - 1);
pushOnIntStack(this.scanner.startPosition);
break;
|
| ||||
case TokenNamechar:
pushIdentifier(-T_char);
pushOnIntStack(this.scanner.currentPosition - 1);
pushOnIntStack(this.scanner.startPosition);
break;
|
| ||||
case TokenNamedouble:
pushIdentifier(-T_double);
pushOnIntStack(this.scanner.currentPosition - 1);
pushOnIntStack(this.scanner.startPosition);
break;
|
| ||||
case TokenNamefloat:
pushIdentifier(-T_float);
pushOnIntStack(this.scanner.currentPosition - 1);
pushOnIntStack(this.scanner.startPosition);
break;
|
| ||||
case TokenNameint:
pushIdentifier(-T_int);
pushOnIntStack(this.scanner.currentPosition - 1);
pushOnIntStack(this.scanner.startPosition);
break;
|
| ||||
case TokenNamelong:
pushIdentifier(-T_long);
pushOnIntStack(this.scanner.currentPosition - 1);
pushOnIntStack(this.scanner.startPosition);
break;
|
| ||||
case TokenNameshort:
pushIdentifier(-T_short);
pushOnIntStack(this.scanner.currentPosition - 1);
pushOnIntStack(this.scanner.startPosition);
break;
|
| |||
//============================== //push a default dimension while void is not part of the primitive //declaration baseType and so takes the place of a type without getting into //regular type parsing that generates a dimension on this.intStack case [[#variablebb6e4b60]]: pushIdentifier(- [[#variablebb6e4a60]]); pushOnIntStack(this.scanner.currentPosition - 1); pushOnIntStack(this.scanner.startPosition); break; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bb6e4b60]] | TokenNamevoid |
| 1 | 2 | [[#bb6e4b60]] | TokenNameboolean |
| 1 | 3 | [[#bb6e4b60]] | TokenNamebyte |
| 1 | 4 | [[#bb6e4b60]] | TokenNamechar |
| 1 | 5 | [[#bb6e4b60]] | TokenNamedouble |
| 1 | 6 | [[#bb6e4b60]] | TokenNamefloat |
| 1 | 7 | [[#bb6e4b60]] | TokenNameint |
| 1 | 8 | [[#bb6e4b60]] | TokenNamelong |
| 1 | 9 | [[#bb6e4b60]] | TokenNameshort |
| 2 | 1 | [[#bb6e4a60]] | T_void |
| 2 | 2 | [[#bb6e4a60]] | T_boolean |
| 2 | 3 | [[#bb6e4a60]] | T_byte |
| 2 | 4 | [[#bb6e4a60]] | T_char |
| 2 | 5 | [[#bb6e4a60]] | T_double |
| 2 | 6 | [[#bb6e4a60]] | T_float |
| 2 | 7 | [[#bb6e4a60]] | T_int |
| 2 | 8 | [[#bb6e4a60]] | T_long |
| 2 | 9 | [[#bb6e4a60]] | T_short |