public abstract class jdk.internal.org.jline.utils.AttributedCharSequence implements java.lang.CharSequence
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.internal.org.jline.utils.AttributedCharSequence
super_class: java.lang.Object
{
static final boolean DISABLE_ALTERNATE_CHARSET;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "org.jline.utils.disableAlternateCharset"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic jdk.internal.org.jline.utils.AttributedCharSequence.DISABLE_ALTERNATE_CHARSET:Z
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 Ljdk/internal/org/jline/utils/AttributedCharSequence;
public java.lang.String toAnsi();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.toAnsi:(Ljdk/internal/org/jline/terminal/Terminal;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
public java.lang.String toAnsi(jdk.internal.org.jline.terminal.Terminal);
descriptor: (Ljdk/internal/org/jline/terminal/Terminal;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
ldc "dumb"
aload 1
invokeinterface jdk.internal.org.jline.terminal.Terminal.getType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
sipush 256
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aconst_null
astore 5
start local 5 6: aload 1
ifnull 14
7: aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.max_colors:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokeinterface jdk.internal.org.jline.terminal.Terminal.getNumericCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/Integer;
astore 6
start local 6 8: aload 6
ifnull 10
9: aload 6
invokevirtual java.lang.Integer.intValue:()I
istore 2
10: StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence jdk.internal.org.jline.terminal.Terminal int int java.lang.String java.lang.String java.lang.Integer
StackMap stack:
ldc "windows-256color"
aload 1
invokeinterface jdk.internal.org.jline.terminal.Terminal.getType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 3
11: getstatic jdk.internal.org.jline.utils.AttributedCharSequence.DISABLE_ALTERNATE_CHARSET:Z
ifne 14
12: aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.enter_alt_charset_mode:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.org.jline.utils.Curses.tputs:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
13: aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.exit_alt_charset_mode:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.org.jline.utils.Curses.tputs:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 5
end local 6 14: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 3
aload 4
aload 5
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.toAnsi:(IZLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
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 15 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 15 1 terminal Ljdk/internal/org/jline/terminal/Terminal;
3 15 2 colors I
4 15 3 force256colors Z
5 15 4 alternateIn Ljava/lang/String;
6 15 5 alternateOut Ljava/lang/String;
8 14 6 max_colors Ljava/lang/Integer;
MethodParameters:
Name Flags
terminal
public java.lang.String toAnsi(int, boolean);
descriptor: (IZ)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
aconst_null
aconst_null
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.toAnsi:(IZLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 1 1 colors I
0 1 2 force256colors Z
MethodParameters:
Name Flags
colors
force256colors
public java.lang.String toAnsi(int, boolean, java.lang.String, java.lang.String);
descriptor: (IZLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=18, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 1: iconst_0
istore 6
start local 6 2: iconst_m1
istore 7
start local 7 3: iconst_m1
istore 8
start local 8 4: iconst_0
istore 9
start local 9 5: iconst_0
istore 10
start local 10 6: goto 109
7: StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int java.lang.String java.lang.String java.lang.StringBuilder int int int int int
StackMap stack:
aload 0
iload 10
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.charAt:(I)C
istore 11
start local 11 8: aload 3
ifnull 30
aload 4
ifnull 30
9: iload 11
istore 12
start local 12 10: iload 11
lookupswitch { // 11
9472: 16
9474: 21
9484: 13
9488: 12
9492: 14
9496: 11
9500: 17
9508: 18
9516: 20
9524: 19
9532: 15
default: 22
}
11: StackMap locals: int int
StackMap stack:
bipush 106
istore 11
goto 22
12: StackMap locals:
StackMap stack:
bipush 107
istore 11
goto 22
13: StackMap locals:
StackMap stack:
bipush 108
istore 11
goto 22
14: StackMap locals:
StackMap stack:
bipush 109
istore 11
goto 22
15: StackMap locals:
StackMap stack:
bipush 110
istore 11
goto 22
16: StackMap locals:
StackMap stack:
bipush 113
istore 11
goto 22
17: StackMap locals:
StackMap stack:
bipush 116
istore 11
goto 22
18: StackMap locals:
StackMap stack:
bipush 117
istore 11
goto 22
19: StackMap locals:
StackMap stack:
bipush 118
istore 11
goto 22
20: StackMap locals:
StackMap stack:
bipush 119
istore 11
goto 22
21: StackMap locals:
StackMap stack:
bipush 120
istore 11
22: StackMap locals:
StackMap stack:
iload 9
istore 13
start local 13 23: iload 11
iload 12
if_icmpeq 24
iconst_1
goto 25
StackMap locals: int
StackMap stack:
24: iconst_0
StackMap locals:
StackMap stack: int
25: istore 9
26: iload 13
iload 9
ixor
ifeq 30
27: aload 5
iload 9
ifeq 28
aload 3
goto 29
StackMap locals:
StackMap stack: java.lang.StringBuilder
28: aload 4
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int java.lang.String java.lang.String java.lang.StringBuilder int int int int int int int int
StackMap stack: java.lang.StringBuilder java.lang.String
29: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 end local 12 30: StackMap locals:
StackMap stack:
aload 0
iload 10
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.styleCodeAt:(I)I
sipush -1025
iand
istore 12
start local 12 31: iload 6
iload 12
if_icmpeq 107
32: iload 6
iload 12
ixor
sipush 2047
iand
istore 13
start local 13 33: iload 12
sipush 256
iand
ifeq 34
iload 12
ldc 16711680
iand
bipush 16
iushr
goto 35
StackMap locals: int int
StackMap stack:
34: iconst_m1
StackMap locals:
StackMap stack: int
35: istore 14
start local 14 36: iload 12
sipush 512
iand
ifeq 37
iload 12
ldc -16777216
iand
bipush 24
iushr
goto 38
StackMap locals: int
StackMap stack:
37: iconst_m1
StackMap locals:
StackMap stack: int
38: istore 15
start local 15 39: iload 12
ifne 43
40: aload 5
ldc "\u001B[0m"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: iconst_m1
dup
istore 8
istore 7
42: goto 106
43: StackMap locals: int
StackMap stack:
aload 5
ldc "\u001B["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
44: iconst_1
istore 16
start local 16 45: iload 13
iconst_4
iand
ifeq 49
46: aload 5
iload 12
iconst_4
iand
ifeq 47
ldc "3"
goto 48
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int java.lang.String java.lang.String java.lang.StringBuilder int int int int int int int int int int int
StackMap stack: java.lang.StringBuilder
47: ldc "23"
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int java.lang.String java.lang.String java.lang.StringBuilder int int int int int int int int int int int
StackMap stack: java.lang.StringBuilder java.lang.String
48: iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
49: StackMap locals:
StackMap stack:
iload 13
bipush 8
iand
ifeq 53
50: aload 5
iload 12
bipush 8
iand
ifeq 51
ldc "4"
goto 52
StackMap locals:
StackMap stack: java.lang.StringBuilder
51: ldc "24"
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int java.lang.String java.lang.String java.lang.StringBuilder int int int int int int int int int int int
StackMap stack: java.lang.StringBuilder java.lang.String
52: iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
53: StackMap locals:
StackMap stack:
iload 13
bipush 16
iand
ifeq 57
54: aload 5
iload 12
bipush 16
iand
ifeq 55
ldc "5"
goto 56
StackMap locals:
StackMap stack: java.lang.StringBuilder
55: ldc "25"
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int java.lang.String java.lang.String java.lang.StringBuilder int int int int int int int int int int int
StackMap stack: java.lang.StringBuilder java.lang.String
56: iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
57: StackMap locals:
StackMap stack:
iload 13
bipush 32
iand
ifeq 61
58: aload 5
iload 12
bipush 32
iand
ifeq 59
ldc "7"
goto 60
StackMap locals:
StackMap stack: java.lang.StringBuilder
59: ldc "27"
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int java.lang.String java.lang.String java.lang.StringBuilder int int int int int int int int int int int
StackMap stack: java.lang.StringBuilder java.lang.String
60: iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
61: StackMap locals:
StackMap stack:
iload 13
bipush 64
iand
ifeq 65
62: aload 5
iload 12
bipush 64
iand
ifeq 63
ldc "8"
goto 64
StackMap locals:
StackMap stack: java.lang.StringBuilder
63: ldc "28"
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int java.lang.String java.lang.String java.lang.StringBuilder int int int int int int int int int int int
StackMap stack: java.lang.StringBuilder java.lang.String
64: iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
65: StackMap locals:
StackMap stack:
iload 13
sipush 128
iand
ifeq 69
66: aload 5
iload 12
sipush 128
iand
ifeq 67
ldc "9"
goto 68
StackMap locals:
StackMap stack: java.lang.StringBuilder
67: ldc "29"
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int java.lang.String java.lang.String java.lang.StringBuilder int int int int int int int int int int int
StackMap stack: java.lang.StringBuilder java.lang.String
68: iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
69: StackMap locals:
StackMap stack:
iload 7
iload 14
if_icmpeq 84
70: iload 14
iflt 82
71: iload 14
iload 1
invokestatic jdk.internal.org.jline.utils.Colors.roundColor:(II)I
istore 17
start local 17 72: iload 17
bipush 8
if_icmpge 76
iload 2
ifne 76
73: aload 5
new java.lang.StringBuilder
dup
ldc "3"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 17
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
74: iload 13
iload 12
iconst_1
iand
ior
istore 13
75: goto 83
StackMap locals: int
StackMap stack:
76: iload 17
bipush 16
if_icmpge 80
iload 2
ifne 80
77: aload 5
new java.lang.StringBuilder
dup
ldc "9"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 17
bipush 8
isub
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
78: iload 13
iload 12
iconst_1
iand
ior
istore 13
79: goto 83
80: StackMap locals:
StackMap stack:
aload 5
new java.lang.StringBuilder
dup
ldc "38;5;"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 17
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
end local 17 81: goto 83
82: StackMap locals:
StackMap stack:
aload 5
ldc "39"
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
83: StackMap locals:
StackMap stack:
iload 14
istore 7
84: StackMap locals:
StackMap stack:
iload 8
iload 15
if_icmpeq 97
85: iload 15
iflt 95
86: iload 15
iload 1
invokestatic jdk.internal.org.jline.utils.Colors.roundColor:(II)I
istore 17
start local 17 87: iload 17
bipush 8
if_icmpge 90
iload 2
ifne 90
88: aload 5
new java.lang.StringBuilder
dup
ldc "4"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 17
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
89: goto 96
StackMap locals: int
StackMap stack:
90: iload 17
bipush 16
if_icmpge 93
iload 2
ifne 93
91: aload 5
new java.lang.StringBuilder
dup
ldc "10"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 17
bipush 8
isub
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
92: goto 96
93: StackMap locals:
StackMap stack:
aload 5
new java.lang.StringBuilder
dup
ldc "48;5;"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 17
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
end local 17 94: goto 96
95: StackMap locals:
StackMap stack:
aload 5
ldc "49"
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
96: StackMap locals:
StackMap stack:
iload 15
istore 8
97: StackMap locals:
StackMap stack:
iload 13
iconst_3
iand
ifeq 105
98: iload 13
iconst_1
iand
ifeq 99
iload 12
iconst_1
iand
ifeq 100
99: StackMap locals:
StackMap stack:
iload 13
iconst_2
iand
ifeq 101
iload 12
iconst_2
iand
ifne 101
100: StackMap locals:
StackMap stack:
aload 5
ldc "22"
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
101: StackMap locals:
StackMap stack:
iload 13
iconst_1
iand
ifeq 103
iload 12
iconst_1
iand
ifeq 103
102: aload 5
ldc "1"
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
103: StackMap locals:
StackMap stack:
iload 13
iconst_2
iand
ifeq 105
iload 12
iconst_2
iand
ifeq 105
104: aload 5
ldc "2"
iload 16
invokestatic jdk.internal.org.jline.utils.AttributedCharSequence.attr:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
istore 16
105: StackMap locals:
StackMap stack:
aload 5
ldc "m"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 16 106: StackMap locals:
StackMap stack:
iload 12
istore 6
end local 15 end local 14 end local 13 107: StackMap locals:
StackMap stack:
aload 5
iload 11
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 12 end local 11 108: iinc 10 1
StackMap locals:
StackMap stack:
109: iload 10
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.length:()I
if_icmplt 7
end local 10 110: iload 9
ifeq 112
111: aload 5
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
112: StackMap locals:
StackMap stack:
iload 6
ifeq 114
113: aload 5
ldc "\u001B[0m"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
114: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 9 end local 8 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 115 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 115 1 colors I
0 115 2 force256colors Z
0 115 3 altIn Ljava/lang/String;
0 115 4 altOut Ljava/lang/String;
1 115 5 sb Ljava/lang/StringBuilder;
2 115 6 style I
3 115 7 foreground I
4 115 8 background I
5 115 9 alt Z
6 110 10 i I
8 108 11 c C
10 30 12 pc C
23 30 13 oldalt Z
31 108 12 s I
33 107 13 d I
36 107 14 fg I
39 107 15 bg I
45 106 16 first Z
72 81 17 rounded I
87 94 17 rounded I
MethodParameters:
Name Flags
colors
force256colors
altIn
altOut
public static int rgbColor(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic jdk.internal.org.jline.utils.Colors.rgbColor:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 col I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
col
public static int roundColor(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
invokestatic jdk.internal.org.jline.utils.Colors.roundColor:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 col I
0 1 1 max I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
col
max
public static int roundRgbColor(int, int, int, int);
descriptor: (IIII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
iload 1
iload 2
iload 3
invokestatic jdk.internal.org.jline.utils.Colors.roundRgbColor:(IIII)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r I
0 1 1 g I
0 1 2 b I
0 1 3 max I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
r
g
b
max
private static boolean attr(java.lang.StringBuilder, java.lang.String, boolean);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Z)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifne 2
1: aload 0
ldc ";"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 sb Ljava/lang/StringBuilder;
0 4 1 s Ljava/lang/String;
0 4 2 first Z
MethodParameters:
Name Flags
sb
s
first
public abstract jdk.internal.org.jline.utils.AttributedStyle styleAt(int);
descriptor: (I)Ljdk/internal/org/jline/utils/AttributedStyle;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
int styleCodeAt(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.styleAt:(I)Ljdk/internal/org/jline/utils/AttributedStyle;
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.getStyle:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 1 1 index I
MethodParameters:
Name Flags
index
public boolean isHidden(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.styleCodeAt:(I)I
sipush 1024
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 2 1 index I
MethodParameters:
Name Flags
index
public int runStart(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.styleAt:(I)Ljdk/internal/org/jline/utils/AttributedStyle;
astore 2
start local 2 1: goto 3
2: StackMap locals: jdk.internal.org.jline.utils.AttributedStyle
StackMap stack:
iinc 1 -1
3: StackMap locals:
StackMap stack:
iload 1
ifle 4
aload 0
iload 1
iconst_1
isub
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.styleAt:(I)Ljdk/internal/org/jline/utils/AttributedStyle;
aload 2
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.equals:(Ljava/lang/Object;)Z
ifne 2
4: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 5 1 index I
1 5 2 style Ljdk/internal/org/jline/utils/AttributedStyle;
MethodParameters:
Name Flags
index
public int runLimit(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.styleAt:(I)Ljdk/internal/org/jline/utils/AttributedStyle;
astore 2
start local 2 1: goto 3
2: StackMap locals: jdk.internal.org.jline.utils.AttributedStyle
StackMap stack:
iinc 1 1
3: StackMap locals:
StackMap stack:
iload 1
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.length:()I
iconst_1
isub
if_icmpge 4
aload 0
iload 1
iconst_1
iadd
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.styleAt:(I)Ljdk/internal/org/jline/utils/AttributedStyle;
aload 2
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.equals:(Ljava/lang/Object;)Z
ifne 2
4: StackMap locals:
StackMap stack:
iload 1
iconst_1
iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 5 1 index I
1 5 2 style Ljdk/internal/org/jline/utils/AttributedStyle;
MethodParameters:
Name Flags
index
public abstract jdk.internal.org.jline.utils.AttributedString subSequence(int, int);
descriptor: (II)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
start
end
public jdk.internal.org.jline.utils.AttributedString substring(int, int);
descriptor: (II)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.subSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 1 1 start I
0 1 2 end I
MethodParameters:
Name Flags
start
end
protected abstract char[] buffer();
descriptor: ()[C
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int offset();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public char charAt(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.buffer:()[C
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.offset:()I
iload 1
iadd
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 1 1 index I
MethodParameters:
Name Flags
index
public int codePointAt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.buffer:()[C
iload 1
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.offset:()I
iadd
invokestatic java.lang.Character.codePointAt:([CI)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 1 1 index I
MethodParameters:
Name Flags
index
public boolean contains(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.charAt:(I)C
iload 1
if_icmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.length:()I
if_icmplt 2
end local 2 6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 7 1 c C
1 6 2 i I
MethodParameters:
Name Flags
c
public int codePointBefore(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.buffer:()[C
iload 1
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.offset:()I
iadd
invokestatic java.lang.Character.codePointBefore:([CI)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 1 1 index I
MethodParameters:
Name Flags
index
public int codePointCount(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.buffer:()[C
iload 1
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.offset:()I
iadd
iload 2
invokestatic java.lang.Character.codePointCount:([CII)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 1 1 index I
0 1 2 length I
MethodParameters:
Name Flags
index
length
public int columnLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.length:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.codePointAt:(I)I
istore 4
start local 4 5: aload 0
iload 3
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.isHidden:(I)Z
ifne 7
6: iload 1
iload 4
invokestatic jdk.internal.org.jline.utils.WCWidth.wcwidth:(I)I
iadd
istore 1
7: StackMap locals: int
StackMap stack:
iload 3
iload 4
invokestatic java.lang.Character.charCount:(I)I
iadd
istore 3
end local 4 8: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 4
end local 3 9: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
1 10 1 cols I
2 10 2 len I
3 9 3 cur I
5 8 4 cp I
public jdk.internal.org.jline.utils.AttributedString columnSubSequence(int, int);
descriptor: (II)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 11
3: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.codePointAt:(I)I
istore 5
start local 5 4: aload 0
iload 3
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.isHidden:(I)Z
ifeq 5
iconst_0
goto 6
StackMap locals: int
StackMap stack:
5: iload 5
invokestatic jdk.internal.org.jline.utils.WCWidth.wcwidth:(I)I
StackMap locals:
StackMap stack: int
6: istore 6
start local 6 7: iload 4
iload 6
iadd
iload 1
if_icmple 9
8: goto 12
9: StackMap locals: int
StackMap stack:
iinc 3 1
10: iload 4
iload 6
iadd
istore 4
end local 6 end local 5 11: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.length:()I
if_icmplt 3
12: StackMap locals:
StackMap stack:
iload 3
istore 5
start local 5 13: goto 24
14: StackMap locals: int
StackMap stack:
aload 0
iload 5
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.codePointAt:(I)I
istore 6
start local 6 15: iload 6
bipush 10
if_icmpne 17
16: goto 25
17: StackMap locals: int
StackMap stack:
aload 0
iload 5
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.isHidden:(I)Z
ifeq 18
iconst_0
goto 19
StackMap locals:
StackMap stack:
18: iload 6
invokestatic jdk.internal.org.jline.utils.WCWidth.wcwidth:(I)I
StackMap locals:
StackMap stack: int
19: istore 7
start local 7 20: iload 4
iload 7
iadd
iload 2
if_icmple 22
21: goto 25
22: StackMap locals: int
StackMap stack:
iinc 5 1
23: iload 4
iload 7
iadd
istore 4
end local 7 end local 6 24: StackMap locals:
StackMap stack:
iload 5
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.length:()I
if_icmplt 14
25: StackMap locals:
StackMap stack:
aload 0
iload 3
iload 5
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.subSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
areturn
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 26 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 26 1 start I
0 26 2 stop I
1 26 3 begin I
2 26 4 col I
4 11 5 cp I
7 11 6 w I
13 26 5 end I
15 24 6 cp I
20 24 7 w I
MethodParameters:
Name Flags
start
stop
public java.util.List<jdk.internal.org.jline.utils.AttributedString> columnSplitLength(int);
descriptor: (I)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_0
iconst_1
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.columnSplitLength:(IZZ)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 1 1 columns I
Signature: (I)Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
MethodParameters:
Name Flags
columns
public java.util.List<jdk.internal.org.jline.utils.AttributedString> columnSplitLength(int, boolean, boolean);
descriptor: (IZZ)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: iload 5
istore 6
start local 6 3: iconst_0
istore 7
start local 7 4: goto 21
5: StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int int java.util.List int int int
StackMap stack:
aload 0
iload 5
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.codePointAt:(I)I
istore 8
start local 8 6: aload 0
iload 5
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.isHidden:(I)Z
ifeq 7
iconst_0
goto 8
StackMap locals: int
StackMap stack:
7: iload 8
invokestatic jdk.internal.org.jline.utils.WCWidth.wcwidth:(I)I
StackMap locals:
StackMap stack: int
8: istore 9
start local 9 9: iload 8
bipush 10
if_icmpne 16
10: aload 4
aload 0
iload 6
iload 2
ifeq 11
iload 5
iconst_1
iadd
goto 12
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int int java.util.List int int int int int
StackMap stack: java.util.List jdk.internal.org.jline.utils.AttributedCharSequence int
11: iload 5
StackMap locals: jdk.internal.org.jline.utils.AttributedCharSequence int int int java.util.List int int int int int
StackMap stack: java.util.List jdk.internal.org.jline.utils.AttributedCharSequence int int
12: invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.subSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: iload 5
iconst_1
iadd
istore 6
14: iconst_0
istore 7
15: goto 20
StackMap locals:
StackMap stack:
16: iload 7
iload 9
iadd
dup
istore 7
iload 1
if_icmple 20
17: aload 4
aload 0
iload 6
iload 5
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.subSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: iload 5
istore 6
19: iload 9
istore 7
20: StackMap locals:
StackMap stack:
iload 5
iload 8
invokestatic java.lang.Character.charCount:(I)I
iadd
istore 5
end local 9 end local 8 21: StackMap locals:
StackMap stack:
iload 5
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.length:()I
if_icmplt 5
22: aload 4
aload 0
iload 6
iload 5
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.subSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: aload 4
areturn
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 24 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
0 24 1 columns I
0 24 2 includeNewlines Z
0 24 3 delayLineWrap Z
1 24 4 strings Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
2 24 5 cur I
3 24 6 beg I
4 24 7 col I
6 21 8 cp I
9 21 9 w I
Signature: (IZZ)Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
MethodParameters:
Name Flags
columns
includeNewlines
delayLineWrap
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.buffer:()[C
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.offset:()I
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.length:()I
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
public jdk.internal.org.jline.utils.AttributedString toAttributedString();
descriptor: ()Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.length:()I
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.substring:(II)Ljdk/internal/org/jline/utils/AttributedString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedCharSequence;
public java.lang.CharSequence subSequence(int, int);
descriptor: (II)Ljava/lang/CharSequence;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
iload 2
invokevirtual jdk.internal.org.jline.utils.AttributedCharSequence.subSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AttributedCharSequence.java"
InnerClasses:
public final Capability = jdk.internal.org.jline.utils.InfoCmp$Capability of jdk.internal.org.jline.utils.InfoCmp