CloneSet283


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6520.976statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161086
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
261095
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
361104
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
461113
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
561122
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
Clone Instance
1
Line Count
6
Source Line
1086
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return IntConstant.fromValue(left.charValue()|  right.charValue());
                                        case T_byte:    return IntConstant.fromValue(left.charValue()|  right.byteValue());
                                        case T_short:   return IntConstant.fromValue(left.charValue()|  right.shortValue());
                                        case T_int:             return IntConstant.fromValue(left.charValue()|  right.intValue());
                                        case T_long:    return LongConstant.fromValue(left.charValue()|  right.longValue());
                                      }


Clone Instance
2
Line Count
6
Source Line
1095
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return IntConstant.fromValue(left.byteValue()|  right.charValue());
                                        case T_byte:    return IntConstant.fromValue(left.byteValue()|  right.byteValue());
                                        case T_short:   return IntConstant.fromValue(left.byteValue()|  right.shortValue());
                                        case T_int:             return IntConstant.fromValue(left.byteValue()|  right.intValue());
                                        case T_long:    return LongConstant.fromValue(left.byteValue()|  right.longValue());
                                      }


Clone Instance
3
Line Count
6
Source Line
1104
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return IntConstant.fromValue(left.shortValue()|  right.charValue());
                                        case T_byte:    return IntConstant.fromValue(left.shortValue()|  right.byteValue());
                                        case T_short:   return IntConstant.fromValue(left.shortValue()|  right.shortValue());
                                        case T_int:             return IntConstant.fromValue(left.shortValue()|  right.intValue());
                                        case T_long:    return LongConstant.fromValue(left.shortValue()|  right.longValue());
                                      }


Clone Instance
4
Line Count
6
Source Line
1113
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return IntConstant.fromValue(left.intValue()|  right.charValue());
                                        case T_byte:    return IntConstant.fromValue(left.intValue()|  right.byteValue());
                                        case T_short:   return IntConstant.fromValue(left.intValue()|  right.shortValue());
                                        case T_int:             return IntConstant.fromValue(left.intValue()|  right.intValue());
                                        case T_long:    return LongConstant.fromValue(left.intValue()|  right.longValue());
                                      }


Clone Instance
5
Line Count
6
Source Line
1122
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return LongConstant.fromValue(left.longValue()|  right.charValue());
                                        case T_byte:    return LongConstant.fromValue(left.longValue()|  right.byteValue());
                                        case T_short:   return LongConstant.fromValue(left.longValue()|  right.shortValue());
                                        case T_int:             return LongConstant.fromValue(left.longValue()|  right.intValue());
                                        case T_long:    return LongConstant.fromValue(left.longValue()|  right.longValue());
                                      }


Clone AbstractionParameter Count: 2Parameter Bindings

switch (rightId) {
  case T_char:
    return [[#variable5a1c1ae0]].fromValue(left. [[#variable5a1c1c00]]()|right.charValue());
  case T_byte:
    return [[#variable5a1c1ae0]].fromValue(left. [[#variable5a1c1c00]]()|right.byteValue());
  case T_short:
    return [[#variable5a1c1ae0]].fromValue(left. [[#variable5a1c1c00]]()|right.shortValue());
  case T_int:
    return [[#variable5a1c1ae0]].fromValue(left. [[#variable5a1c1c00]]()|right.intValue());
  case T_long:
    return LongConstant.fromValue(left. [[#variable5a1c1c00]]()|right.longValue());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a1c1ae0]]
IntConstant 
12[[#5a1c1ae0]]
IntConstant 
13[[#5a1c1ae0]]
IntConstant 
14[[#5a1c1ae0]]
IntConstant 
15[[#5a1c1ae0]]
LongConstant 
21[[#5a1c1c00]]
charValue 
22[[#5a1c1c00]]
byteValue 
23[[#5a1c1c00]]
shortValue 
24[[#5a1c1c00]]
intValue 
25[[#5a1c1c00]]
longValue