class implements java.util.function.Supplier<jdk.internal.org.jline.utils.AttributedString>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport
super_class: java.lang.Object
{
final java.util.List<jdk.internal.org.jline.reader.Candidate> ;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;
final java.util.function.BiFunction<java.lang.CharSequence, java.lang.Boolean, java.lang.CharSequence> ;
descriptor: Ljava/util/function/BiFunction;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/BiFunction<Ljava/lang/CharSequence;Ljava/lang/Boolean;Ljava/lang/CharSequence;>;
int ;
descriptor: I
flags: (0x0000)
int ;
descriptor: I
flags: (0x0000)
java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0000)
jdk.internal.org.jline.utils.AttributedString ;
descriptor: Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0000)
int ;
descriptor: I
flags: (0x0000)
int columns;
descriptor: I
flags: (0x0000)
java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0000)
final jdk.internal.org.jline.reader.impl.LineReaderImpl ;
descriptor: Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(java.util.List<jdk.internal.org.jline.reader.Candidate>, java.lang.String, java.util.function.BiFunction<java.lang.CharSequence, java.lang.Boolean, java.lang.CharSequence>);
descriptor: (Ljdk/internal/org/jline/reader/impl/LineReaderImpl;Ljava/util/List;Ljava/lang/String;Ljava/util/function/BiFunction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
2: aload 0
aload 4
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.escaper:Ljava/util/function/BiFunction;
3: aload 0
iconst_m1
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
4: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.topLine:I
5: aload 0
ldc ""
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.word:Ljava/lang/String;
6: aload 0
aload 3
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.completed:Ljava/lang/String;
7: aload 1
aload 2
aconst_null
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
aload 3
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.computePost:(Ljava/util/List;Ljdk/internal/org/jline/reader/Candidate;Ljava/util/List;Ljava/lang/String;)Ljdk/internal/org/jline/reader/impl/LineReaderImpl$PostResult;
pop
8: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.next:()V
9: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
0 10 2 original Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;
0 10 3 completed Ljava/lang/String;
0 10 4 escaper Ljava/util/function/BiFunction<Ljava/lang/CharSequence;Ljava/lang/Boolean;Ljava/lang/CharSequence;>;
Signature: (Ljava/util/List<Ljdk/internal/org/jline/reader/Candidate;>;Ljava/lang/String;Ljava/util/function/BiFunction<Ljava/lang/CharSequence;Ljava/lang/Boolean;Ljava/lang/CharSequence;>;)V
MethodParameters:
Name Flags
this$0 final
original
completed
escaper
public jdk.internal.org.jline.reader.Candidate completion();
descriptor: ()Ljdk/internal/org/jline/reader/Candidate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.reader.Candidate
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
iconst_1
iadd
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
invokeinterface java.util.List.size:()I
irem
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
1: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.update:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
iconst_1
isub
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
invokeinterface java.util.List.size:()I
irem
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
1: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.update:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
private void (int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getstatic jdk.internal.org.jline.reader.LineReader$Option.LIST_ROWS_FIRST:Ljdk/internal/org/jline/reader/LineReader$Option;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.isSet:(Ljdk/internal/org/jline/reader/LineReader$Option;)Z
ifeq 1
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.columns:I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.lines:I
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
iload 1
iload 2
imul
iadd
istore 3
start local 3 4: iload 3
ifge 11
5: iload 3
iload 2
iadd
iload 2
irem
istore 4
start local 4 6: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
invokeinterface java.util.List.size:()I
iload 2
irem
istore 5
start local 5 7: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
invokeinterface java.util.List.size:()I
iload 5
isub
iload 4
iadd
istore 3
8: iload 3
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 13
9: iload 3
iload 2
isub
istore 3
end local 5 end local 4 10: goto 13
StackMap locals: int int
StackMap stack:
11: iload 3
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 13
12: iload 3
iload 2
irem
istore 3
13: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
14: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.update:()V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
0 16 1 step I
3 16 2 axis I
4 16 3 sel I
6 10 4 pos I
7 10 5 remainders I
MethodParameters:
Name Flags
step
private void (int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getstatic jdk.internal.org.jline.reader.LineReader$Option.LIST_ROWS_FIRST:Ljdk/internal/org/jline/reader/LineReader$Option;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.isSet:(Ljdk/internal/org/jline/reader/LineReader$Option;)Z
ifeq 1
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.columns:I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.lines:I
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
iload 2
irem
istore 3
start local 3 4: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 4
start local 4 5: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
iload 3
isub
iload 2
iadd
iload 4
if_icmple 7
6: iload 4
iload 2
irem
istore 2
7: StackMap locals: int int int
StackMap stack:
aload 0
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
iload 3
isub
iload 2
iload 3
iadd
iload 1
iadd
iload 2
irem
iadd
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.selection:I
8: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.update:()V
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
0 10 1 step I
3 10 2 axis I
4 10 3 row I
5 10 4 options I
MethodParameters:
Name Flags
step
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getstatic jdk.internal.org.jline.reader.LineReader$Option.LIST_ROWS_FIRST:Ljdk/internal/org/jline/reader/LineReader$Option;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.isSet:(Ljdk/internal/org/jline/reader/LineReader$Option;)Z
ifeq 3
1: aload 0
iconst_m1
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.major:(I)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_m1
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.minor:(I)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getstatic jdk.internal.org.jline.reader.LineReader$Option.LIST_ROWS_FIRST:Ljdk/internal/org/jline/reader/LineReader$Option;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.isSet:(Ljdk/internal/org/jline/reader/LineReader$Option;)Z
ifeq 3
1: aload 0
iconst_1
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.major:(I)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.minor:(I)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getstatic jdk.internal.org.jline.reader.LineReader$Option.LIST_ROWS_FIRST:Ljdk/internal/org/jline/reader/LineReader$Option;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.isSet:(Ljdk/internal/org/jline/reader/LineReader$Option;)Z
ifeq 3
1: aload 0
iconst_m1
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.minor:(I)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_m1
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.major:(I)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getstatic jdk.internal.org.jline.reader.LineReader$Option.LIST_ROWS_FIRST:Ljdk/internal/org/jline/reader/LineReader$Option;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.isSet:(Ljdk/internal/org/jline/reader/LineReader$Option;)Z
ifeq 3
1: aload 0
iconst_1
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.minor:(I)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.major:(I)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.buf:Ljdk/internal/org/jline/reader/Buffer;
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.word:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokeinterface jdk.internal.org.jline.reader.Buffer.backspace:(I)I
pop
1: aload 0
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.escaper:Ljava/util/function/BiFunction;
aload 0
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.completion:()Ljdk/internal/org/jline/reader/Candidate;
invokevirtual jdk.internal.org.jline.reader.Candidate.value:()Ljava/lang/String;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.function.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.CharSequence
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.word:Ljava/lang/String;
2: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.buf:Ljdk/internal/org/jline/reader/Buffer;
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.word:Ljava/lang/String;
invokeinterface jdk.internal.org.jline.reader.Buffer.write:(Ljava/lang/CharSequence;)V
3: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
aload 0
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.completion:()Ljdk/internal/org/jline/reader/Candidate;
aconst_null
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.completed:Ljava/lang/String;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.computePost:(Ljava/util/List;Ljdk/internal/org/jline/reader/Candidate;Ljava/util/List;Ljava/lang/String;)Ljdk/internal/org/jline/reader/impl/LineReaderImpl$PostResult;
astore 1
start local 1 4: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
iconst_2
anewarray java.lang.CharSequence
dup
iconst_0
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.prompt:Ljdk/internal/org/jline/utils/AttributedString;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.buf:Ljdk/internal/org/jline/reader/Buffer;
invokeinterface jdk.internal.org.jline.reader.Buffer.toString:()Ljava/lang/String;
aastore
invokestatic jdk.internal.org.jline.utils.AttributedStringBuilder.append:([Ljava/lang/CharSequence;)Ljdk/internal/org/jline/utils/AttributedString;
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.insertSecondaryPrompts:(Ljdk/internal/org/jline/utils/AttributedString;Ljava/util/List;)Ljdk/internal/org/jline/utils/AttributedString;
astore 2
start local 2 5: aload 2
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.size:Ljdk/internal/org/jline/terminal/Size;
invokevirtual jdk.internal.org.jline.terminal.Size.getColumns:()I
iconst_0
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.display:Ljdk/internal/org/jline/utils/Display;
invokevirtual jdk.internal.org.jline.utils.Display.delayLineWrap:()Z
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnSplitLength:(IZZ)Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 6: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.terminal:Ljdk/internal/org/jline/terminal/Terminal;
iconst_0
invokestatic jdk.internal.org.jline.utils.Status.getStatus:(Ljdk/internal/org/jline/terminal/Terminal;Z)Ljdk/internal/org/jline/utils/Status;
astore 4
start local 4 7: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.size:Ljdk/internal/org/jline/terminal/Size;
invokevirtual jdk.internal.org.jline.terminal.Size.getRows:()I
aload 4
ifnull 8
aload 4
invokevirtual jdk.internal.org.jline.utils.Status.size:()I
goto 9
StackMap locals: jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult jdk.internal.org.jline.utils.AttributedString int jdk.internal.org.jline.utils.Status
StackMap stack: int
8: iconst_0
StackMap locals: jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult jdk.internal.org.jline.utils.AttributedString int jdk.internal.org.jline.utils.Status
StackMap stack: int int
9: isub
iload 3
isub
istore 5
start local 5 10: aload 1
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult.lines:I
iload 5
if_icmple 38
11: iload 5
iconst_1
isub
istore 6
start local 6 12: aload 1
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult.selectedLine:I
iflt 18
13: aload 1
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult.selectedLine:I
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.topLine:I
if_icmpge 16
14: aload 0
aload 1
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult.selectedLine:I
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.topLine:I
15: goto 18
StackMap locals: int int
StackMap stack:
16: aload 1
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult.selectedLine:I
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.topLine:I
iload 6
iadd
if_icmplt 18
17: aload 0
aload 1
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult.selectedLine:I
iload 6
isub
iconst_1
iadd
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.topLine:I
18: StackMap locals:
StackMap stack:
aload 1
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult.post:Ljdk/internal/org/jline/utils/AttributedString;
astore 7
start local 7 19: aload 7
invokevirtual jdk.internal.org.jline.utils.AttributedString.length:()I
ifle 23
aload 7
aload 7
invokevirtual jdk.internal.org.jline.utils.AttributedString.length:()I
iconst_1
isub
invokevirtual jdk.internal.org.jline.utils.AttributedString.charAt:(I)C
bipush 10
if_icmpeq 23
20: new jdk.internal.org.jline.utils.AttributedStringBuilder
dup
aload 7
invokevirtual jdk.internal.org.jline.utils.AttributedString.length:()I
iconst_1
iadd
invokespecial jdk.internal.org.jline.utils.AttributedStringBuilder.<init>:(I)V
21: aload 7
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljdk/internal/org/jline/utils/AttributedString;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
ldc "\n"
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljava/lang/CharSequence;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.toAttributedString:()Ljdk/internal/org/jline/utils/AttributedString;
22: astore 7
23: StackMap locals: jdk.internal.org.jline.utils.AttributedString
StackMap stack:
aload 7
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.size:Ljdk/internal/org/jline/terminal/Size;
invokevirtual jdk.internal.org.jline.terminal.Size.getColumns:()I
iconst_1
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.this$0:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl.display:Ljdk/internal/org/jline/utils/Display;
invokevirtual jdk.internal.org.jline.utils.Display.delayLineWrap:()Z
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnSplitLength:(IZZ)Ljava/util/List;
astore 8
start local 8 24: new java.util.ArrayList
dup
aload 8
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.topLine:I
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.topLine:I
iload 6
iadd
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 9
start local 9 25: aload 9
new jdk.internal.org.jline.utils.AttributedStringBuilder
dup
invokespecial jdk.internal.org.jline.utils.AttributedStringBuilder.<init>:()V
26: getstatic jdk.internal.org.jline.utils.AttributedStyle.DEFAULT:Ljdk/internal/org/jline/utils/AttributedStyle;
bipush 6
invokevirtual jdk.internal.org.jline.utils.AttributedStyle.foreground:(I)Ljdk/internal/org/jline/utils/AttributedStyle;
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.style:(Ljdk/internal/org/jline/utils/AttributedStyle;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
27: ldc "rows "
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljava/lang/CharSequence;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
28: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.topLine:I
iconst_1
iadd
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljava/lang/CharSequence;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
29: ldc " to "
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljava/lang/CharSequence;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
30: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.topLine:I
iload 6
iadd
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljava/lang/CharSequence;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
31: ldc " of "
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljava/lang/CharSequence;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
32: aload 8
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljava/lang/CharSequence;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
33: ldc "\n"
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljava/lang/CharSequence;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
34: getstatic jdk.internal.org.jline.utils.AttributedStyle.DEFAULT:Ljdk/internal/org/jline/utils/AttributedStyle;
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.style:(Ljdk/internal/org/jline/utils/AttributedStyle;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.toAttributedString:()Ljdk/internal/org/jline/utils/AttributedString;
35: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
36: aload 0
getstatic jdk.internal.org.jline.utils.AttributedString.EMPTY:Ljdk/internal/org/jline/utils/AttributedString;
aload 9
invokestatic jdk.internal.org.jline.utils.AttributedString.join:(Ljdk/internal/org/jline/utils/AttributedString;Ljava/lang/Iterable;)Ljdk/internal/org/jline/utils/AttributedString;
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.computed:Ljdk/internal/org/jline/utils/AttributedString;
end local 9 end local 8 end local 7 end local 6 37: goto 39
38: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult.post:Ljdk/internal/org/jline/utils/AttributedString;
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.computed:Ljdk/internal/org/jline/utils/AttributedString;
39: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult.lines:I
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.lines:I
40: aload 0
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.possible:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.lines:I
iadd
iconst_1
isub
aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.lines:I
idiv
putfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.columns:I
41: return
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 42 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
4 42 1 pr Ljdk/internal/org/jline/reader/impl/LineReaderImpl$PostResult;
5 42 2 text Ljdk/internal/org/jline/utils/AttributedString;
6 42 3 promptLines I
7 42 4 status Ljdk/internal/org/jline/utils/Status;
10 42 5 displaySize I
12 37 6 displayed I
19 37 7 post Ljdk/internal/org/jline/utils/AttributedString;
24 37 8 lines Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
25 37 9 sub Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
public jdk.internal.org.jline.utils.AttributedString ();
descriptor: ()Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.computed:Ljdk/internal/org/jline/utils/AttributedString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/LineReaderImpl$MenuSupport;
public java.lang.Object ();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport.get:()Ljdk/internal/org/jline/utils/AttributedString;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/function/Supplier<Ljdk/internal/org/jline/utils/AttributedString;>;
SourceFile: "LineReaderImpl.java"
NestHost: jdk.internal.org.jline.reader.impl.LineReaderImpl
InnerClasses:
public final Option = jdk.internal.org.jline.reader.LineReader$Option of jdk.internal.org.jline.reader.LineReader
private MenuSupport = jdk.internal.org.jline.reader.impl.LineReaderImpl$MenuSupport of jdk.internal.org.jline.reader.impl.LineReaderImpl
protected PostResult = jdk.internal.org.jline.reader.impl.LineReaderImpl$PostResult of jdk.internal.org.jline.reader.impl.LineReaderImpl