CloneSet1788


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21201.000switch_groups[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1211704
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
221251
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/UnaryExpression.java
Clone Instance
1
Line Count
21
Source Line
1704
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java

                // only switch on possible result type.....
                case T_boolean:
                        this.resolvedType = TypeBinding.BOOLEAN;
                        break;
                case T_byte:
                        this.resolvedType = TypeBinding.BYTE;
                        break;
                case T_char:
                        this.resolvedType = TypeBinding.CHAR;
                        break;
                case T_double:
                        this.resolvedType = TypeBinding.DOUBLE;
                        break;
                case T_float:
                        this.resolvedType = TypeBinding.FLOAT;
                        break;
                case T_int:
                        this.resolvedType = TypeBinding.INT;
                        break;
                case T_long:
                        this.resolvedType = TypeBinding.LONG;
                        break;


Clone Instance
2
Line Count
21
Source Line
251
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/UnaryExpression.java

                        case T_boolean:
                                this.resolvedType = TypeBinding.BOOLEAN;
                                break;
                        case T_byte:
                                this.resolvedType = TypeBinding.BYTE;
                                break;
                        case T_char:
                                this.resolvedType = TypeBinding.CHAR;
                                break;
                        case T_double:
                                this.resolvedType = TypeBinding.DOUBLE;
                                break;
                        case T_float:
                                this.resolvedType = TypeBinding.FLOAT;
                                break;
                        case T_int:
                                this.resolvedType = TypeBinding.INT;
                                break;
                        case T_long:
                                this.resolvedType = TypeBinding.LONG;
                                break;


Clone AbstractionParameter Count: 0Parameter Bindings

// only switch on possible result type.....
case T_boolean:
  this.resolvedType = TypeBinding.BOOLEAN;
  break;
case T_byte:
  this.resolvedType = TypeBinding.BYTE;
  break;
case T_char:
  this.resolvedType = TypeBinding.CHAR;
  break;
case T_double:
  this.resolvedType = TypeBinding.DOUBLE;
  break;
case T_float:
  this.resolvedType = TypeBinding.FLOAT;
  break;
case T_int:
  this.resolvedType = TypeBinding.INT;
  break;
case T_long:
  this.resolvedType = TypeBinding.LONG;
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None