public class com.sun.tools.hat.internal.model.JavaStatic
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.hat.internal.model.JavaStatic
super_class: java.lang.Object
{
private com.sun.tools.hat.internal.model.JavaField field;
descriptor: Lcom/sun/tools/hat/internal/model/JavaField;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.hat.internal.model.JavaThing value;
descriptor: Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.tools.hat.internal.model.JavaField, com.sun.tools.hat.internal.model.JavaThing);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaField;Lcom/sun/tools/hat/internal/model/JavaThing;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.hat.internal.model.JavaStatic.field:Lcom/sun/tools/hat/internal/model/JavaField;
2: aload 0
aload 2
putfield com.sun.tools.hat.internal.model.JavaStatic.value:Lcom/sun/tools/hat/internal/model/JavaThing;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/hat/internal/model/JavaStatic;
0 4 1 field Lcom/sun/tools/hat/internal/model/JavaField;
0 4 2 value Lcom/sun/tools/hat/internal/model/JavaThing;
MethodParameters:
Name Flags
field
value
public void resolve(com.sun.tools.hat.internal.model.JavaClass, com.sun.tools.hat.internal.model.Snapshot);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaClass;Lcom/sun/tools/hat/internal/model/Snapshot;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=3
start local 0 start local 1 start local 2 0: ldc -1
lstore 3
start local 3 1: aload 0
getfield com.sun.tools.hat.internal.model.JavaStatic.value:Lcom/sun/tools/hat/internal/model/JavaThing;
instanceof com.sun.tools.hat.internal.model.JavaObjectRef
ifeq 3
2: aload 0
getfield com.sun.tools.hat.internal.model.JavaStatic.value:Lcom/sun/tools/hat/internal/model/JavaThing;
checkcast com.sun.tools.hat.internal.model.JavaObjectRef
invokevirtual com.sun.tools.hat.internal.model.JavaObjectRef.getId:()J
lstore 3
3: StackMap locals: long
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.hat.internal.model.JavaStatic.value:Lcom/sun/tools/hat/internal/model/JavaThing;
aload 2
aload 0
getfield com.sun.tools.hat.internal.model.JavaStatic.field:Lcom/sun/tools/hat/internal/model/JavaField;
invokevirtual com.sun.tools.hat.internal.model.JavaThing.dereference:(Lcom/sun/tools/hat/internal/model/Snapshot;Lcom/sun/tools/hat/internal/model/JavaField;)Lcom/sun/tools/hat/internal/model/JavaThing;
putfield com.sun.tools.hat.internal.model.JavaStatic.value:Lcom/sun/tools/hat/internal/model/JavaThing;
4: aload 0
getfield com.sun.tools.hat.internal.model.JavaStatic.value:Lcom/sun/tools/hat/internal/model/JavaThing;
invokevirtual com.sun.tools.hat.internal.model.JavaThing.isHeapAllocated:()Z
ifeq 13
5: aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getLoader:()Lcom/sun/tools/hat/internal/model/JavaThing;
aload 2
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getNullThing:()Lcom/sun/tools/hat/internal/model/JavaThing;
if_acmpne 13
6: aload 0
getfield com.sun.tools.hat.internal.model.JavaStatic.value:Lcom/sun/tools/hat/internal/model/JavaThing;
checkcast com.sun.tools.hat.internal.model.JavaHeapObject
pop
7: new java.lang.StringBuilder
dup
ldc "Static reference from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.hat.internal.model.JavaStatic.field:Lcom/sun/tools/hat/internal/model/JavaField;
invokevirtual com.sun.tools.hat.internal.model.JavaField.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 10: aload 2
new com.sun.tools.hat.internal.model.Root
dup
lload 3
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getId:()J
11: bipush 9
aload 5
invokespecial com.sun.tools.hat.internal.model.Root.<init>:(JJILjava/lang/String;)V
12: invokevirtual com.sun.tools.hat.internal.model.Snapshot.addRoot:(Lcom/sun/tools/hat/internal/model/Root;)V
end local 5 13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/hat/internal/model/JavaStatic;
0 14 1 clazz Lcom/sun/tools/hat/internal/model/JavaClass;
0 14 2 snapshot Lcom/sun/tools/hat/internal/model/Snapshot;
1 14 3 id J
10 13 5 s Ljava/lang/String;
MethodParameters:
Name Flags
clazz
snapshot
public com.sun.tools.hat.internal.model.JavaField getField();
descriptor: ()Lcom/sun/tools/hat/internal/model/JavaField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaStatic.field:Lcom/sun/tools/hat/internal/model/JavaField;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaStatic;
public com.sun.tools.hat.internal.model.JavaThing getValue();
descriptor: ()Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaStatic.value:Lcom/sun/tools/hat/internal/model/JavaThing;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaStatic;
}
SourceFile: "JavaStatic.java"