public final class jdk.internal.org.jline.utils.InfoCmp
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.org.jline.utils.InfoCmp
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.String, java.lang.Object> CAPS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic jdk.internal.org.jline.utils.InfoCmp.CAPS:Ljava/util/Map;
1: bipush 11
anewarray java.lang.String
dup
iconst_0
ldc "dumb"
aastore
dup
iconst_1
ldc "dumb-color"
aastore
dup
iconst_2
ldc "ansi"
aastore
dup
iconst_3
ldc "xterm"
aastore
dup
iconst_4
ldc "xterm-256color"
aastore
dup
iconst_5
2: ldc "windows"
aastore
dup
bipush 6
ldc "windows-256color"
aastore
dup
bipush 7
ldc "windows-conemu"
aastore
dup
bipush 8
ldc "windows-vtp"
aastore
dup
bipush 9
3: ldc "screen"
aastore
dup
bipush 10
ldc "screen-256color"
aastore
4: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 1
goto 7
StackMap locals: top java.util.Iterator
StackMap stack:
5: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 6: aload 0
aload 0
invokedynamic get(Ljava/lang/String;)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/org/jline/utils/InfoCmp.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic jdk.internal.org.jline.utils.InfoCmp.setDefaultInfoCmp:(Ljava/lang/String;Ljava/util/function/Supplier;)V
end local 0 7: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: return
LocalVariableTable:
Start End Slot Name Signature
6 7 0 s Ljava/lang/String;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/InfoCmp;
public static java.util.Map<java.lang.String, jdk.internal.org.jline.utils.InfoCmp$Capability> getCapabilitiesByName();
descriptor: ()Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=0
0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 0
start local 0 1: aconst_null
astore 1
aconst_null
astore 2
2: ldc Ljdk/internal/org/jline/utils/InfoCmp;
ldc "capabilities.txt"
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 3
start local 3 3: new java.io.BufferedReader
dup
new jdk.internal.org.jline.utils.InputStreamReader
dup
aload 3
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial jdk.internal.org.jline.utils.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
start local 4 4: aload 4
invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/lang/String.trim()Ljava/lang/String; (5)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
5: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
jdk/internal/org/jline/utils/InfoCmp.lambda$2(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
jdk/internal/org/jline/utils/InfoCmp.lambda$3(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
7: aload 0
invokedynamic accept(Ljava/util/Map;)Ljava/util/function/Consumer;
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;)V
jdk/internal/org/jline/utils/InfoCmp.lambda$4(Ljava/util/Map;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
8: aload 0
9: aload 4
ifnull 10
aload 4
invokevirtual java.io.BufferedReader.close:()V
StackMap locals: java.util.Map java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.BufferedReader
StackMap stack: java.util.Map
10: aload 3
ifnull 11
aload 3
invokevirtual java.io.InputStream.close:()V
11: StackMap locals:
StackMap stack: java.util.Map
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 1
13: aload 4
ifnull 14
aload 4
invokevirtual java.io.BufferedReader.close:()V
end local 4 StackMap locals:
StackMap stack:
14: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 2
aload 1
ifnonnull 16
aload 2
astore 1
goto 17
StackMap locals:
StackMap stack:
16: aload 1
aload 2
if_acmpeq 17
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 3
ifnull 18
aload 3
invokevirtual java.io.InputStream.close:()V
end local 3 StackMap locals:
StackMap stack:
18: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 2
aload 1
ifnonnull 20
aload 2
astore 1
goto 21
StackMap locals:
StackMap stack:
20: aload 1
aload 2
if_acmpeq 21
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 1
athrow
StackMap locals: java.util.Map
StackMap stack: java.io.IOException
22: astore 1
start local 1 23: new java.io.IOError
dup
aload 1
invokespecial java.io.IOError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 24 0 capabilities Ljava/util/Map<Ljava/lang/String;Ljdk/internal/org/jline/utils/InfoCmp$Capability;>;
3 18 3 is Ljava/io/InputStream;
4 14 4 br Ljava/io/BufferedReader;
23 24 1 e Ljava/io/IOException;
Exception table:
from to target type
4 9 12 any
3 10 15 any
12 15 15 any
2 11 19 any
12 19 19 any
1 11 22 Class java.io.IOException
12 22 22 Class java.io.IOException
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljdk/internal/org/jline/utils/InfoCmp$Capability;>;
public static void setDefaultInfoCmp(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.org.jline.utils.InfoCmp.CAPS:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 terminal Ljava/lang/String;
0 2 1 caps Ljava/lang/String;
MethodParameters:
Name Flags
terminal
caps
public static void setDefaultInfoCmp(java.lang.String, java.util.function.Supplier<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/function/Supplier;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.org.jline.utils.InfoCmp.CAPS:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 terminal Ljava/lang/String;
0 2 1 caps Ljava/util/function/Supplier<Ljava/lang/String;>;
Signature: (Ljava/lang/String;Ljava/util/function/Supplier<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
terminal
caps
public static java.lang.String getInfoCmp(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokestatic jdk.internal.org.jline.utils.InfoCmp.getLoadedInfoCmp:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 5
2: new java.lang.ProcessBuilder
dup
iconst_2
anewarray java.lang.String
dup
iconst_0
getstatic jdk.internal.org.jline.utils.OSUtils.INFOCMP_COMMAND:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
aastore
invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
astore 2
start local 2 3: aload 2
invokestatic jdk.internal.org.jline.utils.ExecHelper.waitAndCapture:(Ljava/lang/Process;)Ljava/lang/String;
astore 1
4: getstatic jdk.internal.org.jline.utils.InfoCmp.CAPS:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 5: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 terminal Ljava/lang/String;
1 6 1 caps Ljava/lang/String;
3 5 2 p Ljava/lang/Process;
Exceptions:
throws java.io.IOException, java.lang.InterruptedException
MethodParameters:
Name Flags
terminal
public static java.lang.String getLoadedInfoCmp(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic jdk.internal.org.jline.utils.InfoCmp.CAPS:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
instanceof java.util.function.Supplier
ifeq 3
2: aload 1
checkcast java.util.function.Supplier
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
astore 1
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 terminal Ljava/lang/String;
1 4 1 caps Ljava/lang/Object;
MethodParameters:
Name Flags
terminal
public static void parseInfoCmp(java.lang.String, java.util.Set<jdk.internal.org.jline.utils.InfoCmp$Capability>, java.util.Map<jdk.internal.org.jline.utils.InfoCmp$Capability, java.lang.Integer>, java.util.Map<jdk.internal.org.jline.utils.InfoCmp$Capability, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/Set;Ljava/util/Map;Ljava/util/Map;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic jdk.internal.org.jline.utils.InfoCmp.getCapabilitiesByName:()Ljava/util/Map;
astore 4
start local 4 1: aload 0
ldc "\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 2: iconst_1
istore 6
start local 6 3: goto 38
4: StackMap locals: java.util.Map java.lang.String[] int
StackMap stack:
ldc "\\s*(([^,]|\\\\,)+)\\s*[,$]"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
aload 5
iload 6
aaload
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 7
start local 7 5: goto 36
6: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 7
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
astore 8
start local 8 7: aload 8
ldc "#"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 25
8: aload 8
bipush 35
invokevirtual java.lang.String.indexOf:(I)I
istore 9
start local 9 9: aload 8
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 10: aload 8
iload 9
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 11
start local 11 11: ldc "0"
aload 11
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: iconst_0
istore 12
start local 12 13: goto 21
end local 12 StackMap locals: java.lang.String java.util.Set java.util.Map java.util.Map java.util.Map java.lang.String[] int java.util.regex.Matcher java.lang.String int java.lang.String java.lang.String
StackMap stack:
14: aload 11
ldc "0x"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
15: aload 11
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 12
start local 12 16: goto 21
end local 12 StackMap locals:
StackMap stack:
17: aload 11
ldc "0"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
18: aload 11
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
bipush 8
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 12
start local 12 19: goto 21
end local 12 20: StackMap locals:
StackMap stack:
aload 11
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 12
start local 12 21: StackMap locals: int
StackMap stack:
aload 4
aload 10
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.InfoCmp$Capability
astore 13
start local 13 22: aload 13
ifnull 36
23: aload 2
aload 13
iload 12
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 end local 12 end local 11 end local 10 end local 9 24: goto 36
StackMap locals: java.lang.String java.util.Set java.util.Map java.util.Map java.util.Map java.lang.String[] int java.util.regex.Matcher java.lang.String
StackMap stack:
25: aload 8
ldc "="
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 33
26: aload 8
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 9
start local 9 27: aload 8
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 28: aload 8
iload 9
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 11
start local 11 29: aload 4
aload 10
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.InfoCmp$Capability
astore 12
start local 12 30: aload 12
ifnull 36
31: aload 3
aload 12
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 12 end local 11 end local 10 end local 9 32: goto 36
33: StackMap locals:
StackMap stack:
aload 4
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.InfoCmp$Capability
astore 9
start local 9 34: aload 9
ifnull 36
35: aload 1
aload 9
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 36: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.util.regex.Matcher.find:()Z
ifne 6
end local 7 37: iinc 6 1
StackMap locals:
StackMap stack:
38: iload 6
aload 5
arraylength
if_icmplt 4
end local 6 39: 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 40 0 capabilities Ljava/lang/String;
0 40 1 bools Ljava/util/Set<Ljdk/internal/org/jline/utils/InfoCmp$Capability;>;
0 40 2 ints Ljava/util/Map<Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljava/lang/Integer;>;
0 40 3 strings Ljava/util/Map<Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljava/lang/String;>;
1 40 4 capsByName Ljava/util/Map<Ljava/lang/String;Ljdk/internal/org/jline/utils/InfoCmp$Capability;>;
2 40 5 lines [Ljava/lang/String;
3 39 6 i I
5 37 7 m Ljava/util/regex/Matcher;
7 36 8 cap Ljava/lang/String;
9 24 9 index I
10 24 10 key Ljava/lang/String;
11 24 11 val Ljava/lang/String;
13 14 12 iVal I
16 17 12 iVal I
19 20 12 iVal I
21 24 12 iVal I
22 24 13 c Ljdk/internal/org/jline/utils/InfoCmp$Capability;
27 32 9 index I
28 32 10 key Ljava/lang/String;
29 32 11 val Ljava/lang/String;
30 32 12 c Ljdk/internal/org/jline/utils/InfoCmp$Capability;
34 36 9 c Ljdk/internal/org/jline/utils/InfoCmp$Capability;
Signature: (Ljava/lang/String;Ljava/util/Set<Ljdk/internal/org/jline/utils/InfoCmp$Capability;>;Ljava/util/Map<Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljava/lang/Integer;>;Ljava/util/Map<Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
capabilities
bools
ints
strings
static java.lang.String loadDefaultInfoCmp(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: ldc Ljdk/internal/org/jline/utils/InfoCmp;
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".caps"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 3
start local 3 2: new java.io.BufferedReader
dup
new jdk.internal.org.jline.utils.InputStreamReader
dup
aload 3
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial jdk.internal.org.jline.utils.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
start local 4 3: aload 4
invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
ldc "\n"
ldc ""
ldc "\n"
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
4: aload 4
ifnull 5
aload 4
invokevirtual java.io.BufferedReader.close:()V
StackMap locals: java.lang.String java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.BufferedReader
StackMap stack: java.lang.String
5: aload 3
ifnull 6
aload 3
invokevirtual java.io.InputStream.close:()V
6: StackMap locals:
StackMap stack: java.lang.String
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 1
8: aload 4
ifnull 9
aload 4
invokevirtual java.io.BufferedReader.close:()V
end local 4 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 3
ifnull 13
aload 3
invokevirtual java.io.InputStream.close:()V
end local 3 StackMap locals:
StackMap stack:
13: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 2
aload 1
ifnonnull 15
aload 2
astore 1
goto 16
StackMap locals:
StackMap stack:
15: aload 1
aload 2
if_acmpeq 16
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 1
athrow
StackMap locals: java.lang.String
StackMap stack: java.io.IOException
17: astore 1
start local 1 18: new java.io.IOError
dup
aload 1
invokespecial java.io.IOError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 name Ljava/lang/String;
2 13 3 is Ljava/io/InputStream;
3 9 4 br Ljava/io/BufferedReader;
18 19 1 e Ljava/io/IOException;
Exception table:
from to target type
3 4 7 any
2 5 10 any
7 10 10 any
1 6 14 any
7 14 14 any
0 6 17 Class java.io.IOException
7 17 17 Class java.io.IOException
MethodParameters:
Name Flags
name
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic jdk.internal.org.jline.utils.InfoCmp.loadDefaultInfoCmp:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean lambda$2(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljava/lang/String;
private static boolean lambda$3(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljava/lang/String;
private static void lambda$4(java.util.Map, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=2
start local 1 0: aload 1
ldc ", "
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 1: ldc Ljdk/internal/org/jline/utils/InfoCmp$Capability;
aload 2
iconst_0
aaload
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast jdk.internal.org.jline.utils.InfoCmp$Capability
astore 3
start local 3 2: aload 0
aload 2
iconst_0
aaload
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aload 2
iconst_1
aaload
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 2 4: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 s Ljava/lang/String;
1 4 2 names [Ljava/lang/String;
2 4 3 cap Ljdk/internal/org/jline/utils/InfoCmp$Capability;
}
SourceFile: "InfoCmp.java"
NestMembers:
jdk.internal.org.jline.utils.InfoCmp$Capability
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Capability = jdk.internal.org.jline.utils.InfoCmp$Capability of jdk.internal.org.jline.utils.InfoCmp