class jdk.internal.jshell.tool.ConsoleIOContext$6 implements jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jshell.tool.ConsoleIOContext$6
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 final boolean val$first;
descriptor: Z
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final boolean val$command;
descriptor: Z
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String[] val$thisPageLines;
descriptor: [Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.jshell.tool.ConsoleIOContext, boolean, boolean, java.lang.String[]);
descriptor: (Ljdk/internal/jshell/tool/ConsoleIOContext;ZZ[Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield jdk.internal.jshell.tool.ConsoleIOContext$6.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
aload 0
iload 2
putfield jdk.internal.jshell.tool.ConsoleIOContext$6.val$first:Z
aload 0
iload 3
putfield jdk.internal.jshell.tool.ConsoleIOContext$6.val$command:Z
aload 0
aload 4
putfield jdk.internal.jshell.tool.ConsoleIOContext$6.val$thisPageLines:[Ljava/lang/String;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$6;
MethodParameters:
Name Flags
this$0 final
val$first final
val$command final
val$thisPageLines final
public java.lang.String description();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$6.val$first:Z
ifne 1
ldc "jshell.console.see.next.page"
goto 3
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$6.val$command:Z
ifeq 2
ldc "jshell.console.see.next.command.doc"
goto 3
2: StackMap locals:
StackMap stack:
ldc "jshell.console.see.next.javadoc"
3: StackMap locals:
StackMap stack: java.lang.String
astore 1
start local 1 4: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$6.this$0:Ljdk/internal/jshell/tool/ConsoleIOContext;
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
aload 1
invokevirtual jdk.internal.jshell.tool.JShellTool.getResourceString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$6;
4 5 1 key Ljava/lang/String;
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=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$6.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: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$6.val$thisPageLines:[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext$6 java.lang.String int top int int java.lang.String[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$6.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 3
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.FINISH:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$6;
0 7 1 text Ljava/lang/String;
0 7 2 cursor I
3 4 3 line Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
text
cursor
}
SourceFile: "ConsoleIOContext.java"
EnclosingMethod: jdk.internal.jshell.tool.ConsoleIOContext.doPrintFullDocumentation:(Ljava/util/List;Ljava/util/List;Z)Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
jdk.internal.jshell.tool.ConsoleIOContext$6
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