CloneSet1927


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.990statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1757
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IntLiteral.java
21038
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LongLiteral.java
Clone Instance
1
Line Count
7
Source Line
57
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IntLiteral.java

                if (length == 1) {
                                        constant = IntConstant.fromValue(0); return;
                }
                final int shift,radix;
                int j;
                if ( (source[1] == 'x') || (source[1] == 'X'))
                {
                        shift = 4;  j = 2; radix = 16;
                }
                else {
                        shift = 3;  j = 1; radix = 8;
                }


Clone Instance
2
Line Count
10
Source Line
38
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LongLiteral.java

                if (length == 1) {
                        constant = LongConstant.fromValue(0L);
                        return;
                }
                final int shift,radix;
                int j;
                if ( (source[1] == 'x') || (source[1] == 'X'))  {
                        shift = 4;  j = 2; radix = 16;
                }
                else   {
                        shift = 3;  j = 1; radix = 8;
                }


Clone AbstractionParameter Count: 2Parameter Bindings

if (length == 1) {
  constant = [[#variablea5ca7420]].fromValue( [[#variablea5ca73a0]]);
  return;
}
final int shift, radix;
int j;
if ((source[1] == 'x') || (source[1] == 'X')) {
  shift = 4;
  j = 2;
  radix = 16;
}
else {
  shift = 3;
  j = 1;
  radix = 8;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a5ca7420]]
IntConstant 
12[[#a5ca7420]]
LongConstant 
21[[#a5ca73a0]]
0 
22[[#a5ca73a0]]
0L