public final class jdk.vm.ci.hotspot.HotSpotConstantPoolObject extends jdk.vm.ci.hotspot.HotSpotObjectConstantImpl
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.vm.ci.hotspot.HotSpotConstantPoolObject
super_class: jdk.vm.ci.hotspot.HotSpotObjectConstantImpl
{
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
static jdk.vm.ci.meta.JavaConstant forObject(jdk.vm.ci.hotspot.HotSpotResolvedObjectType, int, java.lang.Object);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;ILjava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0008) 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;ILjava/lang/Object;)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 Ljava/lang/Object;
MethodParameters:
Name Flags
type
cpi
object
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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
checkcast jdk.vm.ci.hotspot.HotSpotObjectConstantImpl
invokevirtual jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.object:()Ljava/lang/Object;
invokestatic jdk.vm.ci.hotspot.HotSpotConstantPoolObject.forObject:(Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;ILjava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
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, java.lang.Object);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;ILjava/lang/Object;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
iconst_0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.<init>:(Ljava/lang/Object;Z)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: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
0 4 1 type Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
0 4 2 cpi I
0 4 3 object Ljava/lang/Object;
MethodParameters:
Name Flags
type
cpi
object
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 5
1: aload 0
aload 1
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.equals:(Ljava/lang/Object;)Z
ifeq 5
2: aload 1
checkcast jdk.vm.ci.hotspot.HotSpotConstantPoolObject
astore 2
start local 2 3: 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;
if_acmpne 4
aload 0
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.cpi:I
aload 2
getfield jdk.vm.ci.hotspot.HotSpotConstantPoolObject.cpi:I
if_icmpne 4
iconst_1
ireturn
StackMap locals: jdk.vm.ci.hotspot.HotSpotConstantPoolObject
StackMap stack:
4: iconst_0
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
0 6 1 o Ljava/lang/Object;
3 5 2 other Ljdk/vm/ci/hotspot/HotSpotConstantPoolObject;
MethodParameters:
Name Flags
o
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 jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.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;
public java.lang.Object asBoxedPrimitive();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.asBoxedPrimitive:()Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.vm.ci.meta.JavaConstant getCallSiteTarget(jdk.vm.ci.meta.Assumptions);
descriptor: (Ljdk/vm/ci/meta/Assumptions;)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.getCallSiteTarget:(Ljdk/vm/ci/meta/Assumptions;)Ljdk/vm/ci/meta/JavaConstant;
areturn
LocalVariableTable:
Start End Slot Name Signature
public int asInt();
descriptor: ()I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.asInt:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isInternedString();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.isInternedString:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeInvisibleAnnotations:
jdk.vm.ci.hotspot.SuppressFBWarnings(value = {"ES_COMPARING_STRINGS_WITH_EQ"}, justification = "reference equality is what we want")
public int hashCode();
descriptor: ()I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.hashCode:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public long asLong();
descriptor: ()J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.asLong:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.vm.ci.meta.JavaKind getJavaKind();
descriptor: ()Ljdk/vm/ci/meta/JavaKind;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isCompressed();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.isCompressed:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.vm.ci.hotspot.HotSpotResolvedObjectType getType();
descriptor: ()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.getType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isDefaultForKind();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.isDefaultForKind:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public double asDouble();
descriptor: ()D
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.asDouble:()D
dreturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.vm.ci.meta.JavaConstant getClassLoader();
descriptor: ()Ljdk/vm/ci/meta/JavaConstant;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.getClassLoader:()Ljdk/vm/ci/meta/JavaConstant;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.vm.ci.meta.JavaConstant uncompress();
descriptor: ()Ljdk/vm/ci/meta/JavaConstant;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.uncompress:()Ljdk/vm/ci/meta/JavaConstant;
areturn
LocalVariableTable:
Start End Slot Name Signature
public int getIdentityHashCode();
descriptor: ()I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.getIdentityHashCode:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.vm.ci.meta.JavaConstant compress();
descriptor: ()Ljdk/vm/ci/meta/JavaConstant;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.compress:()Ljdk/vm/ci/meta/JavaConstant;
areturn
LocalVariableTable:
Start End Slot Name Signature
public float asFloat();
descriptor: ()F
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.asFloat:()F
freturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.vm.ci.meta.JavaConstant getSuperclass();
descriptor: ()Ljdk/vm/ci/meta/JavaConstant;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.getSuperclass:()Ljdk/vm/ci/meta/JavaConstant;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isNull();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.isNull:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object asObject(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.asObject:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object asObject(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.asObject:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.vm.ci.meta.JavaConstant getComponentType();
descriptor: ()Ljdk/vm/ci/meta/JavaConstant;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.getComponentType:()Ljdk/vm/ci/meta/JavaConstant;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean asBoolean();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.asBoolean:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HotSpotConstantPoolObject.java"