public class org.eclipse.jdt.internal.compiler.ast.LongLiteral 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.LongLiteral
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
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "0x8000000000000000L"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.HEXA_MIN_VALUE:[C
1: ldc "0xffffffffffffffffL"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.HEXA_MINUS_ONE_VALUE:[C
2: ldc "01000000000000000000000L"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.OCTAL_MIN_VALUE:[C
3: ldc "01777777777777777777777L"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.OCTAL_MINUS_ONE_VALUE:[C
4: ldc "9223372036854775808L"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.DECIMAL_MIN_VALUE:[C
5: ldc "9223372036854775807L"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.DECIMAL_MAX_VALUE:[C
return
LocalVariableTable:
Start End Slot Name Signature
public static org.eclipse.jdt.internal.compiler.ast.LongLiteral buildLongLiteral(char[], int, int);
descriptor: ([CII)Lorg/eclipse/jdt/internal/compiler/ast/LongLiteral;
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_1
invokestatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.removePrefixZerosAndUnderscores:([CZ)[C
astore 3
start local 3 1: aload 3
arraylength
lookupswitch { // 2
19: 2
24: 6
default: 10
}
2: StackMap locals: char[]
StackMap stack:
aload 3
getstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.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.LongLiteralMinValue
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.LongLiteralMinValue.<init>:([C[CII)V
areturn
6: StackMap locals:
StackMap stack:
aload 3
getstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.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.LongLiteralMinValue
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.LongLiteralMinValue.<init>:([C[CII)V
areturn
10: StackMap locals:
StackMap stack:
new org.eclipse.jdt.internal.compiler.ast.LongLiteral
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.LongLiteral.<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 longReducedToken [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.LongLiteral.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/LongLiteral;
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
public org.eclipse.jdt.internal.compiler.ast.LongLiteral convertToMinValue();
descriptor: ()Lorg/eclipse/jdt/internal/compiler/ast/LongLiteral;
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.LongLiteral.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.LongLiteral.reducedForm:[C
ifnull 3
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.reducedForm:[C
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.source:[C
StackMap locals:
StackMap stack: char[]
4: astore 1
start local 1 5: aload 1
arraylength
tableswitch { // 20 - 20
20: 6
default: 8
}
6: StackMap locals: char[]
StackMap stack:
aload 1
getstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.DECIMAL_MIN_VALUE:[C
iconst_0
invokestatic org.eclipse.jdt.core.compiler.CharOperation.equals:([C[CZ)Z
ifeq 8
7: new org.eclipse.jdt.internal.compiler.ast.LongLiteralMinValue
dup
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.source:[C
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.reducedForm:[C
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.sourceStart:I
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.sourceEnd:I
invokespecial org.eclipse.jdt.internal.compiler.ast.LongLiteralMinValue.<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/LongLiteral;
5 9 1 token [C
public void computeConstant();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.reducedForm:[C
ifnull 1
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.reducedForm:[C
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.source:[C
StackMap locals:
StackMap stack: char[]
2: astore 1
start local 1 3: aload 1
arraylength
istore 2
start local 2 4: iload 2
iconst_1
isub
istore 3
start local 3 5: bipush 10
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: aload 1
iconst_0
caload
bipush 48
if_icmpne 21
8: iload 3
iconst_1
if_icmpne 11
9: aload 0
lconst_0
invokestatic org.eclipse.jdt.internal.compiler.impl.LongConstant.fromValue:(J)Lorg/eclipse/jdt/internal/compiler/impl/Constant;
putfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
10: return
11: StackMap locals: org.eclipse.jdt.internal.compiler.ast.LongLiteral char[] int int int int
StackMap stack:
aload 1
iconst_1
caload
bipush 120
if_icmpeq 12
aload 1
iconst_1
caload
bipush 88
if_icmpne 15
12: StackMap locals:
StackMap stack:
bipush 16
istore 4
13: iconst_2
istore 5
14: goto 21
StackMap locals:
StackMap stack:
15: aload 1
iconst_1
caload
bipush 98
if_icmpeq 16
aload 1
iconst_1
caload
bipush 66
if_icmpne 19
16: StackMap locals:
StackMap stack:
iconst_2
istore 4
17: iconst_2
istore 5
18: goto 21
19: StackMap locals:
StackMap stack:
bipush 8
istore 4
20: iconst_1
istore 5
21: StackMap locals:
StackMap stack:
iload 4
lookupswitch { // 4
2: 22
8: 38
10: 32
16: 26
default: 45
}
22: StackMap locals:
StackMap stack:
iload 3
iconst_2
isub
bipush 64
if_icmple 24
23: return
24: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
iload 4
iload 5
invokevirtual org.eclipse.jdt.internal.compiler.ast.LongLiteral.computeValue:([CIII)V
25: goto 45
26: StackMap locals:
StackMap stack:
iload 2
bipush 19
if_icmpgt 45
27: aload 1
getstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.HEXA_MINUS_ONE_VALUE:[C
invokestatic org.eclipse.jdt.core.compiler.CharOperation.equals:([C[C)Z
ifeq 30
28: aload 0
ldc -1
invokestatic org.eclipse.jdt.internal.compiler.impl.LongConstant.fromValue:(J)Lorg/eclipse/jdt/internal/compiler/impl/Constant;
putfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
29: return
30: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
iload 4
iload 5
invokevirtual org.eclipse.jdt.internal.compiler.ast.LongLiteral.computeValue:([CIII)V
31: goto 45
32: StackMap locals:
StackMap stack:
iload 2
getstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.DECIMAL_MAX_VALUE:[C
arraylength
if_icmpgt 35
33: iload 2
getstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.DECIMAL_MAX_VALUE:[C
arraylength
if_icmpne 36
34: aload 1
getstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.DECIMAL_MAX_VALUE:[C
iconst_0
iload 3
invokestatic org.eclipse.jdt.core.compiler.CharOperation.compareTo:([C[CII)I
ifle 36
35: StackMap locals:
StackMap stack:
return
36: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
iload 4
iload 5
invokevirtual org.eclipse.jdt.internal.compiler.ast.LongLiteral.computeValue:([CIII)V
37: goto 45
38: StackMap locals:
StackMap stack:
iload 2
bipush 24
if_icmpgt 45
39: iload 2
bipush 24
if_icmpne 41
aload 1
iload 5
caload
bipush 49
if_icmple 41
40: return
41: StackMap locals:
StackMap stack:
aload 1
getstatic org.eclipse.jdt.internal.compiler.ast.LongLiteral.OCTAL_MINUS_ONE_VALUE:[C
invokestatic org.eclipse.jdt.core.compiler.CharOperation.equals:([C[C)Z
ifeq 44
42: aload 0
ldc -1
invokestatic org.eclipse.jdt.internal.compiler.impl.LongConstant.fromValue:(J)Lorg/eclipse/jdt/internal/compiler/impl/Constant;
putfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
43: return
44: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
iload 4
iload 5
invokevirtual org.eclipse.jdt.internal.compiler.ast.LongLiteral.computeValue:([CIII)V
45: StackMap locals:
StackMap stack:
return
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 46 0 this Lorg/eclipse/jdt/internal/compiler/ast/LongLiteral;
3 46 1 token [C
4 46 2 tokenLength I
5 46 3 length I
6 46 4 radix I
7 46 5 j I
private void computeValue(char[], int, int, int);
descriptor: ([CIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: lconst_0
lstore 6
start local 6 1: goto 6
2: StackMap locals: org.eclipse.jdt.internal.compiler.ast.LongLiteral char[] int int int top long
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.LongLiteral char[] int int int int long
StackMap stack:
lload 6
iload 3
i2l
lmul
iload 5
i2l
ladd
lstore 6
end local 5 6: StackMap locals: org.eclipse.jdt.internal.compiler.ast.LongLiteral char[] int int int top long
StackMap stack:
iload 4
iload 2
if_icmplt 2
7: aload 0
lload 6
invokestatic org.eclipse.jdt.internal.compiler.impl.LongConstant.fromValue:(J)Lorg/eclipse/jdt/internal/compiler/impl/Constant;
putfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.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/LongLiteral;
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 J
MethodParameters:
Name Flags
token
tokenLength
radix
j
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.LongLiteral.constant:Lorg/eclipse/jdt/internal/compiler/impl/Constant;
aload 0
getfield org.eclipse.jdt.internal.compiler.ast.LongLiteral.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.LongLiteral.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/LongLiteral;
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.LONG: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/LongLiteral;
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/LongLiteral;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/LongLiteral;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/LongLiteral;
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: "LongLiteral.java"