public class sun.tools.jstat.OptionLister
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jstat.OptionLister
super_class: java.lang.Object
{
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private java.net.URL[] sources;
descriptor: [Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.net.URL[]);
descriptor: ([Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.tools.jstat.OptionLister.sources:[Ljava/net/URL;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jstat/OptionLister;
0 3 1 sources [Ljava/net/URL;
MethodParameters:
Name Flags
sources
public void print(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: new sun.tools.jstat.OptionLister$1
dup
aload 0
invokespecial sun.tools.jstat.OptionLister$1.<init>:(Lsun/tools/jstat/OptionLister;)V
astore 2
start local 2 1: new java.util.TreeSet
dup
aload 2
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 16
4: StackMap locals: java.util.Comparator java.util.Set int
StackMap stack:
aload 0
getfield sun.tools.jstat.OptionLister.sources:[Ljava/net/URL;
iload 4
aaload
astore 5
start local 5 5: new java.io.BufferedReader
dup
6: new java.io.InputStreamReader
dup
aload 5
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
7: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 6
start local 6 8: new sun.tools.jstat.Parser
dup
aload 6
invokespecial sun.tools.jstat.Parser.<init>:(Ljava/io/Reader;)V
invokevirtual sun.tools.jstat.Parser.parseOptions:()Ljava/util/Set;
astore 7
start local 7 9: aload 3
aload 7
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 7 end local 6 end local 5 10: goto 15
StackMap locals:
StackMap stack: java.io.IOException
11: astore 5
goto 15
12: StackMap locals:
StackMap stack: sun.tools.jstat.ParserException
astore 5
start local 5 13: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield sun.tools.jstat.OptionLister.sources:[Ljava/net/URL;
iload 4
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual sun.tools.jstat.ParserException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Parsing of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.tools.jstat.OptionLister.sources:[Ljava/net/URL;
iload 4
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " aborted"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 15: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
aload 0
getfield sun.tools.jstat.OptionLister.sources:[Ljava/net/URL;
arraylength
if_icmplt 4
end local 4 17: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 22
StackMap locals: sun.tools.jstat.OptionLister java.io.PrintStream java.util.Comparator java.util.Set top java.util.Iterator
StackMap stack:
18: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jstat.OptionFormat
astore 4
start local 4 19: aload 4
invokevirtual sun.tools.jstat.OptionFormat.getName:()Ljava/lang/String;
ldc "timestamp"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 21
20: goto 22
21: StackMap locals: sun.tools.jstat.OptionLister java.io.PrintStream java.util.Comparator java.util.Set sun.tools.jstat.OptionFormat java.util.Iterator
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual sun.tools.jstat.OptionFormat.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 4 22: StackMap locals: sun.tools.jstat.OptionLister java.io.PrintStream java.util.Comparator java.util.Set top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
23: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/tools/jstat/OptionLister;
0 24 1 ps Ljava/io/PrintStream;
1 24 2 c Ljava/util/Comparator<Lsun/tools/jstat/OptionFormat;>;
2 24 3 options Ljava/util/Set<Lsun/tools/jstat/OptionFormat;>;
3 17 4 i I
5 10 5 u Ljava/net/URL;
8 10 6 r Ljava/io/Reader;
9 10 7 s Ljava/util/Set<Lsun/tools/jstat/OptionFormat;>;
13 15 5 e Lsun/tools/jstat/ParserException;
19 22 4 of Lsun/tools/jstat/OptionFormat;
Exception table:
from to target type
4 10 11 Class java.io.IOException
4 10 12 Class sun.tools.jstat.ParserException
MethodParameters:
Name Flags
ps
}
SourceFile: "OptionLister.java"
NestMembers:
sun.tools.jstat.OptionLister$1
InnerClasses:
sun.tools.jstat.OptionLister$1