public abstract class implements jdk.internal.jline.console.history.History
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.internal.jline.extra.EditingHistory
super_class: java.lang.Object
{
private final jdk.internal.jline.console.history.History ;
descriptor: Ljdk/internal/jline/console/history/History;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.internal.jline.console.history.History ;
descriptor: Ljdk/internal/jline/console/history/History;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\u001B[1;5A"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\u001B[1;5B"
protected void <init>(jdk.internal.jline.console.ConsoleReader, java.lang.Iterable<? extends java.lang.String>);
descriptor: (Ljdk/internal/jline/console/ConsoleReader;Ljava/lang/Iterable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new jdk.internal.jline.console.history.MemoryHistory
dup
invokespecial jdk.internal.jline.console.history.MemoryHistory.<init>:()V
astore 3
start local 3 2: aload 3
iconst_0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.setIgnoreDuplicates:(Z)V
3: aload 0
aload 3
putfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
4: aload 0
aload 3
putfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
5: aload 0
aload 1
ldc "\u001B[1;5A"
6: aload 0
aload 1
invokedynamic run(Ljdk/internal/jline/extra/EditingHistory;Ljdk/internal/jline/console/ConsoleReader;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/internal/jline/extra/EditingHistory.lambda$0(Ljdk/internal/jline/console/ConsoleReader;)V (7)
()V
7: invokevirtual jdk.internal.jline.extra.EditingHistory.bind:(Ljdk/internal/jline/console/ConsoleReader;Ljava/lang/String;Ljava/lang/Object;)V
8: aload 0
aload 1
ldc "\u001B[1;5B"
9: aload 0
aload 1
invokedynamic run(Ljdk/internal/jline/extra/EditingHistory;Ljdk/internal/jline/console/ConsoleReader;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/internal/jline/extra/EditingHistory.lambda$2(Ljdk/internal/jline/console/ConsoleReader;)V (7)
()V
10: invokevirtual jdk.internal.jline.extra.EditingHistory.bind:(Ljdk/internal/jline/console/ConsoleReader;Ljava/lang/String;Ljava/lang/Object;)V
11: aload 2
ifnull 13
12: aload 0
aload 2
invokevirtual jdk.internal.jline.extra.EditingHistory.load:(Ljava/lang/Iterable;)V
13: StackMap locals: jdk.internal.jline.extra.EditingHistory jdk.internal.jline.console.ConsoleReader java.lang.Iterable jdk.internal.jline.console.history.MemoryHistory
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/jline/extra/EditingHistory;
0 14 1 in Ljdk/internal/jline/console/ConsoleReader;
0 14 2 originalHistory Ljava/lang/Iterable<+Ljava/lang/String;>;
2 14 3 fullHistory Ljdk/internal/jline/console/history/MemoryHistory;
Signature: (Ljdk/internal/jline/console/ConsoleReader;Ljava/lang/Iterable<+Ljava/lang/String;>;)V
MethodParameters:
Name Flags
in
originalHistory
private void moveHistoryToSnippet(jdk.internal.jline.console.ConsoleReader, java.util.function.Supplier<java.lang.Boolean>);
descriptor: (Ljdk/internal/jline/console/ConsoleReader;Ljava/util/function/Supplier;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 5
1: aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.beep:()V
2: goto 12
StackMap locals:
StackMap stack: java.io.IOException
3: astore 3
start local 3 4: new java.lang.IllegalStateException
dup
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 5: StackMap locals:
StackMap stack:
ldc Ljdk/internal/jline/console/ConsoleReader;
ldc "setBuffer"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 6: aload 3
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
7: aload 3
aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.getHistory:()Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.current:()Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.flush:()V
end local 3 9: goto 12
StackMap locals:
StackMap stack: java.lang.Exception
10: astore 3
start local 3 11: new java.lang.IllegalStateException
dup
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/jline/extra/EditingHistory;
0 13 1 in Ljdk/internal/jline/console/ConsoleReader;
0 13 2 action Ljava/util/function/Supplier<Ljava/lang/Boolean;>;
4 5 3 ex Ljava/io/IOException;
6 9 3 setBuffer Ljava/lang/reflect/Method;
11 12 3 ex Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.io.IOException
5 9 10 Class java.lang.ReflectiveOperationException
5 9 10 Class java.io.IOException
Signature: (Ljdk/internal/jline/console/ConsoleReader;Ljava/util/function/Supplier<Ljava/lang/Boolean;>;)V
MethodParameters:
Name Flags
in
action
private void (jdk.internal.jline.console.ConsoleReader, java.lang.String, java.lang.Object);
descriptor: (Ljdk/internal/jline/console/ConsoleReader;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.getKeys:()Ljdk/internal/jline/console/KeyMap;
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 9
3: StackMap locals: jdk.internal.jline.console.KeyMap int
StackMap stack:
aload 4
aload 2
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toString:(C)Ljava/lang/String;
invokevirtual jdk.internal.jline.console.KeyMap.getBound:(Ljava/lang/CharSequence;)Ljava/lang/Object;
astore 6
start local 6 4: aload 6
instanceof jdk.internal.jline.console.KeyMap
ifeq 7
5: aload 6
checkcast jdk.internal.jline.console.KeyMap
astore 4
6: goto 8
7: StackMap locals: java.lang.Object
StackMap stack:
aload 4
aload 2
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 3
invokevirtual jdk.internal.jline.console.KeyMap.bind:(Ljava/lang/CharSequence;Ljava/lang/Object;)V
end local 6 8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
aload 2
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 5 10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/jline/extra/EditingHistory;
0 11 1 in Ljdk/internal/jline/console/ConsoleReader;
0 11 2 shortcut Ljava/lang/String;
0 11 3 action Ljava/lang/Object;
1 11 4 km Ljdk/internal/jline/console/KeyMap;
2 10 5 i I
4 8 6 value Ljava/lang/Object;
MethodParameters:
Name Flags
in
shortcut
action
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.index:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
ldc "narrowed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.clear:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jline/extra/EditingHistory;
public java.lang.CharSequence (int);
descriptor: (I)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
iload 1
invokeinterface jdk.internal.jline.console.history.History.get:(I)Ljava/lang/CharSequence;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
0 1 1 index I
MethodParameters:
Name Flags
index
public void (java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.index:()I
istore 3
start local 3 2: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.moveToEnd:()V
3: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.index:()I
istore 4
start local 4 4: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
if_acmpne 19
5: iload 3
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.index:()I
if_icmpge 19
6: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.iterator:()Ljava/util/Iterator;
astore 6
goto 18
StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.CharSequence jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int int top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jline.console.history.History$Entry
astore 5
start local 5 8: aload 5
invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
instanceof jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine
ifne 10
9: goto 18
10: StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.CharSequence jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int int jdk.internal.jline.console.history.History$Entry java.util.Iterator
StackMap stack:
aload 5
invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
checkcast jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine
getfield jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine.span:[I
astore 7
start local 7 11: aload 7
iconst_0
iaload
iload 3
if_icmpne 18
aload 7
iconst_1
iaload
aload 7
iconst_0
iaload
if_icmple 18
12: aload 0
new jdk.internal.jline.console.history.MemoryHistory
dup
invokespecial jdk.internal.jline.console.history.MemoryHistory.<init>:()V
putfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
13: aload 7
iconst_0
iaload
istore 8
start local 8 14: goto 17
15: StackMap locals: int[] int
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
iload 8
invokeinterface jdk.internal.jline.console.history.History.get:(I)Ljava/lang/CharSequence;
invokeinterface jdk.internal.jline.console.history.History.add:(Ljava/lang/CharSequence;)V
16: iinc 8 1
StackMap locals:
StackMap stack:
17: iload 8
aload 7
iconst_1
iaload
if_icmple 15
end local 8 end local 7 end local 5 18: StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.CharSequence jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
19: StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.CharSequence jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int int
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.moveToEnd:()V
20: goto 25
21: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.current:()Ljava/lang/CharSequence;
astore 5
start local 5 22: aload 5
instanceof jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine
ifeq 25
23: aload 5
checkcast jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine
astore 2
24: goto 30
end local 5 25: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.previous:()Z
ifne 21
26: goto 30
end local 4 StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.CharSequence jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int
StackMap stack: java.lang.Throwable
27: astore 9
28: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
iload 3
invokeinterface jdk.internal.jline.console.history.History.moveTo:(I)Z
pop
29: aload 9
athrow
start local 4 30: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
iload 3
invokeinterface jdk.internal.jline.console.history.History.moveTo:(I)Z
pop
31: aload 2
ifnull 32
aload 2
getfield jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine.span:[I
iconst_1
iaload
iconst_m1
if_icmpeq 33
32: StackMap locals:
StackMap stack:
new jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine
dup
aload 0
aload 1
iload 4
invokespecial jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine.<init>:(Ljdk/internal/jline/extra/EditingHistory;Ljava/lang/CharSequence;I)V
dup
astore 2
astore 1
33: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 34: aload 2
getfield jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine.span:[I
iconst_0
iaload
istore 6
start local 6 35: goto 38
36: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 5
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
iload 6
invokeinterface jdk.internal.jline.console.history.History.get:(I)Ljava/lang/CharSequence;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
pop
37: iinc 6 1
StackMap locals:
StackMap stack:
38: iload 6
iload 4
if_icmplt 36
end local 6 39: aload 5
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
pop
40: aload 0
aload 5
invokevirtual jdk.internal.jline.extra.EditingHistory.isComplete:(Ljava/lang/CharSequence;)Z
ifeq 43
41: aload 2
getfield jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine.span:[I
iconst_1
iload 4
iastore
42: aload 0
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
putfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
43: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
aload 1
invokeinterface jdk.internal.jline.console.history.History.add:(Ljava/lang/CharSequence;)V
44: 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 45 0 this Ljdk/internal/jline/extra/EditingHistory;
0 45 1 line Ljava/lang/CharSequence;
1 45 2 currentLine Ljdk/internal/jline/extra/EditingHistory$NarrowingHistoryLine;
2 45 3 origIndex I
4 27 4 fullSize I
30 45 4 fullSize I
8 18 5 entry Ljdk/internal/jline/console/history/History$Entry;
11 18 7 cluster [I
14 18 8 i I
22 25 5 c Ljava/lang/CharSequence;
34 45 5 complete Ljava/lang/StringBuilder;
35 39 6 i I
Exception table:
from to target type
2 27 27 any
MethodParameters:
Name Flags
line
protected abstract boolean (java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
input
public void (int, java.lang.CharSequence);
descriptor: (ILjava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
ldc "narrowed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
iload 1
aload 2
invokeinterface jdk.internal.jline.console.history.History.set:(ILjava/lang/CharSequence;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jline/extra/EditingHistory;
0 4 1 index I
0 4 2 item Ljava/lang/CharSequence;
MethodParameters:
Name Flags
index
item
public java.lang.CharSequence (int);
descriptor: (I)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
ldc "narrowed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
iload 1
invokeinterface jdk.internal.jline.console.history.History.remove:(I)Ljava/lang/CharSequence;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/extra/EditingHistory;
0 3 1 i I
MethodParameters:
Name Flags
i
public java.lang.CharSequence ();
descriptor: ()Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
ldc "narrowed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.removeFirst:()Ljava/lang/CharSequence;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/extra/EditingHistory;
public java.lang.CharSequence ();
descriptor: ()Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
ldc "narrowed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.removeLast:()Ljava/lang/CharSequence;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/extra/EditingHistory;
public void (java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
ldc "narrowed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
aload 1
invokeinterface jdk.internal.jline.console.history.History.replace:(Ljava/lang/CharSequence;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jline/extra/EditingHistory;
0 4 1 item Ljava/lang/CharSequence;
MethodParameters:
Name Flags
item
public java.util.ListIterator<jdk.internal.jline.console.history.History$Entry> entries(int);
descriptor: (I)Ljava/util/ListIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
iload 1
invokeinterface jdk.internal.jline.console.history.History.entries:(I)Ljava/util/ListIterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
0 1 1 index I
Signature: (I)Ljava/util/ListIterator<Ljdk/internal/jline/console/history/History$Entry;>;
MethodParameters:
Name Flags
index
public java.util.ListIterator<jdk.internal.jline.console.history.History$Entry> entries();
descriptor: ()Ljava/util/ListIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.entries:()Ljava/util/ListIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
Signature: ()Ljava/util/ListIterator<Ljdk/internal/jline/console/history/History$Entry;>;
public java.util.Iterator<jdk.internal.jline.console.history.History$Entry> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
Signature: ()Ljava/util/Iterator<Ljdk/internal/jline/console/history/History$Entry;>;
public java.lang.CharSequence ();
descriptor: ()Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.current:()Ljava/lang/CharSequence;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.previous:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.next:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.moveToFirst:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.moveToLast:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
public boolean (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
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
iload 1
invokeinterface jdk.internal.jline.console.history.History.moveTo:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
0 1 1 index I
MethodParameters:
Name Flags
index
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.currentDelegate:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.moveToEnd:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jline/extra/EditingHistory;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: goto 3
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.jline.extra.EditingHistory.current:()Ljava/lang/CharSequence;
instanceof jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine
ifeq 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.jline.extra.EditingHistory.previous:()Z
ifne 1
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jline/extra/EditingHistory;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
iconst_1
istore 1
3: aload 0
invokevirtual jdk.internal.jline.extra.EditingHistory.current:()Ljava/lang/CharSequence;
instanceof jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.jline.extra.EditingHistory.next:()Z
ifne 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/jline/extra/EditingHistory;
1 7 1 success Z
public final void load(java.lang.Iterable<? extends java.lang.String>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 22
StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.Iterable jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int int top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: new java.lang.StringBuilder
dup
aload 5
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 7
start local 7 6: aload 0
aload 7
invokevirtual jdk.internal.jline.extra.EditingHistory.countTrailintBackslashes:(Ljava/lang/CharSequence;)I
istore 8
start local 8 7: iload 8
iconst_2
irem
ifeq 8
iconst_1
goto 9
StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.Iterable jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int int java.lang.String java.util.Iterator java.lang.StringBuilder int
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 9
start local 9 10: aload 7
aload 7
invokevirtual java.lang.StringBuilder.length:()I
iload 8
iconst_2
idiv
isub
iload 9
ifeq 11
iconst_1
goto 12
StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.Iterable jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int int java.lang.String java.util.Iterator java.lang.StringBuilder int int
StackMap stack: java.lang.StringBuilder int
11: iconst_0
StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.Iterable jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int int java.lang.String java.util.Iterator java.lang.StringBuilder int int
StackMap stack: java.lang.StringBuilder int int
12: isub
aload 7
invokevirtual java.lang.StringBuilder.length:()I
invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
pop
13: iload 3
ifeq 16
14: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
new jdk.internal.jline.extra.EditingHistory$1PersistentNarrowingHistoryLine
dup
aload 0
aload 7
iload 4
invokespecial jdk.internal.jline.extra.EditingHistory$1PersistentNarrowingHistoryLine.<init>:(Ljdk/internal/jline/extra/EditingHistory;Ljava/lang/CharSequence;I)V
dup
astore 2
invokeinterface jdk.internal.jline.console.history.History.add:(Ljava/lang/CharSequence;)V
15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
new jdk.internal.jline.extra.EditingHistory$1PersistentLine
dup
aload 0
aload 7
invokespecial jdk.internal.jline.extra.EditingHistory$1PersistentLine.<init>:(Ljdk/internal/jline/extra/EditingHistory;Ljava/lang/CharSequence;)V
invokeinterface jdk.internal.jline.console.history.History.add:(Ljava/lang/CharSequence;)V
17: StackMap locals:
StackMap stack:
iload 9
ifeq 18
iconst_0
goto 19
StackMap locals:
StackMap stack:
18: iconst_1
StackMap locals:
StackMap stack: int
19: istore 3
20: aload 2
getfield jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine.span:[I
iconst_1
iload 4
iastore
21: iinc 4 1
end local 9 end local 8 end local 7 end local 5 22: StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.Iterable jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine int int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
23: return
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/jline/extra/EditingHistory;
0 24 1 originalHistory Ljava/lang/Iterable<+Ljava/lang/String;>;
1 24 2 currentHistoryLine Ljdk/internal/jline/extra/EditingHistory$NarrowingHistoryLine;
2 24 3 start Z
3 24 4 currentLine I
5 22 5 historyItem Ljava/lang/String;
6 22 7 line Ljava/lang/StringBuilder;
7 22 8 trailingBackSlashes I
10 22 9 continuation Z
Signature: (Ljava/lang/Iterable<+Ljava/lang/String;>;)V
MethodParameters:
Name Flags
originalHistory
public java.util.Collection<? extends java.lang.String> save();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 19
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jline.console.history.History$Entry
astore 3
start local 3 4: goto 18
5: StackMap locals: java.util.Collection java.util.Iterator jdk.internal.jline.console.history.History$Entry
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/CharSequence;)V
astore 4
start local 4 6: aload 0
aload 4
invokevirtual jdk.internal.jline.extra.EditingHistory.countTrailintBackslashes:(Ljava/lang/CharSequence;)I
istore 5
start local 5 7: iconst_0
istore 6
start local 6 8: goto 11
9: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 4
ldc "\\"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 5
if_icmplt 9
end local 6 12: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 13
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jline.console.history.History$Entry
goto 14
StackMap locals:
StackMap stack:
13: aconst_null
StackMap locals:
StackMap stack: jdk.internal.jline.console.history.History$Entry
14: astore 3
15: aload 3
ifnull 17
aload 3
invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
instanceof jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine
ifne 17
16: aload 4
ldc "\\"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 18: StackMap locals:
StackMap stack:
aload 3
ifnonnull 5
end local 3 19: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/internal/jline/extra/EditingHistory;
1 20 1 result Ljava/util/Collection<Ljava/lang/String;>;
2 20 2 entries Ljava/util/Iterator<Ljdk/internal/jline/console/history/History$Entry;>;
4 19 3 entry Ljdk/internal/jline/console/history/History$Entry;
6 18 4 historyLine Ljava/lang/StringBuilder;
7 18 5 trailingBackSlashes I
8 12 6 i I
Signature: ()Ljava/util/Collection<+Ljava/lang/String;>;
private int (java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.lang.CharSequence.length:()I
iconst_1
isub
istore 3
start local 3 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 1
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 92
if_icmpne 7
4: iinc 2 1
5: iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
ifge 3
end local 3 7: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/jline/extra/EditingHistory;
0 8 1 text Ljava/lang/CharSequence;
1 8 2 count I
2 7 3 i I
MethodParameters:
Name Flags
text
public java.util.List<java.lang.String> currentSessionEntries();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: jdk.internal.jline.extra.EditingHistory java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jline.console.history.History$Entry
astore 2
start local 2 3: aload 2
invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
instanceof jdk.internal.jline.extra.EditingHistory$PersistentEntryMarker
ifne 5
4: aload 1
aload 2
invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/jline/extra/EditingHistory;
1 7 1 result Ljava/util/List<Ljava/lang/String;>;
3 5 2 e Ljdk/internal/jline/console/history/History$Entry;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
invokeinterface jdk.internal.jline.console.history.History.removeLast:()Ljava/lang/CharSequence;
pop
1: aload 1
ldc "\\R"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: jdk.internal.jline.extra.EditingHistory java.lang.String top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 0
getfield jdk.internal.jline.extra.EditingHistory.fullHistory:Ljdk/internal/jline/console/history/History;
aload 2
invokeinterface jdk.internal.jline.console.history.History.add:(Ljava/lang/CharSequence;)V
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/jline/extra/EditingHistory;
0 7 1 source Ljava/lang/String;
3 4 2 line Ljava/lang/String;
MethodParameters:
Name Flags
source
private void (jdk.internal.jline.console.ConsoleReader);
descriptor: (Ljdk/internal/jline/console/ConsoleReader;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.getHistory:()Ljdk/internal/jline/console/history/History;
checkcast jdk.internal.jline.extra.EditingHistory
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Ljdk/internal/jline/extra/EditingHistory;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/jline/extra/EditingHistory.previousSnippet()Z (5)
()Ljava/lang/Boolean;
invokevirtual jdk.internal.jline.extra.EditingHistory.moveHistoryToSnippet:(Ljdk/internal/jline/console/ConsoleReader;Ljava/util/function/Supplier;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
private void (jdk.internal.jline.console.ConsoleReader);
descriptor: (Ljdk/internal/jline/console/ConsoleReader;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.getHistory:()Ljdk/internal/jline/console/history/History;
checkcast jdk.internal.jline.extra.EditingHistory
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Ljdk/internal/jline/extra/EditingHistory;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/jline/extra/EditingHistory.nextSnippet()Z (5)
()Ljava/lang/Boolean;
invokevirtual jdk.internal.jline.extra.EditingHistory.moveHistoryToSnippet:(Ljdk/internal/jline/console/ConsoleReader;Ljava/util/function/Supplier;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/extra/EditingHistory;
}
SourceFile: "EditingHistory.java"
NestMembers:
jdk.internal.jline.extra.EditingHistory$1PersistentLine jdk.internal.jline.extra.EditingHistory$1PersistentNarrowingHistoryLine jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine jdk.internal.jline.extra.EditingHistory$PersistentEntryMarker
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = jdk.internal.jline.console.history.History$Entry of jdk.internal.jline.console.history.History
PersistentLine = jdk.internal.jline.extra.EditingHistory$1PersistentLine
PersistentNarrowingHistoryLine = jdk.internal.jline.extra.EditingHistory$1PersistentNarrowingHistoryLine
private NarrowingHistoryLine = jdk.internal.jline.extra.EditingHistory$NarrowingHistoryLine of jdk.internal.jline.extra.EditingHistory
private abstract PersistentEntryMarker = jdk.internal.jline.extra.EditingHistory$PersistentEntryMarker of jdk.internal.jline.extra.EditingHistory