class sun.tools.jstat.Alignment$1 extends sun.tools.jstat.Alignment
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.tools.jstat.Alignment$1
super_class: sun.tools.jstat.Alignment
{
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.tools.jstat.Alignment.<init>:(Ljava/lang/String;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Alignment$1;
0 1 1 $anonymous0 Ljava/lang/String;
MethodParameters:
Name Flags
$anonymous0
protected java.lang.String align(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: iload 3
iload 2
if_icmplt 3
2: aload 1
areturn
3: StackMap locals: int
StackMap stack:
iload 2
iload 3
isub
istore 4
start local 4 4: iload 4
iconst_2
idiv
istore 5
start local 5 5: iload 4
iconst_2
irem
istore 6
start local 6 6: iload 5
ifne 8
7: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
8: StackMap locals: int int int
StackMap stack:
new java.lang.StringBuilder
dup
ldc " "
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc " "
iconst_0
iload 5
iload 6
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 11 0 this Lsun/tools/jstat/Alignment$1;
0 11 1 s Ljava/lang/String;
0 11 2 width I
1 11 3 length I
4 11 4 pad I
5 11 5 pad2 I
6 11 6 padr I
MethodParameters:
Name Flags
s
width
}
SourceFile: "Alignment.java"
EnclosingMethod: sun.tools.jstat.Alignment
NestHost: sun.tools.jstat.Alignment
InnerClasses:
sun.tools.jstat.Alignment$1