public class com.sun.tools.hat.internal.model.JavaClass extends com.sun.tools.hat.internal.model.JavaHeapObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.hat.internal.model.JavaClass
super_class: com.sun.tools.hat.internal.model.JavaHeapObject
{
private long id;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.hat.internal.model.JavaThing superclass;
descriptor: Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.hat.internal.model.JavaThing loader;
descriptor: Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.hat.internal.model.JavaThing signers;
descriptor: Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.hat.internal.model.JavaThing protectionDomain;
descriptor: Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.hat.internal.model.JavaField[] fields;
descriptor: [Lcom/sun/tools/hat/internal/model/JavaField;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.hat.internal.model.JavaStatic[] statics;
descriptor: [Lcom/sun/tools/hat/internal/model/JavaStatic;
flags: (0x0002) ACC_PRIVATE
private static final com.sun.tools.hat.internal.model.JavaClass[] EMPTY_CLASS_ARRAY;
descriptor: [Lcom/sun/tools/hat/internal/model/JavaClass;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private com.sun.tools.hat.internal.model.JavaClass[] subclasses;
descriptor: [Lcom/sun/tools/hat/internal/model/JavaClass;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector<com.sun.tools.hat.internal.model.JavaHeapObject> instances;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Lcom/sun/tools/hat/internal/model/JavaHeapObject;>;
private com.sun.tools.hat.internal.model.Snapshot mySnapshot;
descriptor: Lcom/sun/tools/hat/internal/model/Snapshot;
flags: (0x0002) ACC_PRIVATE
private int instanceSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int totalNumFields;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray com.sun.tools.hat.internal.model.JavaClass
putstatic com.sun.tools.hat.internal.model.JavaClass.EMPTY_CLASS_ARRAY:[Lcom/sun/tools/hat/internal/model/JavaClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(long, java.lang.String, long, long, long, long, com.sun.tools.hat.internal.model.JavaField[], com.sun.tools.hat.internal.model.JavaStatic[], int);
descriptor: (JLjava/lang/String;JJJJ[Lcom/sun/tools/hat/internal/model/JavaField;[Lcom/sun/tools/hat/internal/model/JavaStatic;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=10
start local 0 start local 1 start local 3 start local 4 start local 6 start local 8 start local 10 start local 12 start local 13 start local 14 0: aload 0
invokespecial com.sun.tools.hat.internal.model.JavaHeapObject.<init>:()V
1: aload 0
getstatic com.sun.tools.hat.internal.model.JavaClass.EMPTY_CLASS_ARRAY:[Lcom/sun/tools/hat/internal/model/JavaClass;
putfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
2: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield com.sun.tools.hat.internal.model.JavaClass.instances:Ljava/util/Vector;
3: aload 0
lload 1
putfield com.sun.tools.hat.internal.model.JavaClass.id:J
4: aload 0
aload 3
putfield com.sun.tools.hat.internal.model.JavaClass.name:Ljava/lang/String;
5: aload 0
new com.sun.tools.hat.internal.model.JavaObjectRef
dup
lload 4
invokespecial com.sun.tools.hat.internal.model.JavaObjectRef.<init>:(J)V
putfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
6: aload 0
new com.sun.tools.hat.internal.model.JavaObjectRef
dup
lload 6
invokespecial com.sun.tools.hat.internal.model.JavaObjectRef.<init>:(J)V
putfield com.sun.tools.hat.internal.model.JavaClass.loader:Lcom/sun/tools/hat/internal/model/JavaThing;
7: aload 0
new com.sun.tools.hat.internal.model.JavaObjectRef
dup
lload 8
invokespecial com.sun.tools.hat.internal.model.JavaObjectRef.<init>:(J)V
putfield com.sun.tools.hat.internal.model.JavaClass.signers:Lcom/sun/tools/hat/internal/model/JavaThing;
8: aload 0
new com.sun.tools.hat.internal.model.JavaObjectRef
dup
lload 10
invokespecial com.sun.tools.hat.internal.model.JavaObjectRef.<init>:(J)V
putfield com.sun.tools.hat.internal.model.JavaClass.protectionDomain:Lcom/sun/tools/hat/internal/model/JavaThing;
9: aload 0
aload 12
putfield com.sun.tools.hat.internal.model.JavaClass.fields:[Lcom/sun/tools/hat/internal/model/JavaField;
10: aload 0
aload 13
putfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
11: aload 0
iload 14
putfield com.sun.tools.hat.internal.model.JavaClass.instanceSize:I
12: return
end local 14 end local 13 end local 12 end local 10 end local 8 end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 13 1 id J
0 13 3 name Ljava/lang/String;
0 13 4 superclassId J
0 13 6 loaderId J
0 13 8 signersId J
0 13 10 protDomainId J
0 13 12 fields [Lcom/sun/tools/hat/internal/model/JavaField;
0 13 13 statics [Lcom/sun/tools/hat/internal/model/JavaStatic;
0 13 14 instanceSize I
MethodParameters:
Name Flags
id
name
superclassId
loaderId
signersId
protDomainId
fields
statics
instanceSize
public void <init>(java.lang.String, long, long, long, long, com.sun.tools.hat.internal.model.JavaField[], com.sun.tools.hat.internal.model.JavaStatic[], int);
descriptor: (Ljava/lang/String;JJJJ[Lcom/sun/tools/hat/internal/model/JavaField;[Lcom/sun/tools/hat/internal/model/JavaStatic;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=15, locals=13, args_size=9
start local 0 start local 1 start local 2 start local 4 start local 6 start local 8 start local 10 start local 11 start local 12 0: aload 0
ldc -1
aload 1
lload 2
lload 4
lload 6
1: lload 8
aload 10
aload 11
iload 12
invokespecial com.sun.tools.hat.internal.model.JavaClass.<init>:(JLjava/lang/String;JJJJ[Lcom/sun/tools/hat/internal/model/JavaField;[Lcom/sun/tools/hat/internal/model/JavaStatic;I)V
2: return
end local 12 end local 11 end local 10 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 3 1 name Ljava/lang/String;
0 3 2 superclassId J
0 3 4 loaderId J
0 3 6 signersId J
0 3 8 protDomainId J
0 3 10 fields [Lcom/sun/tools/hat/internal/model/JavaField;
0 3 11 statics [Lcom/sun/tools/hat/internal/model/JavaStatic;
0 3 12 instanceSize I
MethodParameters:
Name Flags
name
superclassId
loaderId
signersId
protDomainId
fields
statics
instanceSize
public final com.sun.tools.hat.internal.model.JavaClass getClazz();
descriptor: ()Lcom/sun/tools/hat/internal/model/JavaClass;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getJavaLangClass:()Lcom/sun/tools/hat/internal/model/JavaClass;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public final int getIdentifierSize();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getIdentifierSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public final int getMinimumObjectSize();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getMinimumObjectSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public void resolve(com.sun.tools.hat.internal.model.Snapshot);
descriptor: (Lcom/sun/tools/hat/internal/model/Snapshot;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
ifnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
3: aload 0
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.resolveSuperclass:(Lcom/sun/tools/hat/internal/model/Snapshot;)V
4: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
ifnull 6
5: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
checkcast com.sun.tools.hat.internal.model.JavaClass
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.addSubclass:(Lcom/sun/tools/hat/internal/model/JavaClass;)V
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.loader:Lcom/sun/tools/hat/internal/model/JavaThing;
aload 1
aconst_null
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.JavaClass.loader:Lcom/sun/tools/hat/internal/model/JavaThing;
7: aload 0
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.signers:Lcom/sun/tools/hat/internal/model/JavaThing;
aload 1
aconst_null
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.JavaClass.signers:Lcom/sun/tools/hat/internal/model/JavaThing;
8: aload 0
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.protectionDomain:Lcom/sun/tools/hat/internal/model/JavaThing;
aload 1
aconst_null
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.JavaClass.protectionDomain:Lcom/sun/tools/hat/internal/model/JavaThing;
9: iconst_0
istore 2
start local 2 10: goto 13
11: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
iload 2
aaload
aload 0
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaStatic.resolve:(Lcom/sun/tools/hat/internal/model/JavaClass;Lcom/sun/tools/hat/internal/model/Snapshot;)V
12: iinc 2 1
StackMap locals:
StackMap stack:
13: iload 2
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
arraylength
if_icmplt 11
end local 2 14: aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getJavaLangClass:()Lcom/sun/tools/hat/internal/model/JavaClass;
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.addInstance:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
15: aload 0
aload 1
invokespecial com.sun.tools.hat.internal.model.JavaHeapObject.resolve:(Lcom/sun/tools/hat/internal/model/Snapshot;)V
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 17 1 snapshot Lcom/sun/tools/hat/internal/model/Snapshot;
10 14 2 i I
MethodParameters:
Name Flags
snapshot
public void resolveSuperclass(com.sun.tools.hat.internal.model.Snapshot);
descriptor: (Lcom/sun/tools/hat/internal/model/Snapshot;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
ifnull 13
1: aload 0
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.fields:[Lcom/sun/tools/hat/internal/model/JavaField;
arraylength
putfield com.sun.tools.hat.internal.model.JavaClass.totalNumFields:I
2: aload 0
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
aload 1
aconst_null
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.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
3: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getNullThing:()Lcom/sun/tools/hat/internal/model/JavaThing;
if_acmpne 6
4: aload 0
aconst_null
putfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
5: goto 13
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
checkcast com.sun.tools.hat.internal.model.JavaClass
astore 2
start local 2 7: aload 2
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.resolveSuperclass:(Lcom/sun/tools/hat/internal/model/Snapshot;)V
8: aload 0
dup
getfield com.sun.tools.hat.internal.model.JavaClass.totalNumFields:I
aload 2
getfield com.sun.tools.hat.internal.model.JavaClass.totalNumFields:I
iadd
putfield com.sun.tools.hat.internal.model.JavaClass.totalNumFields:I
end local 2 9: goto 13
StackMap locals:
StackMap stack: java.lang.ClassCastException
10: pop
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Warning! Superclass of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: aload 0
aconst_null
putfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 14 1 snapshot Lcom/sun/tools/hat/internal/model/Snapshot;
7 9 2 sc Lcom/sun/tools/hat/internal/model/JavaClass;
Exception table:
from to target type
6 9 10 Class java.lang.ClassCastException
MethodParameters:
Name Flags
snapshot
public boolean isString();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getJavaLangString:()Lcom/sun/tools/hat/internal/model/JavaClass;
aload 0
if_acmpne 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 Lcom/sun/tools/hat/internal/model/JavaClass;
public boolean isClassLoader();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getJavaLangClassLoader:()Lcom/sun/tools/hat/internal/model/JavaClass;
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.isAssignableFrom:(Lcom/sun/tools/hat/internal/model/JavaClass;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public com.sun.tools.hat.internal.model.JavaField getField(int);
descriptor: (I)Lcom/sun/tools/hat/internal/model/JavaField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.fields:[Lcom/sun/tools/hat/internal/model/JavaField;
arraylength
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.Error
dup
new java.lang.StringBuilder
dup
ldc "No field "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.fields:[Lcom/sun/tools/hat/internal/model/JavaField;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 3 1 i I
MethodParameters:
Name Flags
i
public int getNumFieldsForInstance();
descriptor: ()I
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.JavaClass.totalNumFields:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public com.sun.tools.hat.internal.model.JavaField getFieldForInstance(int);
descriptor: (I)Lcom/sun/tools/hat/internal/model/JavaField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
ifnull 5
1: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
checkcast com.sun.tools.hat.internal.model.JavaClass
astore 2
start local 2 2: iload 1
aload 2
getfield com.sun.tools.hat.internal.model.JavaClass.totalNumFields:I
if_icmpge 4
3: aload 2
iload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getFieldForInstance:(I)Lcom/sun/tools/hat/internal/model/JavaField;
areturn
4: StackMap locals: com.sun.tools.hat.internal.model.JavaClass
StackMap stack:
iload 1
aload 2
getfield com.sun.tools.hat.internal.model.JavaClass.totalNumFields:I
isub
istore 1
end local 2 5: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getField:(I)Lcom/sun/tools/hat/internal/model/JavaField;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 6 1 i I
2 5 2 sc Lcom/sun/tools/hat/internal/model/JavaClass;
MethodParameters:
Name Flags
i
public com.sun.tools.hat.internal.model.JavaClass getClassForField(int);
descriptor: (I)Lcom/sun/tools/hat/internal/model/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
ifnull 4
1: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
checkcast com.sun.tools.hat.internal.model.JavaClass
astore 2
start local 2 2: iload 1
aload 2
getfield com.sun.tools.hat.internal.model.JavaClass.totalNumFields:I
if_icmpge 4
3: aload 2
iload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getClassForField:(I)Lcom/sun/tools/hat/internal/model/JavaClass;
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 5 1 i I
2 4 2 sc Lcom/sun/tools/hat/internal/model/JavaClass;
MethodParameters:
Name Flags
i
public long getId();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.id:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
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.JavaClass.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public boolean isArray();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.name:Ljava/lang/String;
bipush 91
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 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 Lcom/sun/tools/hat/internal/model/JavaClass;
public java.util.Enumeration getInstances(boolean);
descriptor: (Z)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iload 1
ifeq 10
1: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instances:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: java.util.Enumeration int
StackMap stack:
new com.sun.tools.hat.internal.util.CompositeEnumeration
dup
aload 2
5: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
iload 3
aaload
iconst_1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getInstances:(Z)Ljava/util/Enumeration;
6: invokespecial com.sun.tools.hat.internal.util.CompositeEnumeration.<init>:(Ljava/util/Enumeration;Ljava/util/Enumeration;)V
astore 2
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
arraylength
if_icmplt 4
end local 3 9: aload 2
areturn
end local 2 10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instances:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 11 1 includeSubclasses Z
2 10 2 res Ljava/util/Enumeration;
3 9 3 i I
MethodParameters:
Name Flags
includeSubclasses
public int getInstancesCount(boolean);
descriptor: (Z)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instances:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 2
start local 2 1: iload 1
ifeq 7
2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int int
StackMap stack:
iload 2
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
iload 3
aaload
iload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getInstancesCount:(Z)I
iadd
istore 2
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
arraylength
if_icmplt 4
end local 3 7: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 8 1 includeSubclasses Z
1 8 2 result I
3 7 3 i I
MethodParameters:
Name Flags
includeSubclasses
public com.sun.tools.hat.internal.model.JavaClass[] getSubclasses();
descriptor: ()[Lcom/sun/tools/hat/internal/model/JavaClass;
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.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public com.sun.tools.hat.internal.model.JavaClass getSuperclass();
descriptor: ()Lcom/sun/tools/hat/internal/model/JavaClass;
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.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
checkcast com.sun.tools.hat.internal.model.JavaClass
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public com.sun.tools.hat.internal.model.JavaThing getLoader();
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.JavaClass.loader: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/JavaClass;
public boolean isBootstrap();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.loader:Lcom/sun/tools/hat/internal/model/JavaThing;
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getNullThing:()Lcom/sun/tools/hat/internal/model/JavaThing;
if_acmpne 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 Lcom/sun/tools/hat/internal/model/JavaClass;
public com.sun.tools.hat.internal.model.JavaThing getSigners();
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.JavaClass.signers: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/JavaClass;
public com.sun.tools.hat.internal.model.JavaThing getProtectionDomain();
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.JavaClass.protectionDomain: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/JavaClass;
public com.sun.tools.hat.internal.model.JavaField[] getFields();
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.JavaClass.fields:[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/JavaClass;
public com.sun.tools.hat.internal.model.JavaField[] getFieldsForInstance();
descriptor: ()[Lcom/sun/tools/hat/internal/model/JavaField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.addFields:(Ljava/util/Vector;)V
2: aload 1
invokevirtual java.util.Vector.size:()I
anewarray com.sun.tools.hat.internal.model.JavaField
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: java.util.Vector com.sun.tools.hat.internal.model.JavaField[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.tools.hat.internal.model.JavaField
aastore
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
invokevirtual java.util.Vector.size:()I
if_icmplt 5
end local 3 8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
1 9 1 v Ljava/util/Vector<Lcom/sun/tools/hat/internal/model/JavaField;>;
3 9 2 result [Lcom/sun/tools/hat/internal/model/JavaField;
4 8 3 i I
public com.sun.tools.hat.internal.model.JavaStatic[] getStatics();
descriptor: ()[Lcom/sun/tools/hat/internal/model/JavaStatic;
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.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public com.sun.tools.hat.internal.model.JavaThing getStaticField(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
iload 2
aaload
astore 3
start local 3 3: aload 3
invokevirtual com.sun.tools.hat.internal.model.JavaStatic.getField:()Lcom/sun/tools/hat/internal/model/JavaField;
invokevirtual com.sun.tools.hat.internal.model.JavaField.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
invokevirtual com.sun.tools.hat.internal.model.JavaStatic.getValue:()Lcom/sun/tools/hat/internal/model/JavaThing;
areturn
end local 3 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
arraylength
if_icmplt 2
end local 2 7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 8 1 name Ljava/lang/String;
1 7 2 i I
3 5 3 s Lcom/sun/tools/hat/internal/model/JavaStatic;
MethodParameters:
Name Flags
name
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
ldc "class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.name: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 Lcom/sun/tools/hat/internal/model/JavaClass;
public int compareTo(com.sun.tools.hat.internal.model.JavaThing);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaThing;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.tools.hat.internal.model.JavaClass
ifeq 2
1: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.name:Ljava/lang/String;
aload 1
checkcast com.sun.tools.hat.internal.model.JavaClass
getfield com.sun.tools.hat.internal.model.JavaClass.name:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.sun.tools.hat.internal.model.JavaHeapObject.compareTo:(Lcom/sun/tools/hat/internal/model/JavaThing;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 3 1 other Lcom/sun/tools/hat/internal/model/JavaThing;
MethodParameters:
Name Flags
other
public boolean isAssignableFrom(com.sun.tools.hat.internal.model.JavaClass);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaClass;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, 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
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
checkcast com.sun.tools.hat.internal.model.JavaClass
invokevirtual com.sun.tools.hat.internal.model.JavaClass.isAssignableFrom:(Lcom/sun/tools/hat/internal/model/JavaClass;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 5 1 other Lcom/sun/tools/hat/internal/model/JavaClass;
MethodParameters:
Name Flags
other
public java.lang.String describeReferenceTo(com.sun.tools.hat.internal.model.JavaThing, com.sun.tools.hat.internal.model.Snapshot);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaThing;Lcom/sun/tools/hat/internal/model/Snapshot;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 8
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
iload 3
aaload
invokevirtual com.sun.tools.hat.internal.model.JavaStatic.getField:()Lcom/sun/tools/hat/internal/model/JavaField;
astore 4
start local 4 3: aload 4
invokevirtual com.sun.tools.hat.internal.model.JavaField.hasId:()Z
ifeq 7
4: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
iload 3
aaload
invokevirtual com.sun.tools.hat.internal.model.JavaStatic.getValue:()Lcom/sun/tools/hat/internal/model/JavaThing;
astore 5
start local 5 5: aload 5
aload 1
if_acmpne 7
6: new java.lang.StringBuilder
dup
ldc "static field "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual com.sun.tools.hat.internal.model.JavaField.getName:()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 5 end local 4 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
arraylength
if_icmplt 2
end local 3 9: aload 0
aload 1
aload 2
invokespecial com.sun.tools.hat.internal.model.JavaHeapObject.describeReferenceTo:(Lcom/sun/tools/hat/internal/model/JavaThing;Lcom/sun/tools/hat/internal/model/Snapshot;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 10 1 target Lcom/sun/tools/hat/internal/model/JavaThing;
0 10 2 ss Lcom/sun/tools/hat/internal/model/Snapshot;
1 9 3 i I
3 7 4 f Lcom/sun/tools/hat/internal/model/JavaField;
5 7 5 other Lcom/sun/tools/hat/internal/model/JavaThing;
MethodParameters:
Name Flags
target
ss
public int getInstanceSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instanceSize:I
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getMinimumObjectSize:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
public long getTotalInstanceSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instances:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 1
start local 1 1: iload 1
ifeq 2
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.isArray:()Z
ifne 3
2: StackMap locals: int
StackMap stack:
iload 1
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instanceSize:I
imul
i2l
lreturn
3: StackMap locals:
StackMap stack:
lconst_0
lstore 2
start local 2 4: iconst_0
istore 4
start local 4 5: goto 9
6: StackMap locals: long int
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instances:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.tools.hat.internal.model.JavaThing
astore 5
start local 5 7: lload 2
aload 5
invokevirtual com.sun.tools.hat.internal.model.JavaThing.getSize:()I
i2l
ladd
lstore 2
end local 5 8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 1
if_icmplt 6
end local 4 10: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
1 11 1 count I
4 11 2 result J
5 10 4 i I
7 8 5 t Lcom/sun/tools/hat/internal/model/JavaThing;
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getJavaLangClass:()Lcom/sun/tools/hat/internal/model/JavaClass;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: com.sun.tools.hat.internal.model.JavaClass
StackMap stack:
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getInstanceSize:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
1 4 1 cl Lcom/sun/tools/hat/internal/model/JavaClass;
public void visitReferencedObjects(com.sun.tools.hat.internal.model.JavaHeapObjectVisitor);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaHeapObjectVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.tools.hat.internal.model.JavaHeapObject.visitReferencedObjects:(Lcom/sun/tools/hat/internal/model/JavaHeapObjectVisitor;)V
1: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getSuperclass:()Lcom/sun/tools/hat/internal/model/JavaClass;
astore 2
start local 2 2: aload 2
ifnull 3
aload 1
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getSuperclass:()Lcom/sun/tools/hat/internal/model/JavaClass;
invokeinterface com.sun.tools.hat.internal.model.JavaHeapObjectVisitor.visit:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
3: StackMap locals: com.sun.tools.hat.internal.model.JavaHeapObject
StackMap stack:
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getLoader:()Lcom/sun/tools/hat/internal/model/JavaThing;
astore 3
start local 3 4: aload 3
instanceof com.sun.tools.hat.internal.model.JavaHeapObject
ifeq 6
5: aload 1
aload 3
checkcast com.sun.tools.hat.internal.model.JavaHeapObject
invokeinterface com.sun.tools.hat.internal.model.JavaHeapObjectVisitor.visit:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
6: StackMap locals: com.sun.tools.hat.internal.model.JavaThing
StackMap stack:
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getSigners:()Lcom/sun/tools/hat/internal/model/JavaThing;
astore 3
7: aload 3
instanceof com.sun.tools.hat.internal.model.JavaHeapObject
ifeq 9
8: aload 1
aload 3
checkcast com.sun.tools.hat.internal.model.JavaHeapObject
invokeinterface com.sun.tools.hat.internal.model.JavaHeapObjectVisitor.visit:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getProtectionDomain:()Lcom/sun/tools/hat/internal/model/JavaThing;
astore 3
10: aload 3
instanceof com.sun.tools.hat.internal.model.JavaHeapObject
ifeq 12
11: aload 1
aload 3
checkcast com.sun.tools.hat.internal.model.JavaHeapObject
invokeinterface com.sun.tools.hat.internal.model.JavaHeapObjectVisitor.visit:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
12: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 13: goto 20
14: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
iload 4
aaload
invokevirtual com.sun.tools.hat.internal.model.JavaStatic.getField:()Lcom/sun/tools/hat/internal/model/JavaField;
astore 5
start local 5 15: aload 1
aload 0
aload 5
invokeinterface com.sun.tools.hat.internal.model.JavaHeapObjectVisitor.exclude:(Lcom/sun/tools/hat/internal/model/JavaClass;Lcom/sun/tools/hat/internal/model/JavaField;)Z
ifne 19
aload 5
invokevirtual com.sun.tools.hat.internal.model.JavaField.hasId:()Z
ifeq 19
16: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
iload 4
aaload
invokevirtual com.sun.tools.hat.internal.model.JavaStatic.getValue:()Lcom/sun/tools/hat/internal/model/JavaThing;
astore 3
17: aload 3
instanceof com.sun.tools.hat.internal.model.JavaHeapObject
ifeq 19
18: aload 1
aload 3
checkcast com.sun.tools.hat.internal.model.JavaHeapObject
invokeinterface com.sun.tools.hat.internal.model.JavaHeapObjectVisitor.visit:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
end local 5 19: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.statics:[Lcom/sun/tools/hat/internal/model/JavaStatic;
arraylength
if_icmplt 14
end local 4 21: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 22 1 v Lcom/sun/tools/hat/internal/model/JavaHeapObjectVisitor;
2 22 2 sc Lcom/sun/tools/hat/internal/model/JavaHeapObject;
4 22 3 other Lcom/sun/tools/hat/internal/model/JavaThing;
13 21 4 i I
15 19 5 f Lcom/sun/tools/hat/internal/model/JavaField;
MethodParameters:
Name Flags
v
final com.sun.tools.hat.internal.parser.ReadBuffer getReadBuffer();
descriptor: ()Lcom/sun/tools/hat/internal/parser/ReadBuffer;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getReadBuffer:()Lcom/sun/tools/hat/internal/parser/ReadBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
final void setNew(com.sun.tools.hat.internal.model.JavaHeapObject, boolean);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaHeapObject;Z)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
aload 1
iload 2
invokevirtual com.sun.tools.hat.internal.model.Snapshot.setNew:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 2 1 obj Lcom/sun/tools/hat/internal/model/JavaHeapObject;
0 2 2 flag Z
MethodParameters:
Name Flags
obj
flag
final boolean isNew(com.sun.tools.hat.internal.model.JavaHeapObject);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Z
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.isNew:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 1 1 obj Lcom/sun/tools/hat/internal/model/JavaHeapObject;
MethodParameters:
Name Flags
obj
final com.sun.tools.hat.internal.model.StackTrace getSiteTrace(com.sun.tools.hat.internal.model.JavaHeapObject);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Lcom/sun/tools/hat/internal/model/StackTrace;
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getSiteTrace:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Lcom/sun/tools/hat/internal/model/StackTrace;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 1 1 obj Lcom/sun/tools/hat/internal/model/JavaHeapObject;
MethodParameters:
Name Flags
obj
final void addReferenceFromRoot(com.sun.tools.hat.internal.model.Root, com.sun.tools.hat.internal.model.JavaHeapObject);
descriptor: (Lcom/sun/tools/hat/internal/model/Root;Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
aload 1
aload 2
invokevirtual com.sun.tools.hat.internal.model.Snapshot.addReferenceFromRoot:(Lcom/sun/tools/hat/internal/model/Root;Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 2 1 root Lcom/sun/tools/hat/internal/model/Root;
0 2 2 obj Lcom/sun/tools/hat/internal/model/JavaHeapObject;
MethodParameters:
Name Flags
root
obj
final com.sun.tools.hat.internal.model.Root getRoot(com.sun.tools.hat.internal.model.JavaHeapObject);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Lcom/sun/tools/hat/internal/model/Root;
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getRoot:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Lcom/sun/tools/hat/internal/model/Root;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 1 1 obj Lcom/sun/tools/hat/internal/model/JavaHeapObject;
MethodParameters:
Name Flags
obj
final com.sun.tools.hat.internal.model.Snapshot getSnapshot();
descriptor: ()Lcom/sun/tools/hat/internal/model/Snapshot;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.mySnapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
void addInstance(com.sun.tools.hat.internal.model.JavaHeapObject);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instances:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 2 1 inst Lcom/sun/tools/hat/internal/model/JavaHeapObject;
MethodParameters:
Name Flags
inst
private void addFields(java.util.Vector<com.sun.tools.hat.internal.model.JavaField>);
descriptor: (Ljava/util/Vector;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
ifnull 2
1: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.superclass:Lcom/sun/tools/hat/internal/model/JavaThing;
checkcast com.sun.tools.hat.internal.model.JavaClass
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.addFields:(Ljava/util/Vector;)V
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.fields:[Lcom/sun/tools/hat/internal/model/JavaField;
iload 2
aaload
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.fields:[Lcom/sun/tools/hat/internal/model/JavaField;
arraylength
if_icmplt 4
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 8 1 v Ljava/util/Vector<Lcom/sun/tools/hat/internal/model/JavaField;>;
3 7 2 i I
Signature: (Ljava/util/Vector<Lcom/sun/tools/hat/internal/model/JavaField;>;)V
MethodParameters:
Name Flags
v
private void addSubclassInstances(java.util.Vector<com.sun.tools.hat.internal.model.JavaHeapObject>);
descriptor: (Ljava/util/Vector;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
iload 2
aaload
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.addSubclassInstances:(Ljava/util/Vector;)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
arraylength
if_icmplt 2
end local 2 5: iconst_0
istore 2
start local 2 6: goto 9
7: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instances:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.tools.hat.internal.model.JavaHeapObject
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
8: iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.instances:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 7
end local 2 10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 11 1 v Ljava/util/Vector<Lcom/sun/tools/hat/internal/model/JavaHeapObject;>;
1 5 2 i I
6 10 2 i I
Signature: (Ljava/util/Vector<Lcom/sun/tools/hat/internal/model/JavaHeapObject;>;)V
MethodParameters:
Name Flags
v
private void addSubclass(com.sun.tools.hat.internal.model.JavaClass);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaClass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
arraylength
iconst_1
iadd
anewarray com.sun.tools.hat.internal.model.JavaClass
astore 2
start local 2 1: aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
iconst_0
aload 2
iconst_0
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
aload 0
getfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
arraylength
aload 1
aastore
3: aload 0
aload 2
putfield com.sun.tools.hat.internal.model.JavaClass.subclasses:[Lcom/sun/tools/hat/internal/model/JavaClass;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/hat/internal/model/JavaClass;
0 5 1 sub Lcom/sun/tools/hat/internal/model/JavaClass;
1 5 2 newValue [Lcom/sun/tools/hat/internal/model/JavaClass;
MethodParameters:
Name Flags
sub
}
SourceFile: "JavaClass.java"