public class org.eclipse.jdt.internal.compiler.ast.IntLiteral extends org.eclipse.jdt.internal.compiler.ast.NumberLiteral
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jdt.internal.compiler.ast.IntLiteral
super_class: org.eclipse.jdt.internal.compiler.ast.NumberLiteral
{
private static final char[] HEXA_MIN_VALUE;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final char[] HEXA_MINUS_ONE_VALUE;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final char[] OCTAL_MIN_VALUE;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final char[] OCTAL_MINUS_ONE_VALUE;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final char[] DECIMAL_MIN_VALUE;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final char[] DECIMAL_MAX_VALUE;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private char[] reducedForm;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
public int value;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public static final org.eclipse.jdt.internal.compiler.ast.IntLiteral One;
descriptor: Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: ldc "0x80000000"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.HEXA_MIN_VALUE:[C
1: ldc "0xffffffff"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.HEXA_MINUS_ONE_VALUE:[C
2: ldc "020000000000"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.OCTAL_MIN_VALUE:[C
3: ldc "037777777777"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.OCTAL_MINUS_ONE_VALUE:[C
4: ldc "2147483648"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.DECIMAL_MIN_VALUE:[C
5: ldc "2147483647"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.DECIMAL_MAX_VALUE:[C
6: new org.eclipse.jdt.internal.compiler.ast.IntLiteral
dup
iconst_1
newarray 5
dup
iconst_0
bipush 49
castore
aconst_null
iconst_0
iconst_0
iconst_1
iconst_1
invokestatic org.eclipse.jdt.internal.compiler.impl.IntConstant.fromValue:(I)Lorg/eclipse/jdt/internal/compiler/impl/Constant;
invokespecial org.eclipse.jdt.internal.compiler.ast.IntLiteral.<init>:([C[CIIILorg/eclipse/jdt/internal/compiler/impl/Constant;)V
putstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.One:Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.eclipse.jdt.internal.compiler.ast.IntLiteral buildIntLiteral(char[], int, int);
descriptor: ([CII)Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
invokestatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.removePrefixZerosAndUnderscores:([CZ)[C
astore 3
start local 3 1: aload 3
arraylength
tableswitch { // 10 - 12
10: 2
11: 10
12: 6
default: 10
}
2: StackMap locals: char[]
StackMap stack:
aload 3
getstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.HEXA_MIN_VALUE:[C
invokestatic org.eclipse.jdt.core.compiler.CharOperation.equals:([C[C)Z
ifeq 10
3: new org.eclipse.jdt.internal.compiler.ast.IntLiteralMinValue
dup
aload 0
aload 3
aload 0
if_acmpeq 4
aload 3
goto 5
StackMap locals: char[] int int char[]
StackMap stack: new 3 new 3 char[]
4: aconst_null
StackMap locals: char[] int int char[]
StackMap stack: new 3 new 3 char[] char[]
5: iload 1
iload 2
invokespecial org.eclipse.jdt.internal.compiler.ast.IntLiteralMinValue.<init>:([C[CII)V
areturn
6: StackMap locals:
StackMap stack:
aload 3
getstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.OCTAL_MIN_VALUE:[C
invokestatic org.eclipse.jdt.core.compiler.CharOperation.equals:([C[C)Z
ifeq 10
7: new org.eclipse.jdt.internal.compiler.ast.IntLiteralMinValue
dup
aload 0
aload 3
aload 0
if_acmpeq 8
aload 3
goto 9
StackMap locals: char[] int int char[]
StackMap stack: new 7 new 7 char[]
8: aconst_null
StackMap locals: char[] int int char[]
StackMap stack: new 7 new 7 char[] char[]
9: iload 1
iload 2
invokespecial org.eclipse.jdt.internal.compiler.ast.IntLiteralMinValue.<init>:([C[CII)V
areturn
10: StackMap locals:
StackMap stack:
new org.eclipse.jdt.internal.compiler.ast.IntLiteral
dup
aload 0
aload 3
aload 0
if_acmpeq 11
aload 3
goto 12
StackMap locals: char[] int int char[]
StackMap stack: new 10 new 10 char[]
11: aconst_null
StackMap locals: char[] int int char[]
StackMap stack: new 10 new 10 char[] char[]
12: iload 1
iload 2
invokespecial org.eclipse.jdt.internal.compiler.ast.IntLiteral.<init>:([C[CII)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 token [C
0 13 1 s I
0 13 2 e I
1 13 3 intReducedToken [C
MethodParameters:
Name Flags
token
s
e
void <init>(char[], char[], int, int);
descriptor: ([C[CII)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 3
iload 4
invokespecial org.eclipse.jdt.internal.compiler.ast.NumberLiteral.<init>:([CII)V
1: aload 0
aload 2
putfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.reducedForm:[C
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
0 3 1 token [C
0 3 2 reducedForm [C
0 3 3 start I
0 3 4 end I
MethodParameters:
Name Flags
token
reducedForm
start
end
void <init>(char[], char[], int, int, int, org.eclipse.jdt.internal.compiler.impl.Constant);
descriptor: ([C[CIIILorg/eclipse/jdt/internal/compiler/impl/Constant;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
iload 3
iload 4
invokespecial org.eclipse.jdt.internal.compiler.ast.NumberLiteral.<init>:([CII)V
1: aload 0
aload 2
putfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.reducedForm:[C
2: aload 0
iload 5
putfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.value:I
3: aload 0
aload 6
putfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
4: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
0 5 1 token [C
0 5 2 reducedForm [C
0 5 3 start I
0 5 4 end I
0 5 5 value I
0 5 6 constant Lorg/eclipse/jdt/internal/compiler/impl/Constant;
MethodParameters:
Name Flags
token
reducedForm
start
end
value
constant
public void computeConstant();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.reducedForm:[C
ifnull 1
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.reducedForm:[C
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.source:[C
StackMap locals:
StackMap stack: char[]
2: astore 1
start local 1 3: aload 1
arraylength
istore 2
start local 2 4: bipush 10
istore 3
start local 3 5: iconst_0
istore 4
start local 4 6: aload 1
iconst_0
caload
bipush 48
if_icmpne 20
7: iload 2
iconst_1
if_icmpne 10
8: aload 0
iconst_0
invokestatic org.eclipse.jdt.internal.compiler.impl.IntConstant.fromValue:(I)Lorg/eclipse/jdt/internal/compiler/impl/Constant;
putfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
9: return
10: StackMap locals: org.eclipse.jdt.internal.compiler.ast.IntLiteral char[] int int int
StackMap stack:
aload 1
iconst_1
caload
bipush 120
if_icmpeq 11
aload 1
iconst_1
caload
bipush 88
if_icmpne 14
11: StackMap locals:
StackMap stack:
bipush 16
istore 3
12: iconst_2
istore 4
13: goto 20
StackMap locals:
StackMap stack:
14: aload 1
iconst_1
caload
bipush 98
if_icmpeq 15
aload 1
iconst_1
caload
bipush 66
if_icmpne 18
15: StackMap locals:
StackMap stack:
iconst_2
istore 3
16: iconst_2
istore 4
17: goto 20
18: StackMap locals:
StackMap stack:
bipush 8
istore 3
19: iconst_1
istore 4
20: StackMap locals:
StackMap stack:
iload 3
lookupswitch { // 4
2: 21
8: 37
10: 31
16: 25
default: 45
}
21: StackMap locals:
StackMap stack:
iload 2
iconst_2
isub
bipush 32
if_icmple 23
22: return
23: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual org.eclipse.jdt.internal.compiler.ast.IntLiteral.computeValue:([CIII)V
24: return
25: StackMap locals:
StackMap stack:
iload 2
bipush 10
if_icmpgt 45
26: aload 1
getstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.HEXA_MINUS_ONE_VALUE:[C
invokestatic org.eclipse.jdt.core.compiler.CharOperation.equals:([C[C)Z
ifeq 29
27: aload 0
iconst_m1
invokestatic org.eclipse.jdt.internal.compiler.impl.IntConstant.fromValue:(I)Lorg/eclipse/jdt/internal/compiler/impl/Constant;
putfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
28: return
29: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual org.eclipse.jdt.internal.compiler.ast.IntLiteral.computeValue:([CIII)V
30: return
31: StackMap locals:
StackMap stack:
iload 2
getstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.DECIMAL_MAX_VALUE:[C
arraylength
if_icmpgt 34
32: iload 2
getstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.DECIMAL_MAX_VALUE:[C
arraylength
if_icmpne 35
33: aload 1
getstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.DECIMAL_MAX_VALUE:[C
invokestatic org.eclipse.jdt.core.compiler.CharOperation.compareTo:([C[C)I
ifle 35
34: StackMap locals:
StackMap stack:
return
35: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual org.eclipse.jdt.internal.compiler.ast.IntLiteral.computeValue:([CIII)V
36: goto 45
37: StackMap locals:
StackMap stack:
iload 2
bipush 12
if_icmpgt 45
38: iload 2
bipush 12
if_icmpne 40
aload 1
iload 4
caload
bipush 52
if_icmple 40
39: return
40: StackMap locals:
StackMap stack:
aload 1
getstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.OCTAL_MINUS_ONE_VALUE:[C
invokestatic org.eclipse.jdt.core.compiler.CharOperation.equals:([C[C)Z
ifeq 43
41: aload 0
iconst_m1
invokestatic org.eclipse.jdt.internal.compiler.impl.IntConstant.fromValue:(I)Lorg/eclipse/jdt/internal/compiler/impl/Constant;
putfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
42: return
43: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual org.eclipse.jdt.internal.compiler.ast.IntLiteral.computeValue:([CIII)V
44: return
45: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
3 46 1 token [C
4 46 2 tokenLength I
5 46 3 radix I
6 46 4 j I
private void computeValue(char[], int, int, int);
descriptor: ([CIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 6
start local 6 1: goto 6
2: StackMap locals: org.eclipse.jdt.internal.compiler.ast.IntLiteral char[] int int int top int
StackMap stack:
aload 1
iload 4
iinc 4 1
caload
iload 3
invokestatic org.eclipse.jdt.internal.compiler.parser.ScannerHelper.digit:(CI)I
dup
istore 5
start local 5 3: ifge 5
4: return
5: StackMap locals: org.eclipse.jdt.internal.compiler.ast.IntLiteral char[] int int int int int
StackMap stack:
iload 6
iload 3
imul
iload 5
iadd
istore 6
end local 5 6: StackMap locals: org.eclipse.jdt.internal.compiler.ast.IntLiteral char[] int int int top int
StackMap stack:
iload 4
iload 2
if_icmplt 2
7: aload 0
iload 6
invokestatic org.eclipse.jdt.internal.compiler.impl.IntConstant.fromValue:(I)Lorg/eclipse/jdt/internal/compiler/impl/Constant;
putfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
8: return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
0 9 1 token [C
0 9 2 tokenLength I
0 9 3 radix I
0 9 4 j I
3 6 5 digitValue I
1 9 6 computedValue I
MethodParameters:
Name Flags
token
tokenLength
radix
j
public org.eclipse.jdt.internal.compiler.ast.IntLiteral convertToMinValue();
descriptor: ()Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.bits:I
ldc 534773760
iand
bipush 21
ishr
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.reducedForm:[C
ifnull 3
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.reducedForm:[C
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.source:[C
StackMap locals:
StackMap stack: char[]
4: astore 1
start local 1 5: aload 1
arraylength
tableswitch { // 10 - 10
10: 6
default: 8
}
6: StackMap locals: char[]
StackMap stack:
aload 1
getstatic org.eclipse.jdt.internal.compiler.ast.IntLiteral.DECIMAL_MIN_VALUE:[C
invokestatic org.eclipse.jdt.core.compiler.CharOperation.equals:([C[C)Z
ifeq 8
7: new org.eclipse.jdt.internal.compiler.ast.IntLiteralMinValue
dup
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.source:[C
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.reducedForm:[C
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.sourceStart:I
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.sourceEnd:I
invokespecial org.eclipse.jdt.internal.compiler.ast.IntLiteralMinValue.<init>:([C[CII)V
areturn
8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
5 9 1 token [C
public void generateCode(org.eclipse.jdt.internal.compiler.lookup.BlockScope, org.eclipse.jdt.internal.compiler.codegen.CodeStream, boolean);
descriptor: (Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;Lorg/eclipse/jdt/internal/compiler/codegen/CodeStream;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getfield org.eclipse.jdt.internal.compiler.codegen.CodeStream.position:I
istore 4
start local 4 1: iload 3
ifeq 3
2: aload 2
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.implicitConversion:I
invokevirtual org.eclipse.jdt.internal.compiler.codegen.CodeStream.generateConstant:(Lorg/eclipse/jdt/internal/compiler/impl/Constant;I)V
3: StackMap locals: int
StackMap stack:
aload 2
iload 4
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.IntLiteral.sourceStart:I
invokevirtual org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom:(II)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
0 5 1 currentScope Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;
0 5 2 codeStream Lorg/eclipse/jdt/internal/compiler/codegen/CodeStream;
0 5 3 valueRequired Z
1 5 4 pc I
MethodParameters:
Name Flags
currentScope
codeStream
valueRequired
public org.eclipse.jdt.internal.compiler.lookup.TypeBinding literalType(org.eclipse.jdt.internal.compiler.lookup.BlockScope);
descriptor: (Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;)Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.eclipse.jdt.internal.compiler.lookup.TypeBinding.INT:Lorg/eclipse/jdt/internal/compiler/lookup/BaseTypeBinding;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
0 1 1 scope Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;
MethodParameters:
Name Flags
scope
public void traverse(org.eclipse.jdt.internal.compiler.ASTVisitor, org.eclipse.jdt.internal.compiler.lookup.BlockScope);
descriptor: (Lorg/eclipse/jdt/internal/compiler/ASTVisitor;Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 2
invokevirtual org.eclipse.jdt.internal.compiler.ASTVisitor.visit:(Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;)Z
pop
1: aload 1
aload 0
aload 2
invokevirtual org.eclipse.jdt.internal.compiler.ASTVisitor.endVisit:(Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jdt/internal/compiler/ast/IntLiteral;
0 3 1 visitor Lorg/eclipse/jdt/internal/compiler/ASTVisitor;
0 3 2 scope Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;
MethodParameters:
Name Flags
visitor
scope
}
SourceFile: "IntLiteral.java"