public class sun.tools.jstat.RowClosure implements sun.tools.jstat.Closure
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jstat.RowClosure
super_class: java.lang.Object
{
private sun.jvmstat.monitor.MonitoredVm vm;
descriptor: Lsun/jvmstat/monitor/MonitoredVm;
flags: (0x0002) ACC_PRIVATE
private java.lang.StringBuilder row;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.jvmstat.monitor.MonitoredVm);
descriptor: (Lsun/jvmstat/monitor/MonitoredVm;)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
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield sun.tools.jstat.RowClosure.row:Ljava/lang/StringBuilder;
2: aload 0
aload 1
putfield sun.tools.jstat.RowClosure.vm:Lsun/jvmstat/monitor/MonitoredVm;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jstat/RowClosure;
0 4 1 vm Lsun/jvmstat/monitor/MonitoredVm;
MethodParameters:
Name Flags
vm
public void visit(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof sun.tools.jstat.ColumnFormat
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
checkcast sun.tools.jstat.ColumnFormat
astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aload 3
invokevirtual sun.tools.jstat.ColumnFormat.getExpression:()Lsun/tools/jstat/Expression;
astore 5
start local 5 5: new sun.tools.jstat.ExpressionExecuter
dup
aload 0
getfield sun.tools.jstat.RowClosure.vm:Lsun/jvmstat/monitor/MonitoredVm;
invokespecial sun.tools.jstat.ExpressionExecuter.<init>:(Lsun/jvmstat/monitor/MonitoredVm;)V
astore 6
start local 6 6: aload 6
aload 5
invokeinterface sun.tools.jstat.ExpressionEvaluator.evaluate:(Lsun/tools/jstat/Expression;)Ljava/lang/Object;
astore 7
start local 7 7: aload 7
instanceof java.lang.String
ifeq 10
8: aload 7
checkcast java.lang.String
astore 4
9: goto 15
StackMap locals: sun.tools.jstat.RowClosure java.lang.Object int sun.tools.jstat.ColumnFormat java.lang.String sun.tools.jstat.Expression sun.tools.jstat.ExpressionEvaluator java.lang.Object
StackMap stack:
10: aload 7
instanceof java.lang.Number
ifeq 15
11: aload 7
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
dstore 8
start local 8 12: aload 3
invokevirtual sun.tools.jstat.ColumnFormat.getScale:()Lsun/tools/jstat/Scale;
dload 8
invokevirtual sun.tools.jstat.Scale.scale:(D)D
dstore 10
start local 10 13: new java.text.DecimalFormat
dup
aload 3
invokevirtual sun.tools.jstat.ColumnFormat.getFormat:()Ljava/lang/String;
invokespecial java.text.DecimalFormat.<init>:(Ljava/lang/String;)V
astore 12
start local 12 14: aload 12
dload 10
invokevirtual java.text.DecimalFormat.format:(D)Ljava/lang/String;
astore 4
end local 12 end local 10 end local 8 15: StackMap locals:
StackMap stack:
aload 3
aload 7
invokevirtual sun.tools.jstat.ColumnFormat.setPreviousValue:(Ljava/lang/Object;)V
16: aload 3
invokevirtual sun.tools.jstat.ColumnFormat.getAlignment:()Lsun/tools/jstat/Alignment;
aload 4
aload 3
invokevirtual sun.tools.jstat.ColumnFormat.getWidth:()I
invokevirtual sun.tools.jstat.Alignment.align:(Ljava/lang/String;I)Ljava/lang/String;
astore 4
17: aload 0
getfield sun.tools.jstat.RowClosure.row:Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: iload 2
ifeq 20
19: aload 0
getfield sun.tools.jstat.RowClosure.row:Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/tools/jstat/RowClosure;
0 21 1 o Ljava/lang/Object;
0 21 2 hasNext Z
3 21 3 c Lsun/tools/jstat/ColumnFormat;
4 21 4 s Ljava/lang/String;
5 21 5 e Lsun/tools/jstat/Expression;
6 21 6 ee Lsun/tools/jstat/ExpressionEvaluator;
7 21 7 value Ljava/lang/Object;
12 15 8 d D
13 15 10 scaledValue D
14 15 12 df Ljava/text/DecimalFormat;
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
o
hasNext
public java.lang.String getRow();
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.RowClosure.row:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/RowClosure;
}
SourceFile: "RowClosure.java"