class picocli.CommandLine$Help$Ansi$Palette256Color implements picocli.CommandLine$Help$Ansi$IStyle
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: picocli.CommandLine$Help$Ansi$Palette256Color
super_class: java.lang.Object
{
private final int fgbg;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int color;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
ifeq 2
bipush 38
goto 3
StackMap locals: picocli.CommandLine$Help$Ansi$Palette256Color int java.lang.String
StackMap stack: picocli.CommandLine$Help$Ansi$Palette256Color
2: bipush 48
StackMap locals: picocli.CommandLine$Help$Ansi$Palette256Color int java.lang.String
StackMap stack: picocli.CommandLine$Help$Ansi$Palette256Color int
3: putfield picocli.CommandLine$Help$Ansi$Palette256Color.fgbg:I
4: aload 2
ldc ";"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 5: aload 3
arraylength
iconst_3
if_icmpne 8
6: aload 0
bipush 16
bipush 36
aload 3
iconst_0
aaload
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
imul
iadd
bipush 6
aload 3
iconst_1
aaload
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
imul
iadd
aload 3
iconst_2
aaload
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
iadd
putfield picocli.CommandLine$Help$Ansi$Palette256Color.color:I
7: goto 9
8: StackMap locals: java.lang.String[]
StackMap stack:
aload 0
aload 2
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putfield picocli.CommandLine$Help$Ansi$Palette256Color.color:I
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lpicocli/CommandLine$Help$Ansi$Palette256Color;
0 10 1 foreground Z
0 10 2 color Ljava/lang/String;
5 10 3 rgb [Ljava/lang/String;
MethodParameters:
Name Flags
foreground
color
public java.lang.String on();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "\u001B[%d;5;%dm"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield picocli.CommandLine$Help$Ansi$Palette256Color.fgbg:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield picocli.CommandLine$Help$Ansi$Palette256Color.color:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lpicocli/CommandLine$Help$Ansi$Palette256Color;
public java.lang.String off();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "\u001B["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield picocli.CommandLine$Help$Ansi$Palette256Color.fgbg:I
iconst_1
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "m"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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 Lpicocli/CommandLine$Help$Ansi$Palette256Color;
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 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof picocli.CommandLine$Help$Ansi$Palette256Color
ifne 2
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast picocli.CommandLine$Help$Ansi$Palette256Color
astore 2
start local 2 3: aload 2
getfield picocli.CommandLine$Help$Ansi$Palette256Color.fgbg:I
aload 0
getfield picocli.CommandLine$Help$Ansi$Palette256Color.fgbg:I
if_icmpne 4
aload 2
getfield picocli.CommandLine$Help$Ansi$Palette256Color.color:I
aload 0
getfield picocli.CommandLine$Help$Ansi$Palette256Color.color:I
if_icmpne 4
iconst_1
ireturn
StackMap locals: picocli.CommandLine$Help$Ansi$Palette256Color
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lpicocli/CommandLine$Help$Ansi$Palette256Color;
0 5 1 obj Ljava/lang/Object;
3 5 2 other Lpicocli/CommandLine$Help$Ansi$Palette256Color;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: bipush 17
aload 0
getfield picocli.CommandLine$Help$Ansi$Palette256Color.fgbg:I
iadd
bipush 37
imul
aload 0
getfield picocli.CommandLine$Help$Ansi$Palette256Color.color:I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lpicocli/CommandLine$Help$Ansi$Palette256Color;
}
SourceFile: "CommandLine.java"
NestHost: picocli.CommandLine
InnerClasses:
public Help = picocli.CommandLine$Help of picocli.CommandLine
public final Ansi = picocli.CommandLine$Help$Ansi of picocli.CommandLine$Help
public abstract IStyle = picocli.CommandLine$Help$Ansi$IStyle of picocli.CommandLine$Help$Ansi
Palette256Color = picocli.CommandLine$Help$Ansi$Palette256Color of picocli.CommandLine$Help$Ansi