public final class jdk.internal.org.jline.reader.LineReaderBuilder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.org.jline.reader.LineReaderBuilder
super_class: java.lang.Object
{
jdk.internal.org.jline.terminal.Terminal terminal;
descriptor: Ljdk/internal/org/jline/terminal/Terminal;
flags: (0x0000)
java.lang.String appName;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.util.Map<java.lang.String, java.lang.Object> variables;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
java.util.Map<jdk.internal.org.jline.reader.LineReader$Option, java.lang.Boolean> options;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Ljdk/internal/org/jline/reader/LineReader$Option;Ljava/lang/Boolean;>;
jdk.internal.org.jline.reader.History history;
descriptor: Ljdk/internal/org/jline/reader/History;
flags: (0x0000)
jdk.internal.org.jline.reader.Completer completer;
descriptor: Ljdk/internal/org/jline/reader/Completer;
flags: (0x0000)
jdk.internal.org.jline.reader.History memoryHistory;
descriptor: Ljdk/internal/org/jline/reader/History;
flags: (0x0000)
jdk.internal.org.jline.reader.Highlighter highlighter;
descriptor: Ljdk/internal/org/jline/reader/Highlighter;
flags: (0x0000)
jdk.internal.org.jline.reader.Parser parser;
descriptor: Ljdk/internal/org/jline/reader/Parser;
flags: (0x0000)
jdk.internal.org.jline.reader.Expander expander;
descriptor: Ljdk/internal/org/jline/reader/Expander;
flags: (0x0000)
public static jdk.internal.org.jline.reader.LineReaderBuilder builder();
descriptor: ()Ljdk/internal/org/jline/reader/LineReaderBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.internal.org.jline.reader.LineReaderBuilder
dup
invokespecial jdk.internal.org.jline.reader.LineReaderBuilder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 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.org.jline.reader.LineReaderBuilder.variables:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.org.jline.reader.LineReaderBuilder.options:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
public jdk.internal.org.jline.reader.LineReaderBuilder terminal(jdk.internal.org.jline.terminal.Terminal);
descriptor: (Ljdk/internal/org/jline/terminal/Terminal;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.org.jline.reader.LineReaderBuilder.terminal:Ljdk/internal/org/jline/terminal/Terminal;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 2 1 terminal Ljdk/internal/org/jline/terminal/Terminal;
MethodParameters:
Name Flags
terminal
public jdk.internal.org.jline.reader.LineReaderBuilder appName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.org.jline.reader.LineReaderBuilder.appName:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 2 1 appName Ljava/lang/String;
MethodParameters:
Name Flags
appName
public jdk.internal.org.jline.reader.LineReaderBuilder variables(java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.variables:Ljava/util/Map;
astore 2
start local 2 1: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
putfield jdk.internal.org.jline.reader.LineReaderBuilder.variables:Ljava/util/Map;
2: aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.variables:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 4 1 variables Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
1 4 2 old Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
MethodParameters:
Name Flags
variables
public jdk.internal.org.jline.reader.LineReaderBuilder variable(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
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.org.jline.reader.LineReaderBuilder.variables:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
value
public jdk.internal.org.jline.reader.LineReaderBuilder option(jdk.internal.org.jline.reader.LineReader$Option, boolean);
descriptor: (Ljdk/internal/org/jline/reader/LineReader$Option;Z)Ljdk/internal/org/jline/reader/LineReaderBuilder;
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.org.jline.reader.LineReaderBuilder.options:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 2 1 option Ljdk/internal/org/jline/reader/LineReader$Option;
0 2 2 value Z
MethodParameters:
Name Flags
option
value
public jdk.internal.org.jline.reader.LineReaderBuilder history(jdk.internal.org.jline.reader.History);
descriptor: (Ljdk/internal/org/jline/reader/History;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.org.jline.reader.LineReaderBuilder.history:Ljdk/internal/org/jline/reader/History;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 2 1 history Ljdk/internal/org/jline/reader/History;
MethodParameters:
Name Flags
history
public jdk.internal.org.jline.reader.LineReaderBuilder completer(jdk.internal.org.jline.reader.Completer);
descriptor: (Ljdk/internal/org/jline/reader/Completer;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.org.jline.reader.LineReaderBuilder.completer:Ljdk/internal/org/jline/reader/Completer;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 2 1 completer Ljdk/internal/org/jline/reader/Completer;
MethodParameters:
Name Flags
completer
public jdk.internal.org.jline.reader.LineReaderBuilder highlighter(jdk.internal.org.jline.reader.Highlighter);
descriptor: (Ljdk/internal/org/jline/reader/Highlighter;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.org.jline.reader.LineReaderBuilder.highlighter:Ljdk/internal/org/jline/reader/Highlighter;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 2 1 highlighter Ljdk/internal/org/jline/reader/Highlighter;
MethodParameters:
Name Flags
highlighter
public jdk.internal.org.jline.reader.LineReaderBuilder parser(jdk.internal.org.jline.reader.Parser);
descriptor: (Ljdk/internal/org/jline/reader/Parser;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 8
1: ldc "org.jline.reader.support.parsedline"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
ifne 8
2: aload 1
ldc ""
iconst_0
invokeinterface jdk.internal.org.jline.reader.Parser.parse:(Ljava/lang/String;I)Ljdk/internal/org/jline/reader/ParsedLine;
instanceof jdk.internal.org.jline.reader.CompletingParsedLine
ifne 8
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: new java.lang.StringBuilder
dup
ldc "The Parser of class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " does not support the CompletingParsedLine interface. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "Completion with escaped or quoted words won't work correctly."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
invokestatic jdk.internal.org.jline.utils.Log.warn:([Ljava/lang/Object;)V
6: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
7: pop
8: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.internal.org.jline.reader.LineReaderBuilder.parser:Ljdk/internal/org/jline/reader/Parser;
9: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 10 1 parser Ljdk/internal/org/jline/reader/Parser;
Exception table:
from to target type
1 6 7 Class java.lang.Throwable
MethodParameters:
Name Flags
parser
public jdk.internal.org.jline.reader.LineReaderBuilder expander(jdk.internal.org.jline.reader.Expander);
descriptor: (Ljdk/internal/org/jline/reader/Expander;)Ljdk/internal/org/jline/reader/LineReaderBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.org.jline.reader.LineReaderBuilder.expander:Ljdk/internal/org/jline/reader/Expander;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
0 2 1 expander Ljdk/internal/org/jline/reader/Expander;
MethodParameters:
Name Flags
expander
public jdk.internal.org.jline.reader.LineReader build();
descriptor: ()Ljdk/internal/org/jline/reader/LineReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.terminal:Ljdk/internal/org/jline/terminal/Terminal;
astore 1
start local 1 1: aload 1
ifnonnull 6
2: invokestatic jdk.internal.org.jline.terminal.TerminalBuilder.terminal:()Ljdk/internal/org/jline/terminal/Terminal;
astore 1
3: goto 6
StackMap locals: jdk.internal.org.jline.reader.LineReaderBuilder jdk.internal.org.jline.terminal.Terminal
StackMap stack: java.io.IOException
4: astore 2
start local 2 5: new java.io.IOError
dup
aload 2
invokespecial java.io.IOError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 6: StackMap locals:
StackMap stack:
new jdk.internal.org.jline.reader.impl.LineReaderImpl
dup
aload 1
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.appName:Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.variables:Ljava/util/Map;
invokespecial jdk.internal.org.jline.reader.impl.LineReaderImpl.<init>:(Ljdk/internal/org/jline/terminal/Terminal;Ljava/lang/String;Ljava/util/Map;)V
astore 2
start local 2 7: aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.history:Ljdk/internal/org/jline/reader/History;
ifnull 10
8: aload 2
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.history:Ljdk/internal/org/jline/reader/History;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.setHistory:(Ljdk/internal/org/jline/reader/History;)V
9: goto 13
10: StackMap locals: jdk.internal.org.jline.reader.impl.LineReaderImpl
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.memoryHistory:Ljdk/internal/org/jline/reader/History;
ifnonnull 12
11: aload 0
new jdk.internal.org.jline.reader.impl.history.DefaultHistory
dup
invokespecial jdk.internal.org.jline.reader.impl.history.DefaultHistory.<init>:()V
putfield jdk.internal.org.jline.reader.LineReaderBuilder.memoryHistory:Ljdk/internal/org/jline/reader/History;
12: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.memoryHistory:Ljdk/internal/org/jline/reader/History;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.setHistory:(Ljdk/internal/org/jline/reader/History;)V
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.completer:Ljdk/internal/org/jline/reader/Completer;
ifnull 15
14: aload 2
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.completer:Ljdk/internal/org/jline/reader/Completer;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.setCompleter:(Ljdk/internal/org/jline/reader/Completer;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.highlighter:Ljdk/internal/org/jline/reader/Highlighter;
ifnull 17
16: aload 2
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.highlighter:Ljdk/internal/org/jline/reader/Highlighter;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.setHighlighter:(Ljdk/internal/org/jline/reader/Highlighter;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.parser:Ljdk/internal/org/jline/reader/Parser;
ifnull 19
18: aload 2
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.parser:Ljdk/internal/org/jline/reader/Parser;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.setParser:(Ljdk/internal/org/jline/reader/Parser;)V
19: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.expander:Ljdk/internal/org/jline/reader/Expander;
ifnull 21
20: aload 2
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.expander:Ljdk/internal/org/jline/reader/Expander;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.setExpander:(Ljdk/internal/org/jline/reader/Expander;)V
21: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.LineReaderBuilder.options:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 24
StackMap locals: jdk.internal.org.jline.reader.LineReaderBuilder jdk.internal.org.jline.terminal.Terminal jdk.internal.org.jline.reader.impl.LineReaderImpl top java.util.Iterator
StackMap stack:
22: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 23: aload 2
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast jdk.internal.org.jline.reader.LineReader$Option
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.option:(Ljdk/internal/org/jline/reader/LineReader$Option;Z)Ljdk/internal/org/jline/reader/LineReader;
pop
end local 3 24: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
25: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljdk/internal/org/jline/reader/LineReaderBuilder;
1 26 1 terminal Ljdk/internal/org/jline/terminal/Terminal;
5 6 2 e Ljava/io/IOException;
7 26 2 reader Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
23 24 3 e Ljava/util/Map$Entry<Ljdk/internal/org/jline/reader/LineReader$Option;Ljava/lang/Boolean;>;
Exception table:
from to target type
2 3 4 Class java.io.IOException
}
SourceFile: "LineReaderBuilder.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public final Option = jdk.internal.org.jline.reader.LineReader$Option of jdk.internal.org.jline.reader.LineReader