class com.sun.tools.hat.internal.server.AllClassesQuery 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.AllClassesQuery
super_class: com.sun.tools.hat.internal.server.QueryHandler
{
boolean excludePlatform;
descriptor: Z
flags: (0x0000)
boolean oqlSupported;
descriptor: Z
flags: (0x0000)
public void <init>(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 // com.sun.tools.hat.internal.server.AllClassesQuery this
start local 1 // boolean excludePlatform
start local 2 // boolean oqlSupported
0: .line 49
aload 0 /* this */
invokespecial com.sun.tools.hat.internal.server.QueryHandler.<init>:()V
1: .line 50
aload 0 /* this */
iload 1 /* excludePlatform */
putfield com.sun.tools.hat.internal.server.AllClassesQuery.excludePlatform:Z
2: .line 51
aload 0 /* this */
iload 2 /* oqlSupported */
putfield com.sun.tools.hat.internal.server.AllClassesQuery.oqlSupported:Z
3: .line 52
return
end local 2 // boolean oqlSupported
end local 1 // boolean excludePlatform
end local 0 // com.sun.tools.hat.internal.server.AllClassesQuery this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/hat/internal/server/AllClassesQuery;
0 4 1 excludePlatform Z
0 4 2 oqlSupported Z
MethodParameters:
Name Flags
excludePlatform
oqlSupported
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 // com.sun.tools.hat.internal.server.AllClassesQuery this
0: .line 55
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.excludePlatform:Z
ifeq 3
1: .line 56
aload 0 /* this */
ldc "All Classes (excluding platform)"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.startHtml:(Ljava/lang/String;)V
2: .line 57
goto 4
3: .line 58
StackMap locals:
StackMap stack:
aload 0 /* this */
ldc "All Classes (including platform)"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.startHtml:(Ljava/lang/String;)V
4: .line 61
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.snapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getClasses:()Ljava/util/Iterator;
astore 1 /* classes */
start local 1 // java.util.Iterator classes
5: .line 62
aconst_null
astore 2 /* lastPackage */
start local 2 // java.lang.String lastPackage
6: .line 63
goto 28
7: .line 64
StackMap locals: java.util.Iterator java.lang.String
StackMap stack:
aload 1 /* classes */
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.hat.internal.model.JavaClass
astore 3 /* clazz */
start local 3 // com.sun.tools.hat.internal.model.JavaClass clazz
8: .line 65
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.excludePlatform:Z
ifeq 10
aload 3 /* clazz */
invokestatic com.sun.tools.hat.internal.server.PlatformClasses.isPlatformClass:(Lcom/sun/tools/hat/internal/model/JavaClass;)Z
ifeq 10
9: .line 67
goto 28
10: .line 69
StackMap locals: com.sun.tools.hat.internal.model.JavaClass
StackMap stack:
aload 3 /* clazz */
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getName:()Ljava/lang/String;
astore 4 /* name */
start local 4 // java.lang.String name
11: .line 70
aload 4 /* name */
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 5 /* pos */
start local 5 // int pos
12: .line 72
aload 4 /* name */
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
13: .line 73
ldc "<Arrays>"
astore 6 /* pkg */
start local 6 // java.lang.String pkg
14: .line 74
goto 19
end local 6 // java.lang.String pkg
StackMap locals: java.lang.String int
StackMap stack:
15: iload 5 /* pos */
iconst_m1
if_icmpne 18
16: .line 75
ldc "<Default Package>"
astore 6 /* pkg */
start local 6 // java.lang.String pkg
17: .line 76
goto 19
end local 6 // java.lang.String pkg
18: .line 77
StackMap locals:
StackMap stack:
aload 4 /* name */
iconst_0
iload 5 /* pos */
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6 /* pkg */
start local 6 // java.lang.String pkg
19: .line 79
StackMap locals: java.lang.String
StackMap stack:
aload 6 /* pkg */
aload 2 /* lastPackage */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
20: .line 80
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<h2>Package "
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
21: .line 81
aload 0 /* this */
aload 6 /* pkg */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.print:(Ljava/lang/String;)V
22: .line 82
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "</h2>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
23: .line 84
StackMap locals:
StackMap stack:
aload 6 /* pkg */
astore 2 /* lastPackage */
24: .line 85
aload 0 /* this */
aload 3 /* clazz */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.printClass:(Lcom/sun/tools/hat/internal/model/JavaClass;)V
25: .line 86
aload 3 /* clazz */
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getId:()J
ldc -1
lcmp
ifeq 27
26: .line 87
aload 0 /* this */
new java.lang.StringBuilder
dup
ldc " ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3 /* clazz */
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getIdString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
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.AllClassesQuery.print:(Ljava/lang/String;)V
27: .line 89
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<br>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 6 // java.lang.String pkg
end local 5 // int pos
end local 4 // java.lang.String name
end local 3 // com.sun.tools.hat.internal.model.JavaClass clazz
28: .line 63
StackMap locals: com.sun.tools.hat.internal.server.AllClassesQuery java.util.Iterator java.lang.String
StackMap stack:
aload 1 /* classes */
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
29: .line 92
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<h2>Other Queries</h2>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
30: .line 93
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<ul>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
31: .line 95
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<li>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
32: .line 96
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.printAnchorStart:()V
33: .line 97
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.excludePlatform:Z
ifeq 37
34: .line 98
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "allClassesWithPlatform/\">"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
35: .line 99
aload 0 /* this */
ldc "All classes including platform"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.print:(Ljava/lang/String;)V
36: .line 100
goto 39
37: .line 101
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "\">"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
38: .line 102
aload 0 /* this */
ldc "All classes excluding platform"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.print:(Ljava/lang/String;)V
39: .line 104
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "</a>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
40: .line 106
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<li>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
41: .line 107
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.printAnchorStart:()V
42: .line 108
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "showRoots/\">"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
43: .line 109
aload 0 /* this */
ldc "Show all members of the rootset"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.print:(Ljava/lang/String;)V
44: .line 110
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "</a>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
45: .line 112
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<li>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
46: .line 113
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.printAnchorStart:()V
47: .line 114
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "showInstanceCounts/includePlatform/\">"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
48: .line 115
aload 0 /* this */
ldc "Show instance counts for all classes (including platform)"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.print:(Ljava/lang/String;)V
49: .line 116
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "</a>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
50: .line 118
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<li>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
51: .line 119
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.printAnchorStart:()V
52: .line 120
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "showInstanceCounts/\">"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
53: .line 121
aload 0 /* this */
ldc "Show instance counts for all classes (excluding platform)"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.print:(Ljava/lang/String;)V
54: .line 122
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "</a>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
55: .line 124
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<li>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
56: .line 125
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.printAnchorStart:()V
57: .line 126
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "histo/\">"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
58: .line 127
aload 0 /* this */
ldc "Show heap histogram"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.print:(Ljava/lang/String;)V
59: .line 128
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "</a>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
60: .line 130
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<li>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
61: .line 131
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.printAnchorStart:()V
62: .line 132
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "finalizerSummary/\">"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
63: .line 133
aload 0 /* this */
ldc "Show finalizer summary"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.print:(Ljava/lang/String;)V
64: .line 134
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "</a>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
65: .line 136
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.oqlSupported:Z
ifeq 71
66: .line 137
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "<li>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
67: .line 138
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.printAnchorStart:()V
68: .line 139
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "oql/\">"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
69: .line 140
aload 0 /* this */
ldc "Execute Object Query Language (OQL) query"
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.print:(Ljava/lang/String;)V
70: .line 141
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "</a>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
71: .line 144
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.AllClassesQuery.out:Ljava/io/PrintWriter;
ldc "</ul>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
72: .line 146
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.AllClassesQuery.endHtml:()V
73: .line 147
return
end local 2 // java.lang.String lastPackage
end local 1 // java.util.Iterator classes
end local 0 // com.sun.tools.hat.internal.server.AllClassesQuery this
LocalVariableTable:
Start End Slot Name Signature
0 74 0 this Lcom/sun/tools/hat/internal/server/AllClassesQuery;
5 74 1 classes Ljava/util/Iterator;
6 74 2 lastPackage Ljava/lang/String;
8 28 3 clazz Lcom/sun/tools/hat/internal/model/JavaClass;
11 28 4 name Ljava/lang/String;
12 28 5 pos I
14 15 6 pkg Ljava/lang/String;
17 18 6 pkg Ljava/lang/String;
19 28 6 pkg Ljava/lang/String;
}
SourceFile: "AllClassesQuery.java"