class jdk.nashorn.tools.jjs.Console implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.tools.jjs.Console
super_class: java.lang.Object
{
private static final java.lang.String DOCUMENTATION_SHORTCUT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\u001B[Z"
private final jdk.internal.jline.console.ConsoleReader in;
descriptor: Ljdk/internal/jline/console/ConsoleReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.File historyFile;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.io.InputStream, java.io.PrintStream, java.io.File, jdk.nashorn.tools.jjs.NashornCompleter, java.util.function.Function<java.lang.String, java.lang.String>);
descriptor: (Ljava/io/InputStream;Ljava/io/PrintStream;Ljava/io/File;Ljdk/nashorn/tools/jjs/NashornCompleter;Ljava/util/function/Function;)V
flags: (0x0000)
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
putfield jdk.nashorn.tools.jjs.Console.historyFile:Ljava/io/File;
2: getstatic jdk.internal.jline.TerminalFactory$Flavor.WINDOWS:Ljdk/internal/jline/TerminalFactory$Flavor;
invokestatic jdk.nashorn.tools.jjs.Console.isCygwin:()Z
ifeq 3
invokedynamic call()Ljava/util/concurrent/Callable;
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/nashorn/tools/jjs/Console$JJSUnixTerminal.<init>()V (8)
()Ljdk/internal/jline/Terminal;
goto 4
StackMap locals: jdk.nashorn.tools.jjs.Console java.io.InputStream java.io.PrintStream java.io.File jdk.nashorn.tools.jjs.NashornCompleter java.util.function.Function
StackMap stack: jdk.internal.jline.TerminalFactory$Flavor
3: invokedynamic call()Ljava/util/concurrent/Callable;
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/nashorn/tools/jjs/Console$JJSWindowsTerminal.<init>()V (8)
()Ljdk/internal/jline/Terminal;
StackMap locals: jdk.nashorn.tools.jjs.Console java.io.InputStream java.io.PrintStream java.io.File jdk.nashorn.tools.jjs.NashornCompleter java.util.function.Function
StackMap stack: jdk.internal.jline.TerminalFactory$Flavor java.util.concurrent.Callable
4: invokestatic jdk.internal.jline.TerminalFactory.registerFlavor:(Ljdk/internal/jline/TerminalFactory$Flavor;Ljava/util/concurrent/Callable;)V
5: getstatic jdk.internal.jline.TerminalFactory$Flavor.UNIX:Ljdk/internal/jline/TerminalFactory$Flavor;
invokedynamic call()Ljava/util/concurrent/Callable;
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/nashorn/tools/jjs/Console$JJSUnixTerminal.<init>()V (8)
()Ljdk/internal/jline/Terminal;
invokestatic jdk.internal.jline.TerminalFactory.registerFlavor:(Ljdk/internal/jline/TerminalFactory$Flavor;Ljava/util/concurrent/Callable;)V
6: aload 0
new jdk.internal.jline.console.ConsoleReader
dup
aload 1
aload 2
invokespecial jdk.internal.jline.console.ConsoleReader.<init>:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
putfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
7: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
iconst_0
invokevirtual jdk.internal.jline.console.ConsoleReader.setExpandEvents:(Z)V
8: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
iconst_1
invokevirtual jdk.internal.jline.console.ConsoleReader.setHandleUserInterrupt:(Z)V
9: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
iconst_1
invokevirtual jdk.internal.jline.console.ConsoleReader.setBellEnabled:(Z)V
10: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
iconst_1
invokevirtual jdk.internal.jline.console.ConsoleReader.setCopyPasteDetection:(Z)V
11: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 12
aload 3
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokestatic java.nio.file.Files.readAllLines:(Ljava/nio/file/Path;)Ljava/util/List;
goto 13
StackMap locals:
StackMap stack:
12: aconst_null
StackMap locals:
StackMap stack: java.util.List
13: astore 6
start local 6 14: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
new jdk.nashorn.tools.jjs.Console$1
dup
aload 0
aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
aload 6
aload 4
invokespecial jdk.nashorn.tools.jjs.Console$1.<init>:(Ljdk/nashorn/tools/jjs/Console;Ljdk/internal/jline/console/ConsoleReader;Ljava/lang/Iterable;Ljdk/nashorn/tools/jjs/NashornCompleter;)V
invokevirtual jdk.internal.jline.console.ConsoleReader.setHistory:(Ljdk/internal/jline/console/history/History;)V
15: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
aload 4
invokevirtual jdk.internal.jline.console.ConsoleReader.addCompleter:(Ljdk/internal/jline/console/completer/Completer;)Z
pop
16: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
new java.lang.Thread
dup
aload 0
invokedynamic run(Ljdk/nashorn/tools/jjs/Console;)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/nashorn/tools/jjs/Console.saveHistory()V (7)
()V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
17: aload 0
ldc "\u001B[Z"
aload 0
aload 5
invokedynamic run(Ljdk/nashorn/tools/jjs/Console;Ljava/util/function/Function;)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/nashorn/tools/jjs/Console.lambda$4(Ljava/util/function/Function;)V (7)
()V
invokevirtual jdk.nashorn.tools.jjs.Console.bind:(Ljava/lang/String;Ljava/lang/Object;)V
18: new jdk.internal.misc.Signal
dup
ldc "CONT"
invokespecial jdk.internal.misc.Signal.<init>:(Ljava/lang/String;)V
new jdk.nashorn.tools.jjs.Console$2
dup
aload 0
invokespecial jdk.nashorn.tools.jjs.Console$2.<init>:(Ljdk/nashorn/tools/jjs/Console;)V
invokestatic jdk.internal.misc.Signal.handle:(Ljdk/internal/misc/Signal;Ljdk/internal/misc/Signal$Handler;)Ljdk/internal/misc/Signal$Handler;
pop
19: goto 21
StackMap locals: jdk.nashorn.tools.jjs.Console java.io.InputStream java.io.PrintStream java.io.File jdk.nashorn.tools.jjs.NashornCompleter java.util.function.Function java.lang.Iterable
StackMap stack: java.lang.IllegalArgumentException
20: pop
21: StackMap locals:
StackMap stack:
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 22 0 this Ljdk/nashorn/tools/jjs/Console;
0 22 1 cmdin Ljava/io/InputStream;
0 22 2 cmdout Ljava/io/PrintStream;
0 22 3 historyFile Ljava/io/File;
0 22 4 completer Ljdk/nashorn/tools/jjs/NashornCompleter;
0 22 5 docHelper Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
14 22 6 existingHistory Ljava/lang/Iterable<Ljava/lang/String;>;
Exception table:
from to target type
18 19 20 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/InputStream;Ljava/io/PrintStream;Ljava/io/File;Ljdk/nashorn/tools/jjs/NashornCompleter;Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
cmdin final
cmdout final
historyFile final
completer final
docHelper final
java.lang.String readLine(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.readLine:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/tools/jjs/Console;
0 1 1 prompt Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
prompt final
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.tools.jjs.Console.saveHistory:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/tools/jjs/Console;
private void saveHistory();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield jdk.nashorn.tools.jjs.Console.historyFile:Ljava/io/File;
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newBufferedWriter:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;
astore 3
start local 3 2: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: aload 3
aload 0
invokevirtual jdk.nashorn.tools.jjs.Console.getHistory:()Ljdk/internal/jline/extra/EditingHistory;
invokevirtual jdk.internal.jline.extra.EditingHistory.save:()Ljava/util/Collection;
4: invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
5: aload 4
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
6: invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
end local 4 7: aload 3
ifnull 14
aload 3
invokevirtual java.io.Writer.close:()V
goto 14
StackMap locals: jdk.nashorn.tools.jjs.Console java.lang.Throwable java.lang.Throwable java.io.Writer
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual java.io.Writer.close:()V
end local 3 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 1
athrow
StackMap locals: jdk.nashorn.tools.jjs.Console
StackMap stack: java.io.IOException
13: pop
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/nashorn/tools/jjs/Console;
2 9 3 out Ljava/io/Writer;
3 7 4 lineSeparator Ljava/lang/String;
Exception table:
from to target type
2 7 8 any
1 10 10 any
0 13 13 Class java.io.IOException
jdk.internal.jline.extra.EditingHistory ();
descriptor: ()Ljdk/internal/jline/extra/EditingHistory;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getHistory:()Ljdk/internal/jline/console/history/History;
checkcast jdk.internal.jline.extra.EditingHistory
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/tools/jjs/Console;
boolean terminalEditorRunning();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getTerminal:()Ljdk/internal/jline/Terminal;
astore 1
start local 1 1: aload 1
instanceof jdk.nashorn.tools.jjs.Console$JJSUnixTerminal
ifeq 3
2: aload 1
checkcast jdk.nashorn.tools.jjs.Console$JJSUnixTerminal
invokevirtual jdk.nashorn.tools.jjs.Console$JJSUnixTerminal.isRaw:()Z
ireturn
3: StackMap locals: jdk.internal.jline.Terminal
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/tools/jjs/Console;
1 4 1 terminal Ljdk/internal/jline/Terminal;
void suspend();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getTerminal:()Ljdk/internal/jline/Terminal;
invokeinterface jdk.internal.jline.Terminal.restore:()V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 1
start local 1 3: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/tools/jjs/Console;
3 4 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
void resume();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getTerminal:()Ljdk/internal/jline/Terminal;
invokeinterface jdk.internal.jline.Terminal.init:()V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 1
start local 1 3: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/tools/jjs/Console;
3 4 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
private static boolean isCygwin();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "SHELL"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
private void bind(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getKeys:()Ljdk/internal/jline/console/KeyMap;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 9
3: StackMap locals: jdk.internal.jline.console.KeyMap int
StackMap stack:
aload 3
aload 1
iload 4
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 5
start local 5 4: aload 5
instanceof jdk.internal.jline.console.KeyMap
ifeq 7
5: aload 5
checkcast jdk.internal.jline.console.KeyMap
astore 3
6: goto 8
7: StackMap locals: java.lang.Object
StackMap stack:
aload 3
aload 1
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 2
invokevirtual jdk.internal.jline.console.KeyMap.bind:(Ljava/lang/CharSequence;Ljava/lang/Object;)V
end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 4 10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/tools/jjs/Console;
0 11 1 shortcut Ljava/lang/String;
0 11 2 action Ljava/lang/Object;
1 11 3 km Ljdk/internal/jline/console/KeyMap;
2 10 4 i I
4 8 5 value Ljava/lang/Object;
MethodParameters:
Name Flags
shortcut
action
private void showDocumentation(java.util.function.Function<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/function/Function;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getCursorBuffer:()Ljdk/internal/jline/console/CursorBuffer;
getfield jdk.internal.jline.console.CursorBuffer.buffer:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getCursorBuffer:()Ljdk/internal/jline/console/CursorBuffer;
getfield jdk.internal.jline.console.CursorBuffer.cursor:I
istore 3
start local 3 2: aload 1
aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 3: aload 4
ifnull 9
4: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:()V
5: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
aload 4
invokevirtual jdk.internal.jline.console.ConsoleReader.println:(Ljava/lang/CharSequence;)V
6: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.redrawLine:()V
7: aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.flush:()V
8: goto 13
9: StackMap locals: java.lang.String int java.lang.String
StackMap stack:
aload 0
getfield jdk.nashorn.tools.jjs.Console.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.beep:()V
10: goto 13
StackMap locals:
StackMap stack: java.io.IOException
11: astore 5
start local 5 12: new java.lang.IllegalStateException
dup
aload 5
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 13: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/nashorn/tools/jjs/Console;
0 14 1 docHelper Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
1 14 2 buffer Ljava/lang/String;
2 14 3 cursor I
3 14 4 doc Ljava/lang/String;
12 13 5 ex Ljava/io/IOException;
Exception table:
from to target type
3 10 11 Class java.io.IOException
Signature: (Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
docHelper final
private void lambda$4(java.util.function.Function);
descriptor: (Ljava/util/function/Function;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
invokevirtual jdk.nashorn.tools.jjs.Console.showDocumentation:(Ljava/util/function/Function;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/tools/jjs/Console;
}
SourceFile: "Console.java"
NestMembers:
jdk.nashorn.tools.jjs.Console$1 jdk.nashorn.tools.jjs.Console$2 jdk.nashorn.tools.jjs.Console$JJSUnixTerminal jdk.nashorn.tools.jjs.Console$JJSWindowsTerminal
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Flavor = jdk.internal.jline.TerminalFactory$Flavor of jdk.internal.jline.TerminalFactory
public abstract Handler = jdk.internal.misc.Signal$Handler of jdk.internal.misc.Signal
jdk.nashorn.tools.jjs.Console$1
jdk.nashorn.tools.jjs.Console$2
final JJSUnixTerminal = jdk.nashorn.tools.jjs.Console$JJSUnixTerminal of jdk.nashorn.tools.jjs.Console
final JJSWindowsTerminal = jdk.nashorn.tools.jjs.Console$JJSWindowsTerminal of jdk.nashorn.tools.jjs.Console