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.util.List<java.net.URL> sources;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/net/URL;>;
public void <init>(java.util.List<java.net.URL>);
descriptor: (Ljava/util/List;)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/util/List;
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/util/List<Ljava/net/URL;>;
Signature: (Ljava/util/List<Ljava/net/URL;>;)V
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: aload 0
getfield sun.tools.jstat.OptionLister.sources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: sun.tools.jstat.OptionLister java.io.PrintStream java.util.Comparator java.util.Set top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.URL
astore 4
start local 4 4: new java.io.BufferedReader
dup
5: new java.io.InputStreamReader
dup
aload 4
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
6: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 6
start local 6 7: 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 8: aload 3
aload 7
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 7 end local 6 9: goto 14
StackMap locals: sun.tools.jstat.OptionLister java.io.PrintStream java.util.Comparator java.util.Set java.net.URL java.util.Iterator
StackMap stack: java.io.IOException
10: astore 6
goto 14
11: StackMap locals:
StackMap stack: sun.tools.jstat.ParserException
astore 6
start local 6 12: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
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
13: 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 4
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 6 end local 4 14: 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 3
15: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 20
StackMap locals:
StackMap stack:
16: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jstat.OptionFormat
astore 4
start local 4 17: aload 4
invokevirtual sun.tools.jstat.OptionFormat.getName:()Ljava/lang/String;
ldc "timestamp"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 19
18: goto 20
19: 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 20: 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 16
21: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/tools/jstat/OptionLister;
0 22 1 ps Ljava/io/PrintStream;
1 22 2 c Ljava/util/Comparator<Lsun/tools/jstat/OptionFormat;>;
2 22 3 options Ljava/util/Set<Lsun/tools/jstat/OptionFormat;>;
4 14 4 u Ljava/net/URL;
7 9 6 r Ljava/io/Reader;
8 9 7 s Ljava/util/Set<Lsun/tools/jstat/OptionFormat;>;
12 14 6 e Lsun/tools/jstat/ParserException;
17 20 4 of Lsun/tools/jstat/OptionFormat;
Exception table:
from to target type
4 9 10 Class java.io.IOException
4 9 11 Class sun.tools.jstat.ParserException
MethodParameters:
Name Flags
ps
}
SourceFile: "OptionLister.java"
NestMembers:
sun.tools.jstat.OptionLister$1
InnerClasses:
sun.tools.jstat.OptionLister$1