class jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl implements jdk.vm.ci.hotspot.HotSpotResolvedJavaField
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl
super_class: java.lang.Object
{
private final jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl holder;
descriptor: Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.vm.ci.meta.JavaType type;
descriptor: Ljdk/vm/ci/meta/JavaType;
flags: (0x0002) ACC_PRIVATE
private final int offset;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final short index;
descriptor: S
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int modifiers;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
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.hotspot.HotSpotResolvedJavaFieldImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl, jdk.vm.ci.meta.JavaType, long, int, int);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;Ljdk/vm/ci/meta/JavaType;JII)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.holder:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
2: aload 0
aload 2
putfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.type:Ljdk/vm/ci/meta/JavaType;
3: aload 0
iload 6
i2s
putfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.index:S
4: getstatic jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.$assertionsDisabled:Z
ifne 5
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.index:S
iload 6
if_icmpeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl jdk.vm.ci.meta.JavaType long int int
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.$assertionsDisabled:Z
ifne 6
lload 3
ldc -1
lcmp
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.$assertionsDisabled:Z
ifne 7
lload 3
lload 3
l2i
i2l
lcmp
ifeq 7
new java.lang.AssertionError
dup
ldc "offset larger than int"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
lload 3
l2i
putfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.offset:I
8: aload 0
iload 5
putfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.modifiers:I
9: return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
0 10 1 holder Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
0 10 2 type Ljdk/vm/ci/meta/JavaType;
0 10 3 offset J
0 10 5 modifiers I
0 10 6 index I
MethodParameters:
Name Flags
holder
type
offset
modifiers
index
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 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.vm.ci.hotspot.HotSpotResolvedJavaField
ifeq 8
3: aload 1
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl
astore 2
start local 2 4: aload 2
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.offset:I
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.offset:I
if_icmpne 5
aload 2
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.isStatic:()Z
aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.isStatic:()Z
if_icmpeq 6
5: StackMap locals: jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.holder:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
aload 2
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.holder:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
0 9 1 obj Ljava/lang/Object;
4 8 2 that Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
MethodParameters:
Name Flags
obj
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.HotSpotResolvedJavaFieldImpl.holder:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.hashCode:()I
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.offset:I
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
public int getModifiers();
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.HotSpotResolvedJavaFieldImpl.modifiers:I
invokestatic jdk.vm.ci.hotspot.HotSpotModifiers.jvmFieldModifiers:()I
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
public boolean isInternal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.modifiers:I
invokestatic jdk.vm.ci.hotspot.HotSpotVMConfig.config:()Ljdk/vm/ci/hotspot/HotSpotVMConfig;
getfield jdk.vm.ci.hotspot.HotSpotVMConfig.jvmAccFieldInternal:I
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
public boolean isInObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.isStatic:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.getDeclaringClass:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.fromObjectClass:(Ljava/lang/Class;)Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
0 3 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl getDeclaringClass();
descriptor: ()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.holder:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.holder:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.index:S
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.createFieldInfo:(I)Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl$FieldInfo;
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl$FieldInfo.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
public jdk.vm.ci.meta.JavaType getType();
descriptor: ()Ljdk/vm/ci/meta/JavaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.type:Ljdk/vm/ci/meta/JavaType;
astore 1
start local 1 1: aload 1
instanceof jdk.vm.ci.hotspot.HotSpotUnresolvedJavaType
ifeq 6
2: aload 1
checkcast jdk.vm.ci.hotspot.HotSpotUnresolvedJavaType
astore 2
start local 2 3: aload 2
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.holder:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
invokevirtual jdk.vm.ci.hotspot.HotSpotUnresolvedJavaType.reresolve:(Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 0
aload 3
putfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.type:Ljdk/vm/ci/meta/JavaType;
end local 3 end local 2 6: StackMap locals: jdk.vm.ci.meta.JavaType
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.type:Ljdk/vm/ci/meta/JavaType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
1 7 1 currentType Ljdk/vm/ci/meta/JavaType;
3 6 2 unresolvedType Ljdk/vm/ci/hotspot/HotSpotUnresolvedJavaType;
4 6 3 resolved Ljdk/vm/ci/meta/ResolvedJavaType;
public int offset();
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.HotSpotResolvedJavaFieldImpl.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
ldc "HotSpotField<%H.%n %t:"
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.format:(Ljava/lang/String;)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
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.offset:I
invokevirtual java.lang.StringBuilder.append:(I)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 1 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
public boolean isSynthetic();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic jdk.vm.ci.hotspot.HotSpotVMConfig.config:()Ljdk/vm/ci/hotspot/HotSpotVMConfig;
getfield jdk.vm.ci.hotspot.HotSpotVMConfig.jvmAccSynthetic:I
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.modifiers:I
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
public boolean isStable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic jdk.vm.ci.hotspot.HotSpotVMConfig.config:()Ljdk/vm/ci/hotspot/HotSpotVMConfig;
getfield jdk.vm.ci.hotspot.HotSpotVMConfig.jvmAccFieldStable:I
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.modifiers:I
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
public java.lang.annotation.Annotation[] getAnnotations();
descriptor: ()[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.toJava:()Ljava/lang/reflect/Field;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.reflect.Field.getAnnotations:()[Ljava/lang/annotation/Annotation;
areturn
3: StackMap locals: java.lang.reflect.Field
StackMap stack:
iconst_0
anewarray java.lang.annotation.Annotation
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
1 4 1 javaField Ljava/lang/reflect/Field;
public java.lang.annotation.Annotation[] getDeclaredAnnotations();
descriptor: ()[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.toJava:()Ljava/lang/reflect/Field;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.reflect.Field.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
areturn
3: StackMap locals: java.lang.reflect.Field
StackMap stack:
iconst_0
anewarray java.lang.annotation.Annotation
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
1 4 1 javaField Ljava/lang/reflect/Field;
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.toJava:()Ljava/lang/reflect/Field;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokevirtual java.lang.reflect.Field.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
areturn
3: StackMap locals: java.lang.reflect.Field
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
0 4 1 annotationClass Ljava/lang/Class<TT;>;
1 4 2 javaField Ljava/lang/reflect/Field;
Signature: <T::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
annotationClass
private java.lang.reflect.Field toJava();
descriptor: ()Ljava/lang/reflect/Field;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.isInternal:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.holder:Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.mirror:()Ljava/lang/Class;
aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.getName:()Ljava/lang/String;
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
pop
5: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/vm/ci/hotspot/HotSpotResolvedJavaFieldImpl;
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldException
2 3 4 Class java.lang.NoClassDefFoundError
public jdk.vm.ci.meta.JavaType getDeclaringClass();
descriptor: ()Ljdk/vm/ci/meta/JavaType;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.getDeclaringClass:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.vm.ci.meta.ResolvedJavaType getDeclaringClass();
descriptor: ()Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.getDeclaringClass:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HotSpotResolvedJavaFieldImpl.java"
InnerClasses:
FieldInfo = jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl$FieldInfo of jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl