public class sun.tools.jstat.OptionFormat
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jstat.OptionFormat
super_class: java.lang.Object
{
protected java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.util.List<sun.tools.jstat.OptionFormat> children;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Lsun/tools/jstat/OptionFormat;>;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.OptionFormat.name:Ljava/lang/String;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.tools.jstat.OptionFormat.children:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jstat/OptionFormat;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.tools.jstat.OptionFormat
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.tools.jstat.OptionFormat
astore 2
start local 2 5: aload 0
getfield sun.tools.jstat.OptionFormat.name:Ljava/lang/String;
aload 2
getfield sun.tools.jstat.OptionFormat.name:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 6
iconst_1
ireturn
StackMap locals: sun.tools.jstat.OptionFormat
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jstat/OptionFormat;
0 7 1 o Ljava/lang/Object;
5 7 2 of Lsun/tools/jstat/OptionFormat;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.OptionFormat.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/OptionFormat;
public void addSubFormat(sun.tools.jstat.OptionFormat);
descriptor: (Lsun/tools/jstat/OptionFormat;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jstat.OptionFormat.children:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jstat/OptionFormat;
0 2 1 f Lsun/tools/jstat/OptionFormat;
MethodParameters:
Name Flags
f
public sun.tools.jstat.OptionFormat getSubFormat(int);
descriptor: (I)Lsun/tools/jstat/OptionFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jstat.OptionFormat.children:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.tools.jstat.OptionFormat
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/OptionFormat;
0 1 1 index I
MethodParameters:
Name Flags
index
public void insertSubFormat(int, sun.tools.jstat.OptionFormat);
descriptor: (ILsun/tools/jstat/OptionFormat;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.tools.jstat.OptionFormat.children:Ljava/util/List;
iload 1
aload 2
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jstat/OptionFormat;
0 2 1 index I
0 2 2 f Lsun/tools/jstat/OptionFormat;
MethodParameters:
Name Flags
index
f
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 sun.tools.jstat.OptionFormat.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/OptionFormat;
public void apply(sun.tools.jstat.Closure);
descriptor: (Lsun/tools/jstat/Closure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jstat.OptionFormat.children:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jstat.OptionFormat
astore 3
start local 3 3: aload 1
aload 3
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
invokeinterface sun.tools.jstat.Closure.visit:(Ljava/lang/Object;Z)V
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 5: aload 0
getfield sun.tools.jstat.OptionFormat.children:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 6: goto 9
7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jstat.OptionFormat
astore 3
start local 3 8: aload 3
aload 1
invokevirtual sun.tools.jstat.OptionFormat.apply:(Lsun/tools/jstat/Closure;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 2 10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/tools/jstat/OptionFormat;
0 11 1 c Lsun/tools/jstat/Closure;
1 5 2 i Ljava/util/Iterator;
3 4 3 o Lsun/tools/jstat/OptionFormat;
6 10 2 i Ljava/util/Iterator;
8 9 3 o Lsun/tools/jstat/OptionFormat;
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
c
public void printFormat();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.tools.jstat.OptionFormat.printFormat:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jstat/OptionFormat;
public void printFormat(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: ldc " "
astore 2
start local 2 1: new java.lang.StringBuilder
dup
ldc ""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: java.lang.String java.lang.StringBuilder int
StackMap stack:
aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 1
if_icmplt 4
end local 4 7: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 0
getfield sun.tools.jstat.OptionFormat.name: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 java.io.PrintStream.println:(Ljava/lang/String;)V
8: aload 0
getfield sun.tools.jstat.OptionFormat.children:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: sun.tools.jstat.OptionFormat int java.lang.String java.lang.StringBuilder top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jstat.OptionFormat
astore 4
start local 4 10: aload 4
iload 1
iconst_1
iadd
invokevirtual sun.tools.jstat.OptionFormat.printFormat:(I)V
end local 4 11: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "}"
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: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/tools/jstat/OptionFormat;
0 14 1 indentLevel I
1 14 2 indentAmount Ljava/lang/String;
2 14 3 indent Ljava/lang/StringBuilder;
3 7 4 j I
10 11 4 of Lsun/tools/jstat/OptionFormat;
MethodParameters:
Name Flags
indentLevel
}
SourceFile: "OptionFormat.java"