public class ch.qos.logback.core.pattern.SpacePadder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.pattern.SpacePadder
super_class: java.lang.Object
{
static final java.lang.String[] SPACES;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 6
anewarray java.lang.String
dup
iconst_0
ldc " "
aastore
dup
iconst_1
ldc " "
aastore
dup
iconst_2
ldc " "
aastore
dup
iconst_3
ldc " "
aastore
dup
iconst_4
1: ldc " "
aastore
dup
iconst_5
2: ldc " "
aastore
3: putstatic ch.qos.logback.core.pattern.SpacePadder.SPACES:[Ljava/lang/String;
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/pattern/SpacePadder;
public static final void leftPad(java.lang.StringBuilder, java.lang.String, int);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;I)V
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.String.length:()I
istore 3
3: StackMap locals: int
StackMap stack:
iload 3
iload 2
if_icmpge 5
4: aload 0
iload 2
iload 3
isub
invokestatic ch.qos.logback.core.pattern.SpacePadder.spacePad:(Ljava/lang/StringBuilder;I)V
5: StackMap locals:
StackMap stack:
aload 1
ifnull 7
6: aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buf Ljava/lang/StringBuilder;
0 8 1 s Ljava/lang/String;
0 8 2 desiredLength I
1 8 3 actualLen I
MethodParameters:
Name Flags
buf
s
desiredLength
public static final void rightPad(java.lang.StringBuilder, java.lang.String, int);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;I)V
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.String.length:()I
istore 3
3: StackMap locals: int
StackMap stack:
aload 1
ifnull 5
4: aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpge 7
6: aload 0
iload 2
iload 3
isub
invokestatic ch.qos.logback.core.pattern.SpacePadder.spacePad:(Ljava/lang/StringBuilder;I)V
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buf Ljava/lang/StringBuilder;
0 8 1 s Ljava/lang/String;
0 8 2 desiredLength I
1 8 3 actualLen I
MethodParameters:
Name Flags
buf
s
desiredLength
public static final void spacePad(java.lang.StringBuilder, int);
descriptor: (Ljava/lang/StringBuilder;I)V
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: goto 3
1: StackMap locals:
StackMap stack:
aload 0
getstatic ch.qos.logback.core.pattern.SpacePadder.SPACES:[Ljava/lang/String;
iconst_5
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: iinc 1 -32
3: StackMap locals:
StackMap stack:
iload 1
bipush 32
if_icmpge 1
4: iconst_4
istore 2
start local 2 5: goto 9
6: StackMap locals: int
StackMap stack:
iload 1
iconst_1
iload 2
ishl
iand
ifeq 8
7: aload 0
getstatic ch.qos.logback.core.pattern.SpacePadder.SPACES:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
9: iload 2
ifge 6
end local 2 10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 sbuf Ljava/lang/StringBuilder;
0 11 1 length I
5 10 2 i I
MethodParameters:
Name Flags
sbuf
length
}
SourceFile: "SpacePadder.java"