public interface jdk.vm.ci.meta.JavaConstant extends jdk.vm.ci.meta.Constant, jdk.vm.ci.meta.JavaValue
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.vm.ci.meta.JavaConstant
super_class: java.lang.Object
{
public static final jdk.vm.ci.meta.JavaConstant NULL_POINTER;
descriptor: Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant INT_MINUS_1;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant INT_0;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant INT_1;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant INT_2;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant LONG_0;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant LONG_1;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant FLOAT_0;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant FLOAT_1;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant DOUBLE_0;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant DOUBLE_1;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant TRUE;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.meta.PrimitiveConstant FALSE;
descriptor: Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int[] $SWITCH_TABLE$jdk$vm$ci$meta$JavaKind;
descriptor: [I
flags: (0x1019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
public static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Ljdk/vm/ci/meta/JavaConstant;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.vm.ci.meta.JavaConstant.$assertionsDisabled:Z
3: new jdk.vm.ci.meta.NullConstant
dup
invokespecial jdk.vm.ci.meta.NullConstant.<init>:()V
putstatic jdk.vm.ci.meta.JavaConstant.NULL_POINTER:Ljdk/vm/ci/meta/JavaConstant;
4: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
ldc -1
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.INT_MINUS_1:Ljdk/vm/ci/meta/PrimitiveConstant;
5: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
lconst_0
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.INT_0:Ljdk/vm/ci/meta/PrimitiveConstant;
6: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
lconst_1
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.INT_1:Ljdk/vm/ci/meta/PrimitiveConstant;
7: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
ldc 2
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.INT_2:Ljdk/vm/ci/meta/PrimitiveConstant;
8: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
lconst_0
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.LONG_0:Ljdk/vm/ci/meta/PrimitiveConstant;
9: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
lconst_1
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.LONG_1:Ljdk/vm/ci/meta/PrimitiveConstant;
10: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Float:Ljdk/vm/ci/meta/JavaKind;
fconst_0
invokestatic java.lang.Float.floatToRawIntBits:(F)I
i2l
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.FLOAT_0:Ljdk/vm/ci/meta/PrimitiveConstant;
11: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Float:Ljdk/vm/ci/meta/JavaKind;
fconst_1
invokestatic java.lang.Float.floatToRawIntBits:(F)I
i2l
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.FLOAT_1:Ljdk/vm/ci/meta/PrimitiveConstant;
12: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Double:Ljdk/vm/ci/meta/JavaKind;
dconst_0
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.DOUBLE_0:Ljdk/vm/ci/meta/PrimitiveConstant;
13: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Double:Ljdk/vm/ci/meta/JavaKind;
dconst_1
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.DOUBLE_1:Ljdk/vm/ci/meta/PrimitiveConstant;
14: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Boolean:Ljdk/vm/ci/meta/JavaKind;
lconst_1
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.TRUE:Ljdk/vm/ci/meta/PrimitiveConstant;
15: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Boolean:Ljdk/vm/ci/meta/JavaKind;
lconst_0
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
putstatic jdk.vm.ci.meta.JavaConstant.FALSE:Ljdk/vm/ci/meta/PrimitiveConstant;
invokestatic jdk.vm.ci.meta.JavaConstant.$SWITCH_TABLE$jdk$vm$ci$meta$JavaKind:()[I
putstatic jdk.vm.ci.meta.JavaConstant.$SWITCH_TABLE$jdk$vm$ci$meta$JavaKind:[I
return
LocalVariableTable:
Start End Slot Name Signature
public abstract jdk.vm.ci.meta.JavaKind getJavaKind();
descriptor: ()Ljdk/vm/ci/meta/JavaKind;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isNull();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static boolean isNull(jdk.vm.ci.meta.Constant);
descriptor: (Ljdk/vm/ci/meta/Constant;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof jdk.vm.ci.meta.JavaConstant
ifeq 2
1: aload 0
checkcast jdk.vm.ci.meta.JavaConstant
invokeinterface jdk.vm.ci.meta.JavaConstant.isNull:()Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 c Ljdk/vm/ci/meta/Constant;
MethodParameters:
Name Flags
c
public boolean isNonNull();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.JavaConstant.isNull:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/vm/ci/meta/JavaConstant;
public abstract boolean isDefaultForKind();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.Object asBoxedPrimitive();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int asInt();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean asBoolean();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract long asLong();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract float asFloat();
descriptor: ()F
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract double asDouble();
descriptor: ()D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.lang.String toValueString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Illegal:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 2
1: ldc "illegal"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
aload 0
invokeinterface jdk.vm.ci.meta.JavaConstant.asBoxedPrimitive:()Ljava/lang/Object;
invokevirtual jdk.vm.ci.meta.JavaKind.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/vm/ci/meta/JavaConstant;
public static java.lang.String toString(jdk.vm.ci.meta.JavaConstant);
descriptor: (Ljdk/vm/ci/meta/JavaConstant;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Illegal:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 2
1: ldc "illegal"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.getJavaName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokeinterface jdk.vm.ci.meta.JavaConstant.toValueString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 constant Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
constant
public static jdk.vm.ci.meta.PrimitiveConstant forDouble(double);
descriptor: (D)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: dconst_0
dload 0
invokestatic java.lang.Double.compare:(DD)I
ifne 2
1: getstatic jdk.vm.ci.meta.JavaConstant.DOUBLE_0:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
2: StackMap locals:
StackMap stack:
dload 0
dconst_1
invokestatic java.lang.Double.compare:(DD)I
ifne 4
3: getstatic jdk.vm.ci.meta.JavaConstant.DOUBLE_1:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
4: StackMap locals:
StackMap stack:
new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Double:Ljdk/vm/ci/meta/JavaKind;
dload 0
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 d D
MethodParameters:
Name Flags
d
public static jdk.vm.ci.meta.PrimitiveConstant forFloat(float);
descriptor: (F)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: fload 0
fconst_0
invokestatic java.lang.Float.compare:(FF)I
ifne 2
1: getstatic jdk.vm.ci.meta.JavaConstant.FLOAT_0:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
2: StackMap locals:
StackMap stack:
fload 0
fconst_1
invokestatic java.lang.Float.compare:(FF)I
ifne 4
3: getstatic jdk.vm.ci.meta.JavaConstant.FLOAT_1:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
4: StackMap locals:
StackMap stack:
new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Float:Ljdk/vm/ci/meta/JavaKind;
fload 0
invokestatic java.lang.Float.floatToRawIntBits:(F)I
i2l
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 f F
MethodParameters:
Name Flags
f
public static jdk.vm.ci.meta.PrimitiveConstant forLong(long);
descriptor: (J)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifne 2
1: getstatic jdk.vm.ci.meta.JavaConstant.LONG_0:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
2: StackMap locals:
StackMap stack:
lload 0
lconst_1
lcmp
ifne 4
3: getstatic jdk.vm.ci.meta.JavaConstant.LONG_1:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
4: StackMap locals:
StackMap stack:
new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
lload 0
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 i J
MethodParameters:
Name Flags
i
public static jdk.vm.ci.meta.PrimitiveConstant forInt(int);
descriptor: (I)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // -1 - 2
-1: 1
0: 2
1: 3
2: 4
default: 5
}
1: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.INT_MINUS_1:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
2: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.INT_0:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
3: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.INT_1:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
4: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.INT_2:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
5: StackMap locals:
StackMap stack:
new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
iload 0
i2l
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 i I
MethodParameters:
Name Flags
i
public static jdk.vm.ci.meta.PrimitiveConstant forByte(byte);
descriptor: (B)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
iload 0
i2l
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i B
MethodParameters:
Name Flags
i
public static jdk.vm.ci.meta.PrimitiveConstant forBoolean(boolean);
descriptor: (Z)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 1
getstatic jdk.vm.ci.meta.JavaConstant.TRUE:Ljdk/vm/ci/meta/PrimitiveConstant;
goto 2
StackMap locals:
StackMap stack:
1: getstatic jdk.vm.ci.meta.JavaConstant.FALSE:Ljdk/vm/ci/meta/PrimitiveConstant;
StackMap locals:
StackMap stack: jdk.vm.ci.meta.PrimitiveConstant
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i Z
MethodParameters:
Name Flags
i
public static jdk.vm.ci.meta.PrimitiveConstant forChar(char);
descriptor: (C)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
iload 0
i2l
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i C
MethodParameters:
Name Flags
i
public static jdk.vm.ci.meta.PrimitiveConstant forShort(short);
descriptor: (S)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Short:Ljdk/vm/ci/meta/JavaKind;
iload 0
i2l
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i S
MethodParameters:
Name Flags
i
public static jdk.vm.ci.meta.PrimitiveConstant forIntegerKind(jdk.vm.ci.meta.JavaKind, long);
descriptor: (Ljdk/vm/ci/meta/JavaKind;J)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: invokestatic jdk.vm.ci.meta.JavaConstant.$SWITCH_TABLE$jdk$vm$ci$meta$JavaKind:()[I
aload 0
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
iaload
tableswitch { // 1 - 7
1: 1
2: 4
3: 5
4: 6
5: 7
6: 9
7: 8
default: 9
}
1: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifeq 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: invokestatic jdk.vm.ci.meta.JavaConstant.forBoolean:(Z)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
4: StackMap locals:
StackMap stack:
lload 1
l2i
i2b
invokestatic jdk.vm.ci.meta.JavaConstant.forByte:(B)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
5: StackMap locals:
StackMap stack:
lload 1
l2i
i2s
invokestatic jdk.vm.ci.meta.JavaConstant.forShort:(S)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
6: StackMap locals:
StackMap stack:
lload 1
l2i
i2c
invokestatic jdk.vm.ci.meta.JavaConstant.forChar:(C)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
7: StackMap locals:
StackMap stack:
lload 1
l2i
invokestatic jdk.vm.ci.meta.JavaConstant.forInt:(I)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
8: StackMap locals:
StackMap stack:
lload 1
invokestatic jdk.vm.ci.meta.JavaConstant.forLong:(J)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "not an integer kind: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 kind Ljdk/vm/ci/meta/JavaKind;
0 10 1 i J
MethodParameters:
Name Flags
kind
i
public static jdk.vm.ci.meta.PrimitiveConstant forPrimitiveInt(int, long);
descriptor: (IJ)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.vm.ci.meta.JavaConstant.$assertionsDisabled:Z
ifne 1
iload 0
bipush 64
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 0
lookupswitch { // 5
1: 2
8: 5
16: 6
32: 7
64: 8
default: 9
}
2: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifeq 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: invokestatic jdk.vm.ci.meta.JavaConstant.forBoolean:(Z)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
5: StackMap locals:
StackMap stack:
lload 1
l2i
i2b
invokestatic jdk.vm.ci.meta.JavaConstant.forByte:(B)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
6: StackMap locals:
StackMap stack:
lload 1
l2i
i2s
invokestatic jdk.vm.ci.meta.JavaConstant.forShort:(S)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
7: StackMap locals:
StackMap stack:
lload 1
l2i
invokestatic jdk.vm.ci.meta.JavaConstant.forInt:(I)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
8: StackMap locals:
StackMap stack:
lload 1
invokestatic jdk.vm.ci.meta.JavaConstant.forLong:(J)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unsupported integer width: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 bits I
0 10 1 i J
MethodParameters:
Name Flags
bits
i
public static jdk.vm.ci.meta.PrimitiveConstant forBoxedPrimitive(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.Boolean
ifeq 2
1: aload 0
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokestatic jdk.vm.ci.meta.JavaConstant.forBoolean:(Z)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Byte
ifeq 4
3: aload 0
checkcast java.lang.Byte
invokevirtual java.lang.Byte.byteValue:()B
invokestatic jdk.vm.ci.meta.JavaConstant.forByte:(B)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Character
ifeq 6
5: aload 0
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
invokestatic jdk.vm.ci.meta.JavaConstant.forChar:(C)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
6: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Short
ifeq 8
7: aload 0
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
invokestatic jdk.vm.ci.meta.JavaConstant.forShort:(S)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
8: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Integer
ifeq 10
9: aload 0
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokestatic jdk.vm.ci.meta.JavaConstant.forInt:(I)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
10: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Long
ifeq 12
11: aload 0
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokestatic jdk.vm.ci.meta.JavaConstant.forLong:(J)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
12: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Float
ifeq 14
13: aload 0
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
invokestatic jdk.vm.ci.meta.JavaConstant.forFloat:(F)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
14: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Double
ifeq 16
15: aload 0
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokestatic jdk.vm.ci.meta.JavaConstant.forDouble:(D)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
16: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public static jdk.vm.ci.meta.PrimitiveConstant forIllegal();
descriptor: ()Ljdk/vm/ci/meta/PrimitiveConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new jdk.vm.ci.meta.PrimitiveConstant
dup
getstatic jdk.vm.ci.meta.JavaKind.Illegal:Ljdk/vm/ci/meta/JavaKind;
lconst_0
invokespecial jdk.vm.ci.meta.PrimitiveConstant.<init>:(Ljdk/vm/ci/meta/JavaKind;J)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static jdk.vm.ci.meta.JavaConstant defaultForKind(jdk.vm.ci.meta.JavaKind);
descriptor: (Ljdk/vm/ci/meta/JavaKind;)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic jdk.vm.ci.meta.JavaConstant.$SWITCH_TABLE$jdk$vm$ci$meta$JavaKind:()[I
aload 0
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
iaload
tableswitch { // 1 - 9
1: 1
2: 2
3: 4
4: 3
5: 5
6: 7
7: 8
8: 6
9: 9
default: 10
}
1: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.FALSE:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
2: StackMap locals:
StackMap stack:
iconst_0
invokestatic jdk.vm.ci.meta.JavaConstant.forByte:(B)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
3: StackMap locals:
StackMap stack:
iconst_0
invokestatic jdk.vm.ci.meta.JavaConstant.forChar:(C)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
4: StackMap locals:
StackMap stack:
iconst_0
invokestatic jdk.vm.ci.meta.JavaConstant.forShort:(S)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
5: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.INT_0:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
6: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.DOUBLE_0:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
7: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.FLOAT_0:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
8: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.LONG_0:Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
9: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.JavaConstant.NULL_POINTER:Ljdk/vm/ci/meta/JavaConstant;
areturn
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
aload 0
invokevirtual jdk.vm.ci.meta.JavaKind.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 kind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
kind
public static int[] $SWITCH_TABLE$jdk$vm$ci$meta$JavaKind();
descriptor: ()[I
flags: (0x1009) ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.vm.ci.meta.JavaConstant.$SWITCH_TABLE$jdk$vm$ci$meta$JavaKind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.vm.ci.meta.JavaKind.values:()[Ljdk/vm/ci/meta/JavaKind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Boolean:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Double:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
bipush 8
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Float:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
bipush 6
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Illegal:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
bipush 11
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
iconst_5
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
bipush 7
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
bipush 9
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Short:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
iconst_3
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Void:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.ordinal:()I
bipush 10
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
}
SourceFile: "JavaConstant.java"