public class jdk.internal.org.jline.utils.AttributedString extends jdk.internal.org.jline.utils.AttributedCharSequence
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.utils.AttributedString
super_class: jdk.internal.org.jline.utils.AttributedCharSequence
{
final char[] buffer;
descriptor: [C
flags: (0x0010) ACC_FINAL
final int[] style;
descriptor: [I
flags: (0x0010) ACC_FINAL
final int start;
descriptor: I
flags: (0x0010) ACC_FINAL
final int end;
descriptor: I
flags: (0x0010) ACC_FINAL
public static final jdk.internal.org.jline.utils.AttributedString EMPTY;
descriptor: Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.internal.org.jline.utils.AttributedString NEWLINE;
descriptor: Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new jdk.internal.org.jline.utils.AttributedString
dup
ldc ""
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;)V
putstatic jdk.internal.org.jline.utils.AttributedString.EMPTY:Ljdk/internal/org/jline/utils/AttributedString;
1: new jdk.internal.org.jline.utils.AttributedString
dup
ldc "\n"
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;)V
putstatic jdk.internal.org.jline.utils.AttributedString.NEWLINE:Ljdk/internal/org/jline/utils/AttributedString;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
invokeinterface java.lang.CharSequence.length:()I
aconst_null
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;IILjdk/internal/org/jline/utils/AttributedStyle;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 2 1 str Ljava/lang/CharSequence;
MethodParameters:
Name Flags
str
public void <init>(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
aconst_null
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;IILjdk/internal/org/jline/utils/AttributedStyle;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 2 1 str Ljava/lang/CharSequence;
0 2 2 start I
0 2 3 end I
MethodParameters:
Name Flags
str
start
end
public void <init>(java.lang.CharSequence, jdk.internal.org.jline.utils.AttributedStyle);
descriptor: (Ljava/lang/CharSequence;Ljdk/internal/org/jline/utils/AttributedStyle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 1
invokeinterface java.lang.CharSequence.length:()I
aload 2
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;IILjdk/internal/org/jline/utils/AttributedStyle;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 2 1 str Ljava/lang/CharSequence;
0 2 2 s Ljdk/internal/org/jline/utils/AttributedStyle;
MethodParameters:
Name Flags
str
s
public void <init>(java.lang.CharSequence, int, int, jdk.internal.org.jline.utils.AttributedStyle);
descriptor: (Ljava/lang/CharSequence;IILjdk/internal/org/jline/utils/AttributedStyle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial jdk.internal.org.jline.utils.AttributedCharSequence.<init>:()V
1: iload 3
iload 2
if_icmpge 3
2: new java.security.InvalidParameterException
dup
invokespecial java.security.InvalidParameterException.<init>:()V
athrow
3: StackMap locals: jdk.internal.org.jline.utils.AttributedString java.lang.CharSequence int int jdk.internal.org.jline.utils.AttributedStyle
StackMap stack:
aload 1
instanceof jdk.internal.org.jline.utils.AttributedString
ifeq 18
4: aload 1
checkcast jdk.internal.org.jline.utils.AttributedString
astore 5
start local 5 5: aload 0
aload 5
getfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
putfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
6: aload 4
ifnull 14
7: aload 0
aload 5
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
putfield jdk.internal.org.jline.utils.AttributedString.style:[I
8: iconst_0
istore 6
start local 6 9: goto 12
10: StackMap locals: jdk.internal.org.jline.utils.AttributedString int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
iload 6
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
iload 6
iaload
aload 4
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.getMask:()I
iconst_m1
ixor
iand
aload 4
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.getStyle:()I
ior
iastore
11: iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
arraylength
if_icmplt 10
end local 6 13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
aload 5
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
putfield jdk.internal.org.jline.utils.AttributedString.style:[I
15: StackMap locals:
StackMap stack:
aload 0
aload 5
getfield jdk.internal.org.jline.utils.AttributedString.start:I
iload 2
iadd
putfield jdk.internal.org.jline.utils.AttributedString.start:I
16: aload 0
aload 5
getfield jdk.internal.org.jline.utils.AttributedString.start:I
iload 3
iadd
putfield jdk.internal.org.jline.utils.AttributedString.end:I
end local 5 17: goto 44
StackMap locals:
StackMap stack:
18: aload 1
instanceof jdk.internal.org.jline.utils.AttributedStringBuilder
ifeq 32
19: aload 1
checkcast jdk.internal.org.jline.utils.AttributedStringBuilder
astore 5
start local 5 20: aload 5
iload 2
iload 3
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.subSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
astore 6
start local 6 21: aload 0
aload 6
getfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
putfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
22: aload 0
aload 6
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
putfield jdk.internal.org.jline.utils.AttributedString.style:[I
23: aload 4
ifnull 29
24: iconst_0
istore 7
start local 7 25: goto 28
26: StackMap locals: jdk.internal.org.jline.utils.AttributedStringBuilder jdk.internal.org.jline.utils.AttributedString int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
iload 7
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
iload 7
iaload
aload 4
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.getMask:()I
iconst_m1
ixor
iand
aload 4
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.getStyle:()I
ior
iastore
27: iinc 7 1
StackMap locals:
StackMap stack:
28: iload 7
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
arraylength
if_icmplt 26
end local 7 29: StackMap locals:
StackMap stack:
aload 0
aload 6
getfield jdk.internal.org.jline.utils.AttributedString.start:I
putfield jdk.internal.org.jline.utils.AttributedString.start:I
30: aload 0
aload 6
getfield jdk.internal.org.jline.utils.AttributedString.end:I
putfield jdk.internal.org.jline.utils.AttributedString.end:I
end local 6 end local 5 31: goto 44
32: StackMap locals:
StackMap stack:
iload 3
iload 2
isub
istore 5
start local 5 33: aload 0
iload 5
newarray 5
putfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
34: iconst_0
istore 6
start local 6 35: goto 38
36: StackMap locals: int int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
iload 6
aload 1
iload 2
iload 6
iadd
invokeinterface java.lang.CharSequence.charAt:(I)C
castore
37: iinc 6 1
StackMap locals:
StackMap stack:
38: iload 6
iload 5
if_icmplt 36
end local 6 39: aload 0
iload 5
newarray 10
putfield jdk.internal.org.jline.utils.AttributedString.style:[I
40: aload 4
ifnull 42
41: aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
aload 4
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.getStyle:()I
invokestatic java.util.Arrays.fill:([II)V
42: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.internal.org.jline.utils.AttributedString.start:I
43: aload 0
iload 5
putfield jdk.internal.org.jline.utils.AttributedString.end:I
end local 5 44: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 45 1 str Ljava/lang/CharSequence;
0 45 2 start I
0 45 3 end I
0 45 4 s Ljdk/internal/org/jline/utils/AttributedStyle;
5 17 5 as Ljdk/internal/org/jline/utils/AttributedString;
9 13 6 i I
20 31 5 asb Ljdk/internal/org/jline/utils/AttributedStringBuilder;
21 31 6 as Ljdk/internal/org/jline/utils/AttributedString;
25 29 7 i I
33 44 5 l I
35 39 6 i I
MethodParameters:
Name Flags
str
start
end
s
void <init>(char[], int[], int, int);
descriptor: ([C[III)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial jdk.internal.org.jline.utils.AttributedCharSequence.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
2: aload 0
aload 2
putfield jdk.internal.org.jline.utils.AttributedString.style:[I
3: aload 0
iload 3
putfield jdk.internal.org.jline.utils.AttributedString.start:I
4: aload 0
iload 4
putfield jdk.internal.org.jline.utils.AttributedString.end:I
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 6 1 buffer [C
0 6 2 style [I
0 6 3 start I
0 6 4 end I
MethodParameters:
Name Flags
buffer
style
start
end
public static jdk.internal.org.jline.utils.AttributedString fromAnsi(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic jdk.internal.org.jline.utils.AttributedString.fromAnsi:(Ljava/lang/String;I)Ljdk/internal/org/jline/utils/AttributedString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ansi Ljava/lang/String;
MethodParameters:
Name Flags
ansi
public static jdk.internal.org.jline.utils.AttributedString fromAnsi(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
anewarray java.lang.Integer
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic jdk.internal.org.jline.utils.AttributedString.fromAnsi:(Ljava/lang/String;Ljava/util/List;)Ljdk/internal/org/jline/utils/AttributedString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ansi Ljava/lang/String;
0 1 1 tabs I
MethodParameters:
Name Flags
ansi
tabs
public static jdk.internal.org.jline.utils.AttributedString fromAnsi(java.lang.String, java.util.List<java.lang.Integer>);
descriptor: (Ljava/lang/String;Ljava/util/List;)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new jdk.internal.org.jline.utils.AttributedStringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial jdk.internal.org.jline.utils.AttributedStringBuilder.<init>:(I)V
3: aload 1
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.tabs:(Ljava/util/List;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
4: aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.ansiAppend:(Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
5: invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.toAttributedString:()Ljdk/internal/org/jline/utils/AttributedString;
6: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 ansi Ljava/lang/String;
0 7 1 tabs Ljava/util/List<Ljava/lang/Integer;>;
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/Integer;>;)Ljdk/internal/org/jline/utils/AttributedString;
MethodParameters:
Name Flags
ansi
tabs
public static java.lang.String stripAnsi(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new jdk.internal.org.jline.utils.AttributedStringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial jdk.internal.org.jline.utils.AttributedStringBuilder.<init>:(I)V
3: aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.ansiAppend:(Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
4: invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.toString:()Ljava/lang/String;
5: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ansi Ljava/lang/String;
MethodParameters:
Name Flags
ansi
protected char[] buffer();
descriptor: ()[C
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedString;
protected int offset();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedString;
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.AttributedString.end:I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedString;
public jdk.internal.org.jline.utils.AttributedStyle styleAt(int);
descriptor: (I)Ljdk/internal/org/jline/utils/AttributedStyle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new jdk.internal.org.jline.utils.AttributedStyle
dup
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
iload 1
iadd
iaload
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
iload 1
iadd
iaload
invokespecial jdk.internal.org.jline.utils.AttributedStyle.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 1 1 index I
MethodParameters:
Name Flags
index
int styleCodeAt(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
iload 1
iadd
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 1 1 index I
MethodParameters:
Name Flags
index
public jdk.internal.org.jline.utils.AttributedString subSequence(int, int);
descriptor: (II)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.internal.org.jline.utils.AttributedString
dup
aload 0
iload 1
iload 2
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;II)V
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/AttributedString;
0 1 1 start I
0 1 2 end I
MethodParameters:
Name Flags
start
end
public jdk.internal.org.jline.utils.AttributedString styleMatches(java.util.regex.Pattern, jdk.internal.org.jline.utils.AttributedStyle);
descriptor: (Ljava/util/regex/Pattern;Ljdk/internal/org/jline/utils/AttributedStyle;)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 1: aload 3
invokevirtual java.util.regex.Matcher.find:()Z
istore 4
start local 4 2: iload 4
ifeq 12
3: aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
astore 5
start local 5 4: StackMap locals: java.util.regex.Matcher int int[]
StackMap stack:
aload 3
invokevirtual java.util.regex.Matcher.start:()I
istore 6
start local 6 5: goto 8
6: StackMap locals: int
StackMap stack:
aload 5
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
iload 6
iadd
aload 5
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
iload 6
iadd
iaload
aload 2
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.getMask:()I
iconst_m1
ixor
iand
aload 2
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.getStyle:()I
ior
iastore
7: iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
aload 3
invokevirtual java.util.regex.Matcher.end:()I
if_icmplt 6
end local 6 9: aload 3
invokevirtual java.util.regex.Matcher.find:()Z
istore 4
10: iload 4
ifne 4
11: new jdk.internal.org.jline.utils.AttributedString
dup
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
aload 5
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.end:I
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:([C[III)V
areturn
end local 5 12: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 13 1 pattern Ljava/util/regex/Pattern;
0 13 2 style Ljdk/internal/org/jline/utils/AttributedStyle;
1 13 3 matcher Ljava/util/regex/Matcher;
2 13 4 result Z
4 12 5 newstyle [I
5 9 6 i I
MethodParameters:
Name Flags
pattern
style
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.internal.org.jline.utils.AttributedString
astore 2
start local 2 4: aload 0
getfield jdk.internal.org.jline.utils.AttributedString.end:I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
isub
aload 2
getfield jdk.internal.org.jline.utils.AttributedString.end:I
aload 2
getfield jdk.internal.org.jline.utils.AttributedString.start:I
isub
if_icmpne 8
5: aload 0
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
aload 2
getfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
aload 2
getfield jdk.internal.org.jline.utils.AttributedString.start:I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.end:I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
isub
invokevirtual jdk.internal.org.jline.utils.AttributedString.arrEq:([C[CIII)Z
ifeq 8
6: aload 0
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
aload 2
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
aload 2
getfield jdk.internal.org.jline.utils.AttributedString.start:I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.end:I
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
isub
invokevirtual jdk.internal.org.jline.utils.AttributedString.arrEq:([I[IIII)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: jdk.internal.org.jline.utils.AttributedString
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 9 1 o Ljava/lang/Object;
4 9 2 that Ljdk/internal/org/jline/utils/AttributedString;
MethodParameters:
Name Flags
o
private boolean arrEq(char[], char[], int, int, int);
descriptor: ([C[CIII)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iconst_0
istore 6
start local 6 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 1
iload 3
iload 6
iadd
caload
aload 2
iload 4
iload 6
iadd
caload
if_icmpeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
5: iload 6
iload 5
if_icmplt 2
end local 6 6: iconst_1
ireturn
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 7 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 7 1 a1 [C
0 7 2 a2 [C
0 7 3 s1 I
0 7 4 s2 I
0 7 5 l I
1 6 6 i I
MethodParameters:
Name Flags
a1
a2
s1
s2
l
private boolean arrEq(int[], int[], int, int, int);
descriptor: ([I[IIII)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iconst_0
istore 6
start local 6 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 1
iload 3
iload 6
iadd
iaload
aload 2
iload 4
iload 6
iadd
iaload
if_icmpeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
5: iload 6
iload 5
if_icmplt 2
end local 6 6: iconst_1
ireturn
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 7 0 this Ljdk/internal/org/jline/utils/AttributedString;
0 7 1 a1 [I
0 7 2 a2 [I
0 7 3 s1 I
0 7 4 s2 I
0 7 5 l I
1 6 6 i I
MethodParameters:
Name Flags
a1
a2
s1
s2
l
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.AttributedString.buffer:[C
invokestatic java.util.Arrays.hashCode:([C)I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.style:[I
invokestatic java.util.Arrays.hashCode:([I)I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.start:I
iadd
istore 1
3: bipush 31
iload 1
imul
aload 0
getfield jdk.internal.org.jline.utils.AttributedString.end:I
iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/utils/AttributedString;
1 5 1 result I
public static jdk.internal.org.jline.utils.AttributedString join(jdk.internal.org.jline.utils.AttributedString, jdk.internal.org.jline.utils.AttributedString[]);
descriptor: (Ljdk/internal/org/jline/utils/AttributedString;[Ljdk/internal/org/jline/utils/AttributedString;)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic jdk.internal.org.jline.utils.AttributedString.join:(Ljdk/internal/org/jline/utils/AttributedString;Ljava/lang/Iterable;)Ljdk/internal/org/jline/utils/AttributedString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 delimiter Ljdk/internal/org/jline/utils/AttributedString;
0 3 1 elements [Ljdk/internal/org/jline/utils/AttributedString;
MethodParameters:
Name Flags
delimiter
elements
public static jdk.internal.org.jline.utils.AttributedString join(jdk.internal.org.jline.utils.AttributedString, java.lang.Iterable<jdk.internal.org.jline.utils.AttributedString>);
descriptor: (Ljdk/internal/org/jline/utils/AttributedString;Ljava/lang/Iterable;)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new jdk.internal.org.jline.utils.AttributedStringBuilder
dup
invokespecial jdk.internal.org.jline.utils.AttributedStringBuilder.<init>:()V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: jdk.internal.org.jline.utils.AttributedString java.lang.Iterable jdk.internal.org.jline.utils.AttributedStringBuilder int top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.AttributedString
astore 4
start local 4 5: iload 3
iinc 3 1
ifle 7
aload 0
ifnull 7
6: aload 2
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljdk/internal/org/jline/utils/AttributedString;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
pop
7: StackMap locals: jdk.internal.org.jline.utils.AttributedString java.lang.Iterable jdk.internal.org.jline.utils.AttributedStringBuilder int jdk.internal.org.jline.utils.AttributedString java.util.Iterator
StackMap stack:
aload 2
aload 4
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljdk/internal/org/jline/utils/AttributedString;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
pop
end local 4 8: StackMap locals: jdk.internal.org.jline.utils.AttributedString java.lang.Iterable jdk.internal.org.jline.utils.AttributedStringBuilder int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 2
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.toAttributedString:()Ljdk/internal/org/jline/utils/AttributedString;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 delimiter Ljdk/internal/org/jline/utils/AttributedString;
0 10 1 elements Ljava/lang/Iterable<Ljdk/internal/org/jline/utils/AttributedString;>;
2 10 2 sb Ljdk/internal/org/jline/utils/AttributedStringBuilder;
3 10 3 i I
5 8 4 str Ljdk/internal/org/jline/utils/AttributedString;
Signature: (Ljdk/internal/org/jline/utils/AttributedString;Ljava/lang/Iterable<Ljdk/internal/org/jline/utils/AttributedString;>;)Ljdk/internal/org/jline/utils/AttributedString;
MethodParameters:
Name Flags
delimiter
elements
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.AttributedString.subSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AttributedString.java"