public final class jdk.vm.ci.hotspot.HotSpotConstantPoolObject implements jdk.vm.ci.meta.JavaConstant
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.vm.ci.hotspot.HotSpotConstantPoolObject
super_class: java.lang.Object
{
private final jdk.vm.ci.meta.JavaConstant constant;
descriptor: Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.vm.ci.hotspot.HotSpotResolvedObjectType type;
descriptor: Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int cpi;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static jdk.vm.ci.meta.JavaConstant forObject(jdk.vm.ci.hotspot.HotSpotResolvedObjectType, int, jdk.vm.ci.meta.JavaConstant);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;ILjdk/vm/ci/meta/JavaConstant;)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.vm.ci.hotspot.HotSpotConstantPoolObject
dup
aload 0
iload 1
aload 2
invokespecial jdk.vm.ci.hotspot.HotSpotConstantPoolObject.<init>:(Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;ILjdk/vm/ci/meta/JavaConstant;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
0 1 1 cpi I
0 1 2 object Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
type
cpi
object
public jdk.vm.ci.hotspot.HotSpotResolvedObjectType getCpType();
descriptor: ()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.type:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public int getCpi();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.cpi:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
void <init>(jdk.vm.ci.hotspot.HotSpotResolvedObjectType, int, jdk.vm.ci.meta.JavaConstant);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;ILjdk/vm/ci/meta/JavaConstant;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.type:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
2: aload 0
iload 2
putfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.cpi:I
3: aload 0
aload 3
putfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
0 5 1 type Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
0 5 2 cpi I
0 5 3 constant Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
type
cpi
constant
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.vm.ci.hotspot.HotSpotConstantPoolObject
ifeq 4
1: aload 1
checkcast jdk.vm.ci.hotspot.HotSpotConstantPoolObject
astore 2
start local 2 2: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.type:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
aload 2
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.type:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 3
aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.cpi:I
aload 2
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.cpi:I
if_icmpne 3
aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
aload 2
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 3
iconst_1
ireturn
StackMap locals: jdk.vm.ci.hotspot.HotSpotConstantPoolObject
StackMap stack:
3: iconst_0
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
0 5 1 o Ljava/lang/Object;
2 4 2 other Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokevirtual java.lang.Object.hashCode:()I
aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.cpi:I
iadd
aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.type:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
invokevirtual java.lang.Object.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public jdk.vm.ci.meta.JavaKind getJavaKind();
descriptor: ()Ljdk/vm/ci/meta/JavaKind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public boolean isNull();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.isNull:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public boolean isDefaultForKind();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.isDefaultForKind:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public java.lang.Object asBoxedPrimitive();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asBoxedPrimitive:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public int asInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public boolean asBoolean();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asBoolean:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public long asLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public float asFloat();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.constant:Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asFloat:()F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public double asDouble();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: dconst_0
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public java.lang.String toValueString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotConstantPoolObject.getCpType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotConstantPoolObject.getCpi:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.Object.toString:()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
invokevirtual jdk.vm.ci.hotspot.HotSpotConstantPoolObject.toValueString:()Ljava/lang/String;
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 1 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
}
SourceFile: "HotSpotConstantPoolObject.java"