final class jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask implements jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask
super_class: java.lang.Object
{
final jdk.internal.jshell.tool.ConsoleIOContext this$0;
descriptor: Ljdk/internal/jshell/tool/ConsoleIOContext;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(jdk.internal.jshell.tool.ConsoleIOContext);
descriptor: (Ljdk/internal/jshell/tool/ConsoleIOContext;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask this
0: .line 552
aload 0 /* this */
aload 1
putfield jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$NoSuchCommandCompletionTask;
MethodParameters:
Name Flags
this$0 final
public java.lang.String description();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask this
0: .line 556
new java.lang.UnsupportedOperationException
dup
ldc "Should not get here."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$NoSuchCommandCompletionTask;
public jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result perform(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask this
start local 1 // java.lang.String text
start local 2 // int cursor
0: .line 561
aload 0 /* this */
getfield jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.getTerminal:()Ljdk/internal/org/jline/terminal/Terminal;
invokeinterface jdk.internal.org.jline.terminal.Terminal.writer:()Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.println:()V
1: .line 562
aload 0 /* this */
getfield jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.getTerminal:()Ljdk/internal/org/jline/terminal/Terminal;
invokeinterface jdk.internal.org.jline.terminal.Terminal.writer:()Ljava/io/PrintWriter;
aload 0 /* this */
getfield jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
ldc "jshell.console.no.such.command"
invokevirtual jdk.internal.jshell.tool.JShellTool.getResourceString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
2: .line 563
aload 0 /* this */
getfield jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/org/jline/reader/impl/LineReaderImpl;
invokevirtual jdk.internal.org.jline.reader.impl.LineReaderImpl.getTerminal:()Ljdk/internal/org/jline/terminal/Terminal;
invokeinterface jdk.internal.org.jline.terminal.Terminal.writer:()Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.println:()V
3: .line 564
getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.SKIP:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
areturn
end local 2 // int cursor
end local 1 // java.lang.String text
end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$NoSuchCommandCompletionTask;
0 4 1 text Ljava/lang/String;
0 4 2 cursor I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
text
cursor
}
SourceFile: "ConsoleIOContext.java"
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
private abstract CompletionTask = jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask of jdk.internal.jshell.tool.ConsoleIOContext
public final Result = jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result of jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask
private final NoSuchCommandCompletionTask = jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask of jdk.internal.jshell.tool.ConsoleIOContext