class com.sun.tools.hat.internal.server.AllRootsQuery extends com.sun.tools.hat.internal.server.QueryHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.hat.internal.server.AllRootsQuery
super_class: com.sun.tools.hat.internal.server.QueryHandler
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.tools.hat.internal.server.AllRootsQuery this
0: .line 49
aload 0 /* this */
invokespecial com.sun.tools.hat.internal.server.QueryHandler.<init>:()V
1: .line 50
return
end local 0 // com.sun.tools.hat.internal.server.AllRootsQuery this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/hat/internal/server/AllRootsQuery;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 // com.sun.tools.hat.internal.server.AllRootsQuery this
0: .line 53
aload 0 /* this */
ldc "All Members of the Rootset"
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.startHtml:(Ljava/lang/String;)V
1: .line 55
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.snapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getRootsArray:()[Lcom/sun/tools/hat/internal/model/Root;
astore 1 /* roots */
start local 1 // com.sun.tools.hat.internal.model.Root[] roots
2: .line 56
aload 1 /* roots */
new com.sun.tools.hat.internal.server.AllRootsQuery$1
dup
aload 0 /* this */
invokespecial com.sun.tools.hat.internal.server.AllRootsQuery$1.<init>:(Lcom/sun/tools/hat/internal/server/AllRootsQuery;)V
invokestatic com.sun.tools.hat.internal.util.ArraySorter.sort:([Ljava/lang/Object;Lcom/sun/tools/hat/internal/util/Comparer;)V
3: .line 68
iconst_0
istore 2 /* lastType */
start local 2 // int lastType
4: .line 70
iconst_0
istore 3 /* i */
start local 3 // int i
5: goto 25
6: .line 71
StackMap locals: com.sun.tools.hat.internal.model.Root[] int int
StackMap stack:
aload 1 /* roots */
iload 3 /* i */
aaload
astore 4 /* root */
start local 4 // com.sun.tools.hat.internal.model.Root root
7: .line 73
aload 4 /* root */
invokevirtual com.sun.tools.hat.internal.model.Root.getType:()I
iload 2 /* lastType */
if_icmpeq 12
8: .line 74
aload 4 /* root */
invokevirtual com.sun.tools.hat.internal.model.Root.getType:()I
istore 2 /* lastType */
9: .line 75
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "<h2>"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
10: .line 76
aload 0 /* this */
new java.lang.StringBuilder
dup
aload 4 /* root */
invokevirtual com.sun.tools.hat.internal.model.Root.getTypeName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " References"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.print:(Ljava/lang/String;)V
11: .line 77
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "</h2>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
12: .line 80
StackMap locals: com.sun.tools.hat.internal.model.Root
StackMap stack:
aload 0 /* this */
aload 4 /* root */
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.printRoot:(Lcom/sun/tools/hat/internal/model/Root;)V
13: .line 81
aload 4 /* root */
invokevirtual com.sun.tools.hat.internal.model.Root.getReferer:()Lcom/sun/tools/hat/internal/model/JavaHeapObject;
ifnull 18
14: .line 82
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "<small> (from "
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
15: .line 83
aload 0 /* this */
aload 4 /* root */
invokevirtual com.sun.tools.hat.internal.model.Root.getReferer:()Lcom/sun/tools/hat/internal/model/JavaHeapObject;
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getId:()J
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.printThingAnchorTag:(J)V
16: .line 84
aload 0 /* this */
aload 4 /* root */
invokevirtual com.sun.tools.hat.internal.model.Root.getReferer:()Lcom/sun/tools/hat/internal/model/JavaHeapObject;
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.print:(Ljava/lang/String;)V
17: .line 85
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc ")</a></small>"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
18: .line 87
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc " :<br>"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
19: .line 89
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.snapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
aload 4 /* root */
invokevirtual com.sun.tools.hat.internal.model.Root.getId:()J
invokevirtual com.sun.tools.hat.internal.model.Snapshot.findThing:(J)Lcom/sun/tools/hat/internal/model/JavaHeapObject;
astore 5 /* t */
start local 5 // com.sun.tools.hat.internal.model.JavaThing t
20: .line 90
aload 5 /* t */
ifnull 24
21: .line 91
aload 0 /* this */
ldc "--> "
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.print:(Ljava/lang/String;)V
22: .line 92
aload 0 /* this */
aload 5 /* t */
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.printThing:(Lcom/sun/tools/hat/internal/model/JavaThing;)V
23: .line 93
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "<br>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 5 // com.sun.tools.hat.internal.model.JavaThing t
end local 4 // com.sun.tools.hat.internal.model.Root root
24: .line 70
StackMap locals:
StackMap stack:
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
25: iload 3 /* i */
aload 1 /* roots */
arraylength
if_icmplt 6
end local 3 // int i
26: .line 97
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "<h2>Other Queries</h2>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
27: .line 98
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "<ul>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
28: .line 99
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "<li>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
29: .line 100
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.printAnchorStart:()V
30: .line 101
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "\">"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
31: .line 102
aload 0 /* this */
ldc "Show All Classes"
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.print:(Ljava/lang/String;)V
32: .line 103
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "</a>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
33: .line 104
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllRootsQuery.out:Ljava/io/PrintWriter;
ldc "</ul>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
34: .line 106
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllRootsQuery.endHtml:()V
35: .line 107
return
end local 2 // int lastType
end local 1 // com.sun.tools.hat.internal.model.Root[] roots
end local 0 // com.sun.tools.hat.internal.server.AllRootsQuery this
LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/sun/tools/hat/internal/server/AllRootsQuery;
2 36 1 roots [Lcom/sun/tools/hat/internal/model/Root;
4 36 2 lastType I
5 26 3 i I
7 24 4 root Lcom/sun/tools/hat/internal/model/Root;
20 24 5 t Lcom/sun/tools/hat/internal/model/JavaThing;
}
SourceFile: "AllRootsQuery.java"
NestMembers:
com.sun.tools.hat.internal.server.AllRootsQuery$1
InnerClasses:
com.sun.tools.hat.internal.server.AllRootsQuery$1