public class jdk.internal.jline.console.ConsoleKeys
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.jline.console.ConsoleKeys
super_class: java.lang.Object
{
private jdk.internal.jline.console.KeyMap keys;
descriptor: Ljdk/internal/jline/console/KeyMap;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, jdk.internal.jline.console.KeyMap> keyMaps;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/internal/jline/console/KeyMap;>;
private java.util.Map<java.lang.String, java.lang.String> variables;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public void <init>(java.lang.String, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/net/URL;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.jline.console.ConsoleKeys.variables:Ljava/util/Map;
2: aload 0
invokestatic jdk.internal.jline.console.KeyMap.keyMaps:()Ljava/util/Map;
putfield jdk.internal.jline.console.ConsoleKeys.keyMaps:Ljava/util/Map;
3: aload 0
aload 1
aload 2
invokevirtual jdk.internal.jline.console.ConsoleKeys.loadKeys:(Ljava/lang/String;Ljava/net/URL;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jline/console/ConsoleKeys;
0 5 1 appName Ljava/lang/String;
0 5 2 inputrcUrl Ljava/net/URL;
MethodParameters:
Name Flags
appName
inputrcUrl
protected boolean isViEditMode();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
invokevirtual jdk.internal.jline.console.KeyMap.isViKeyMap:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/ConsoleKeys;
protected boolean setKeyMap(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keyMaps:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jline.console.KeyMap
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: jdk.internal.jline.console.KeyMap
StackMap stack:
aload 0
aload 2
putfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
4: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jline/console/ConsoleKeys;
0 5 1 name Ljava/lang/String;
1 5 2 map Ljdk/internal/jline/console/KeyMap;
MethodParameters:
Name Flags
name
protected java.util.Map<java.lang.String, jdk.internal.jline.console.KeyMap> getKeyMaps();
descriptor: ()Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keyMaps:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/ConsoleKeys;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljdk/internal/jline/console/KeyMap;>;
protected jdk.internal.jline.console.KeyMap getKeys();
descriptor: ()Ljdk/internal/jline/console/KeyMap;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/ConsoleKeys;
protected void setKeys(jdk.internal.jline.console.KeyMap);
descriptor: (Ljdk/internal/jline/console/KeyMap;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jline/console/ConsoleKeys;
0 2 1 keys Ljdk/internal/jline/console/KeyMap;
MethodParameters:
Name Flags
keys
protected boolean getViEditMode();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
invokevirtual jdk.internal.jline.console.KeyMap.isViKeyMap:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/ConsoleKeys;
protected void loadKeys(java.lang.String, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/net/URL;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keyMaps:Ljava/util/Map;
ldc "emacs"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jline.console.KeyMap
putfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
1: aload 2
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 3
start local 3 2: aload 0
aload 3
aload 1
invokevirtual jdk.internal.jline.console.ConsoleKeys.loadKeys:(Ljava/io/InputStream;Ljava/lang/String;)V
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: ldc "Loaded user configuration: "
aastore
dup
iconst_1
aload 2
aastore
invokestatic jdk.internal.jline.internal.Log.debug:([Ljava/lang/Object;)V
4: goto 10
5: StackMap locals: jdk.internal.jline.console.ConsoleKeys java.lang.String java.net.URL java.io.InputStream
StackMap stack: java.lang.Throwable
astore 4
6: aload 3
invokevirtual java.io.InputStream.close:()V
7: goto 9
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.lang.String java.net.URL java.io.InputStream java.lang.Throwable
StackMap stack: java.io.IOException
8: pop
9: StackMap locals:
StackMap stack:
aload 4
athrow
10: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.InputStream.close:()V
11: goto 22
StackMap locals:
StackMap stack: java.io.IOException
12: pop
end local 3 13: goto 22
14: StackMap locals: jdk.internal.jline.console.ConsoleKeys java.lang.String java.net.URL
StackMap stack: java.io.IOException
astore 3
start local 3 15: aload 2
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
16: new java.io.File
dup
aload 2
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 17: aload 4
invokevirtual java.io.File.exists:()Z
ifeq 22
iconst_3
anewarray java.lang.Object
dup
iconst_0
18: ldc "Unable to read user configuration: "
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
aastore
invokestatic jdk.internal.jline.internal.Log.warn:([Ljava/lang/Object;)V
end local 4 19: goto 22
StackMap locals: java.io.IOException
StackMap stack:
20: iconst_3
anewarray java.lang.Object
dup
iconst_0
21: ldc "Unable to read user configuration: "
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
aastore
invokestatic jdk.internal.jline.internal.Log.warn:([Ljava/lang/Object;)V
end local 3 22: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/internal/jline/console/ConsoleKeys;
0 23 1 appName Ljava/lang/String;
0 23 2 inputrcUrl Ljava/net/URL;
2 13 3 input Ljava/io/InputStream;
15 22 3 e Ljava/io/IOException;
17 19 4 file Ljava/io/File;
Exception table:
from to target type
2 5 5 any
6 7 8 Class java.io.IOException
10 11 12 Class java.io.IOException
1 13 14 Class java.io.IOException
MethodParameters:
Name Flags
appName
inputrcUrl
private void loadKeys(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=14, args_size=3
start local 0 start local 1 start local 2 0: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 1
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 3
start local 3 1: iconst_1
istore 5
start local 5 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 3: goto 158
start local 4 4: StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List
StackMap stack:
aload 4
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
5: aload 4
invokevirtual java.lang.String.length:()I
ifne 7
6: goto 158
7: StackMap locals:
StackMap stack:
aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 9
8: goto 158
9: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 10: aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 36
if_icmpne 67
11: iinc 7 1
goto 13
StackMap locals: int
StackMap stack:
12: iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 14
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 12
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpeq 12
14: StackMap locals:
StackMap stack:
iload 7
istore 10
start local 10 15: goto 17
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int top top int
StackMap stack:
16: iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 18
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 18
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpne 16
18: StackMap locals:
StackMap stack:
aload 4
iload 10
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 19: goto 21
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int java.lang.String top int
StackMap stack:
20: iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 22
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 20
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpeq 20
22: StackMap locals:
StackMap stack:
iload 7
istore 10
23: goto 25
StackMap locals:
StackMap stack:
24: iinc 7 1
StackMap locals:
StackMap stack:
25: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 26
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 26
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpne 24
26: StackMap locals:
StackMap stack:
aload 4
iload 10
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
start local 9 27: ldc "if"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 45
28: aload 6
iload 5
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
29: iload 5
ifne 31
30: goto 158
31: StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int java.lang.String java.lang.String int
StackMap stack:
aload 9
ldc "term="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 158
32: aload 9
ldc "mode="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 43
33: aload 9
ldc "mode=vi"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 36
34: aload 0
invokevirtual jdk.internal.jline.console.ConsoleKeys.isViEditMode:()Z
istore 5
35: goto 158
StackMap locals:
StackMap stack:
36: aload 9
ldc "mode=emacs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 41
37: aload 0
invokevirtual jdk.internal.jline.console.ConsoleKeys.isViEditMode:()Z
ifeq 38
iconst_0
goto 39
StackMap locals:
StackMap stack:
38: iconst_1
StackMap locals:
StackMap stack: int
39: istore 5
40: goto 158
41: StackMap locals:
StackMap stack:
iconst_0
istore 5
42: goto 158
43: StackMap locals:
StackMap stack:
aload 9
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
istore 5
44: goto 158
StackMap locals:
StackMap stack:
45: ldc "else"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 60
46: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifeq 48
47: new java.lang.IllegalArgumentException
dup
ldc "$else found without matching $if"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
48: StackMap locals:
StackMap stack:
iconst_1
istore 11
start local 11 49: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
goto 54
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int java.lang.String java.lang.String int int top java.util.Iterator
StackMap stack:
50: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 12
start local 12 51: iload 12
ifne 54
52: iconst_0
istore 11
53: goto 55
end local 12 54: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 50
55: StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int java.lang.String java.lang.String int int
StackMap stack:
iload 11
ifeq 158
56: iload 5
ifeq 57
iconst_0
goto 58
StackMap locals:
StackMap stack:
57: iconst_1
StackMap locals:
StackMap stack: int
58: istore 5
end local 11 59: goto 158
StackMap locals:
StackMap stack:
60: ldc "endif"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 65
61: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifeq 63
62: new java.lang.IllegalArgumentException
dup
ldc "endif found without matching $if"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
63: StackMap locals:
StackMap stack:
aload 6
aload 6
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 5
64: goto 158
StackMap locals:
StackMap stack:
65: ldc "include"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
pop
66: goto 158
end local 10 end local 9 end local 8 67: StackMap locals:
StackMap stack:
iload 5
ifne 69
68: goto 158
69: StackMap locals:
StackMap stack:
ldc ""
astore 9
start local 9 70: aload 4
iload 7
iinc 7 1
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 84
71: iconst_0
istore 10
start local 10 72: StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int top java.lang.String int
StackMap stack:
iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmplt 74
73: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Missing closing quote on line '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
74: StackMap locals:
StackMap stack:
iload 10
ifeq 77
75: iconst_0
istore 10
76: goto 82
StackMap locals:
StackMap stack:
77: aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpne 80
78: iconst_1
istore 10
79: goto 82
StackMap locals:
StackMap stack:
80: aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 82
81: goto 84
82: StackMap locals:
StackMap stack:
iinc 7 1
goto 72
end local 10 83: StackMap locals:
StackMap stack:
iinc 7 1
84: StackMap locals:
StackMap stack:
iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 86
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpeq 86
85: aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 86
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpne 83
86: StackMap locals:
StackMap stack:
aload 4
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
87: iload 7
iconst_1
iadd
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 88
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 88
aload 4
iload 7
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 61
if_icmpne 88
iconst_1
goto 89
StackMap locals:
StackMap stack:
88: iconst_0
StackMap locals:
StackMap stack: int
89: istore 8
start local 8 90: iinc 7 1
91: iload 8
ifeq 93
92: iinc 7 1
93: StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int int java.lang.String
StackMap stack:
aload 9
ldc "set"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 113
94: goto 96
StackMap locals:
StackMap stack:
95: iinc 7 1
StackMap locals:
StackMap stack:
96: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 97
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 95
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpeq 95
97: StackMap locals:
StackMap stack:
iload 7
istore 12
start local 12 98: goto 100
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int int java.lang.String top top int
StackMap stack:
99: iinc 7 1
StackMap locals:
StackMap stack:
100: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 101
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 101
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpne 99
101: StackMap locals:
StackMap stack:
aload 4
iload 12
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 102: goto 104
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int int java.lang.String java.lang.String top int
StackMap stack:
103: iinc 7 1
StackMap locals:
StackMap stack:
104: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 105
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 103
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpeq 103
105: StackMap locals:
StackMap stack:
iload 7
istore 12
106: goto 108
StackMap locals:
StackMap stack:
107: iinc 7 1
StackMap locals:
StackMap stack:
108: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 109
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 109
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpne 107
109: StackMap locals:
StackMap stack:
aload 4
iload 12
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
start local 11 110: aload 0
aload 10
aload 11
invokevirtual jdk.internal.jline.console.ConsoleKeys.setVar:(Ljava/lang/String;Ljava/lang/String;)V
end local 12 end local 11 end local 10 111: goto 158
112: StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int int java.lang.String
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
113: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 114
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 112
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpeq 112
114: StackMap locals:
StackMap stack:
iload 7
istore 10
start local 10 115: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 130
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 39
if_icmpeq 116
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 130
116: StackMap locals: int
StackMap stack:
aload 4
iload 7
iinc 7 1
invokevirtual java.lang.String.charAt:(I)C
istore 11
start local 11 117: iconst_0
istore 12
start local 12 118: StackMap locals: int int
StackMap stack:
iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmplt 120
119: goto 130
120: StackMap locals:
StackMap stack:
iload 12
ifeq 123
121: iconst_0
istore 12
122: goto 128
StackMap locals:
StackMap stack:
123: aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpne 126
124: iconst_1
istore 12
125: goto 128
StackMap locals:
StackMap stack:
126: aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
iload 11
if_icmpne 128
127: goto 130
128: StackMap locals:
StackMap stack:
iinc 7 1
goto 118
end local 12 end local 11 129: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
130: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 131
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 131
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpne 129
131: StackMap locals:
StackMap stack:
aload 4
iload 10
aload 4
invokevirtual java.lang.String.length:()I
invokestatic java.lang.Math.min:(II)I
iload 7
aload 4
invokevirtual java.lang.String.length:()I
invokestatic java.lang.Math.min:(II)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
start local 11 132: aload 9
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 135
133: aload 0
aload 9
invokevirtual jdk.internal.jline.console.ConsoleKeys.translateQuoted:(Ljava/lang/String;)Ljava/lang/String;
astore 9
134: goto 146
135: StackMap locals: java.lang.String
StackMap stack:
aload 9
bipush 45
invokevirtual java.lang.String.lastIndexOf:(I)I
ifle 136
aload 9
aload 9
bipush 45
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 137
StackMap locals:
StackMap stack:
136: aload 9
StackMap locals:
StackMap stack: java.lang.String
137: astore 12
start local 12 138: aload 0
aload 12
invokevirtual jdk.internal.jline.console.ConsoleKeys.getKeyFromName:(Ljava/lang/String;)C
istore 13
start local 13 139: aload 9
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 12
140: ldc ""
astore 9
141: aload 12
ldc "meta-"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 142
aload 12
ldc "m-"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 143
142: StackMap locals: java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\u001B"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
143: StackMap locals:
StackMap stack:
aload 12
ldc "control-"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 144
aload 12
ldc "c-"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 144
aload 12
ldc "ctrl-"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 145
144: StackMap locals:
StackMap stack:
iload 13
invokestatic java.lang.Character.toUpperCase:(C)C
bipush 31
iand
i2c
istore 13
145: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 13
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
end local 13 end local 12 146: StackMap locals:
StackMap stack:
aload 11
invokevirtual java.lang.String.length:()I
ifle 149
aload 11
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 39
if_icmpeq 147
aload 11
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 149
147: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
aload 9
aload 0
aload 11
invokevirtual jdk.internal.jline.console.ConsoleKeys.translateQuoted:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.internal.jline.console.KeyMap.bind:(Ljava/lang/CharSequence;Ljava/lang/Object;)V
148: goto 158
149: StackMap locals:
StackMap stack:
aload 11
bipush 45
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
astore 12
start local 12 150: aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
aload 9
aload 12
invokestatic jdk.internal.jline.console.Operation.valueOf:(Ljava/lang/String;)Ljdk/internal/jline/console/Operation;
invokevirtual jdk.internal.jline.console.KeyMap.bind:(Ljava/lang/CharSequence;Ljava/lang/Object;)V
151: goto 158
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List int int java.lang.String int java.lang.String java.lang.String
StackMap stack: java.lang.IllegalArgumentException
152: pop
iconst_2
anewarray java.lang.Object
dup
iconst_0
153: ldc "Unable to bind key for unsupported operation: "
aastore
dup
iconst_1
aload 11
aastore
invokestatic jdk.internal.jline.internal.Log.info:([Ljava/lang/Object;)V
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 154: goto 158
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader java.lang.String int java.util.List
StackMap stack: java.lang.IllegalArgumentException
155: astore 7
start local 7 156: iconst_2
anewarray java.lang.Object
dup
iconst_0
157: ldc "Unable to parse user configuration: "
aastore
dup
iconst_1
aload 7
aastore
invokestatic jdk.internal.jline.internal.Log.warn:([Ljava/lang/Object;)V
end local 7 end local 4 158: StackMap locals: jdk.internal.jline.console.ConsoleKeys java.io.InputStream java.lang.String java.io.BufferedReader top int java.util.List
StackMap stack:
aload 3
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 4
start local 4 159: ifnonnull 4
160: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 161 0 this Ljdk/internal/jline/console/ConsoleKeys;
0 161 1 input Ljava/io/InputStream;
0 161 2 appName Ljava/lang/String;
1 161 3 reader Ljava/io/BufferedReader;
4 158 4 line Ljava/lang/String;
159 161 4 line Ljava/lang/String;
2 161 5 parsing Z
3 161 6 ifsStack Ljava/util/List<Ljava/lang/Boolean;>;
10 154 7 i I
19 67 8 cmd Ljava/lang/String;
27 67 9 args Ljava/lang/String;
15 67 10 s I
49 59 11 invert Z
51 54 12 b Z
90 154 8 equivalency Z
70 154 9 keySeq Ljava/lang/String;
72 83 10 esc Z
102 111 10 key Ljava/lang/String;
110 111 11 val Ljava/lang/String;
98 111 12 s I
115 154 10 start I
117 129 11 delim C
118 129 12 esc Z
132 154 11 val Ljava/lang/String;
138 146 12 keyName Ljava/lang/String;
139 146 13 key C
150 154 12 operationName Ljava/lang/String;
156 158 7 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
150 151 152 Class java.lang.IllegalArgumentException
4 6 155 Class java.lang.IllegalArgumentException
7 8 155 Class java.lang.IllegalArgumentException
9 30 155 Class java.lang.IllegalArgumentException
31 66 155 Class java.lang.IllegalArgumentException
67 68 155 Class java.lang.IllegalArgumentException
69 154 155 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
appName
private java.lang.String translateQuoted(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 1: ldc ""
astore 1
2: iconst_0
istore 2
start local 2 3: goto 84
4: StackMap locals: int java.lang.String
StackMap stack:
aload 3
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 5: iload 4
bipush 92
if_icmpne 82
6: aload 3
iload 2
ldc "\\C-"
iconst_0
iconst_3
invokevirtual java.lang.String.regionMatches:(ILjava/lang/String;II)Z
ifne 7
aload 3
iload 2
ldc "\\M-\\C-"
iconst_0
bipush 6
invokevirtual java.lang.String.regionMatches:(ILjava/lang/String;II)Z
ifne 7
iconst_0
goto 8
StackMap locals: int
StackMap stack:
7: iconst_1
StackMap locals:
StackMap stack: int
8: istore 5
start local 5 9: aload 3
iload 2
ldc "\\M-"
iconst_0
iconst_3
invokevirtual java.lang.String.regionMatches:(ILjava/lang/String;II)Z
ifne 10
aload 3
iload 2
ldc "\\C-\\M-"
iconst_0
bipush 6
invokevirtual java.lang.String.regionMatches:(ILjava/lang/String;II)Z
ifne 10
iconst_0
goto 11
StackMap locals: int
StackMap stack:
10: iconst_1
StackMap locals:
StackMap stack: int
11: istore 6
start local 6 12: iload 2
iload 6
ifeq 13
iconst_3
goto 14
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.lang.String int java.lang.String int int int
StackMap stack: int
13: iconst_0
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.lang.String int java.lang.String int int int
StackMap stack: int int
14: iload 5
ifeq 15
iconst_3
goto 16
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.lang.String int java.lang.String int int int
StackMap stack: int int
15: iconst_0
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.lang.String int java.lang.String int int int
StackMap stack: int int int
16: iadd
iload 6
ifne 17
iload 5
ifne 17
iconst_1
goto 18
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.lang.String int java.lang.String int int int
StackMap stack: int int
17: iconst_0
StackMap locals: jdk.internal.jline.console.ConsoleKeys java.lang.String int java.lang.String int int int
StackMap stack: int int int
18: iadd
iadd
istore 2
19: iload 2
aload 3
invokevirtual java.lang.String.length:()I
if_icmplt 21
20: goto 85
21: StackMap locals:
StackMap stack:
aload 3
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 4
22: iload 6
ifeq 24
23: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\u001B"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
24: StackMap locals:
StackMap stack:
iload 5
ifeq 28
25: iload 4
bipush 63
if_icmpne 26
bipush 127
goto 27
StackMap locals:
StackMap stack:
26: iload 4
invokestatic java.lang.Character.toUpperCase:(C)C
bipush 31
iand
i2c
StackMap locals:
StackMap stack: int
27: istore 4
28: StackMap locals:
StackMap stack:
iload 6
ifne 79
iload 5
ifne 79
29: iload 4
lookupswitch { // 20
48: 40
49: 40
50: 40
51: 40
52: 40
53: 40
54: 40
55: 40
92: 39
97: 30
98: 31
100: 32
101: 33
102: 34
110: 35
114: 36
116: 37
117: 67
118: 38
120: 53
default: 79
}
30: StackMap locals:
StackMap stack:
bipush 7
istore 4
goto 79
31: StackMap locals:
StackMap stack:
bipush 8
istore 4
goto 79
32: StackMap locals:
StackMap stack:
bipush 127
istore 4
goto 79
33: StackMap locals:
StackMap stack:
bipush 27
istore 4
goto 79
34: StackMap locals:
StackMap stack:
bipush 12
istore 4
goto 79
35: StackMap locals:
StackMap stack:
bipush 10
istore 4
goto 79
36: StackMap locals:
StackMap stack:
bipush 13
istore 4
goto 79
37: StackMap locals:
StackMap stack:
bipush 9
istore 4
goto 79
38: StackMap locals:
StackMap stack:
bipush 11
istore 4
goto 79
39: StackMap locals:
StackMap stack:
bipush 92
istore 4
goto 79
40: StackMap locals:
StackMap stack:
iconst_0
istore 4
41: iconst_0
istore 7
start local 7 42: goto 50
43: StackMap locals: int
StackMap stack:
iload 2
aload 3
invokevirtual java.lang.String.length:()I
if_icmplt 45
44: goto 51
45: StackMap locals:
StackMap stack:
aload 3
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 8
invokestatic java.lang.Character.digit:(CI)I
istore 8
start local 8 46: iload 8
ifge 48
47: goto 51
48: StackMap locals: int
StackMap stack:
iload 4
bipush 8
imul
iload 8
iadd
i2c
istore 4
end local 8 49: iinc 7 1
iinc 2 1
StackMap locals:
StackMap stack:
50: iload 7
iconst_3
if_icmplt 43
end local 7 51: StackMap locals:
StackMap stack:
iload 4
sipush 255
iand
i2c
istore 4
52: goto 79
53: StackMap locals:
StackMap stack:
iinc 2 1
54: iconst_0
istore 4
55: iconst_0
istore 7
start local 7 56: goto 64
57: StackMap locals: int
StackMap stack:
iload 2
aload 3
invokevirtual java.lang.String.length:()I
if_icmplt 59
58: goto 65
59: StackMap locals:
StackMap stack:
aload 3
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 16
invokestatic java.lang.Character.digit:(CI)I
istore 8
start local 8 60: iload 8
ifge 62
61: goto 65
62: StackMap locals: int
StackMap stack:
iload 4
bipush 16
imul
iload 8
iadd
i2c
istore 4
end local 8 63: iinc 7 1
iinc 2 1
StackMap locals:
StackMap stack:
64: iload 7
iconst_2
if_icmplt 57
end local 7 65: StackMap locals:
StackMap stack:
iload 4
sipush 255
iand
i2c
istore 4
66: goto 79
67: StackMap locals:
StackMap stack:
iinc 2 1
68: iconst_0
istore 4
69: iconst_0
istore 7
start local 7 70: goto 78
71: StackMap locals: int
StackMap stack:
iload 2
aload 3
invokevirtual java.lang.String.length:()I
if_icmplt 73
72: goto 79
73: StackMap locals:
StackMap stack:
aload 3
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 16
invokestatic java.lang.Character.digit:(CI)I
istore 8
start local 8 74: iload 8
ifge 76
75: goto 79
76: StackMap locals: int
StackMap stack:
iload 4
bipush 16
imul
iload 8
iadd
i2c
istore 4
end local 8 77: iinc 7 1
iinc 2 1
StackMap locals:
StackMap stack:
78: iload 7
iconst_4
if_icmplt 71
end local 7 79: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
80: aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 6 end local 5 81: goto 83
82: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 4 83: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
84: iload 2
aload 3
invokevirtual java.lang.String.length:()I
if_icmplt 4
85: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 86 0 this Ljdk/internal/jline/console/ConsoleKeys;
0 86 1 keySeq Ljava/lang/String;
3 86 2 i I
1 86 3 str Ljava/lang/String;
5 83 4 c C
9 81 5 ctrl Z
12 81 6 meta Z
42 51 7 j I
46 49 8 k I
56 65 7 j I
60 63 8 k I
70 79 7 j I
74 77 8 k I
MethodParameters:
Name Flags
keySeq
private char getKeyFromName(java.lang.String);
descriptor: (Ljava/lang/String;)C
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "DEL"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 1
ldc "Rubout"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
bipush 127
ireturn
2: StackMap locals:
StackMap stack:
ldc "ESC"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 3
ldc "Escape"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
bipush 27
ireturn
4: StackMap locals:
StackMap stack:
ldc "LFD"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 5
ldc "NewLine"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: StackMap locals:
StackMap stack:
bipush 10
ireturn
6: StackMap locals:
StackMap stack:
ldc "RET"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 7
ldc "Return"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: StackMap locals:
StackMap stack:
bipush 13
ireturn
8: StackMap locals:
StackMap stack:
ldc "SPC"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
ldc "Space"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: StackMap locals:
StackMap stack:
bipush 32
ireturn
10: StackMap locals:
StackMap stack:
ldc "Tab"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
11: bipush 9
ireturn
12: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/jline/console/ConsoleKeys;
0 13 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private void setVar(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "keymap"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
1: aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keyMaps:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 17
2: aload 0
aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keyMaps:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jline.console.KeyMap
putfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
3: goto 17
StackMap locals:
StackMap stack:
4: ldc "editing-mode"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
5: ldc "vi"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: aload 0
aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keyMaps:Ljava/util/Map;
ldc "vi-insert"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jline.console.KeyMap
putfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
7: goto 17
StackMap locals:
StackMap stack:
8: ldc "emacs"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 17
9: aload 0
aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keyMaps:Ljava/util/Map;
ldc "emacs"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jline.console.KeyMap
putfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
10: goto 17
StackMap locals:
StackMap stack:
11: ldc "blink-matching-paren"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
12: ldc "on"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
13: aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
iconst_1
invokevirtual jdk.internal.jline.console.KeyMap.setBlinkMatchingParen:(Z)V
14: goto 17
StackMap locals:
StackMap stack:
15: ldc "off"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 17
16: aload 0
getfield jdk.internal.jline.console.ConsoleKeys.keys:Ljdk/internal/jline/console/KeyMap;
iconst_0
invokevirtual jdk.internal.jline.console.KeyMap.setBlinkMatchingParen:(Z)V
17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.console.ConsoleKeys.variables:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/internal/jline/console/ConsoleKeys;
0 19 1 key Ljava/lang/String;
0 19 2 val Ljava/lang/String;
MethodParameters:
Name Flags
key
val
public java.lang.String getVariable(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
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.console.ConsoleKeys.variables:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/ConsoleKeys;
0 1 1 var Ljava/lang/String;
MethodParameters:
Name Flags
var
}
SourceFile: "ConsoleKeys.java"