class jdk.internal.jshell.tool.ScannerIOContext extends jdk.internal.jshell.tool.NonInteractiveIOContext
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.jshell.tool.ScannerIOContext
  super_class: jdk.internal.jshell.tool.NonInteractiveIOContext
{
  private final java.util.Scanner scannerIn;
    descriptor: Ljava/util/Scanner;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(java.util.Scanner);
    descriptor: (Ljava/util/Scanner;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jshell.tool.ScannerIOContext this
        start local 1 // java.util.Scanner scannerIn
         0: .line 4060
            aload 0 /* this */
            invokespecial jdk.internal.jshell.tool.NonInteractiveIOContext.<init>:()V
         1: .line 4061
            aload 0 /* this */
            aload 1 /* scannerIn */
            putfield jdk.internal.jshell.tool.ScannerIOContext.scannerIn:Ljava/util/Scanner;
         2: .line 4062
            return
        end local 1 // java.util.Scanner scannerIn
        end local 0 // jdk.internal.jshell.tool.ScannerIOContext this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Ljdk/internal/jshell/tool/ScannerIOContext;
            0    3     1  scannerIn  Ljava/util/Scanner;
    MethodParameters:
           Name  Flags
      scannerIn  

  void <init>(java.io.Reader);
    descriptor: (Ljava/io/Reader;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.internal.jshell.tool.ScannerIOContext this
        start local 1 // java.io.Reader rdr
         0: .line 4065
            aload 0 /* this */
            new java.util.Scanner
            dup
            aload 1 /* rdr */
            invokespecial java.util.Scanner.<init>:(Ljava/lang/Readable;)V
            invokespecial jdk.internal.jshell.tool.ScannerIOContext.<init>:(Ljava/util/Scanner;)V
         1: .line 4066
            return
        end local 1 // java.io.Reader rdr
        end local 0 // jdk.internal.jshell.tool.ScannerIOContext this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/jshell/tool/ScannerIOContext;
            0    2     1   rdr  Ljava/io/Reader;
    Exceptions:
      throws java.io.FileNotFoundException
    MethodParameters:
      Name  Flags
      rdr   

  public java.lang.String readLine(java.lang.String, java.lang.String, boolean, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=5, args_size=5
        start local 0 // jdk.internal.jshell.tool.ScannerIOContext this
        start local 1 // java.lang.String firstLinePrompt
        start local 2 // java.lang.String continuationPrompt
        start local 3 // boolean firstLine
        start local 4 // java.lang.String prefix
         0: .line 4070
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ScannerIOContext.scannerIn:Ljava/util/Scanner;
            invokevirtual java.util.Scanner.hasNextLine:()Z
            ifeq 2
         1: .line 4071
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ScannerIOContext.scannerIn:Ljava/util/Scanner;
            invokevirtual java.util.Scanner.nextLine:()Ljava/lang/String;
            areturn
         2: .line 4073
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 4 // java.lang.String prefix
        end local 3 // boolean firstLine
        end local 2 // java.lang.String continuationPrompt
        end local 1 // java.lang.String firstLinePrompt
        end local 0 // jdk.internal.jshell.tool.ScannerIOContext this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    3     0                this  Ljdk/internal/jshell/tool/ScannerIOContext;
            0    3     1     firstLinePrompt  Ljava/lang/String;
            0    3     2  continuationPrompt  Ljava/lang/String;
            0    3     3           firstLine  Z
            0    3     4              prefix  Ljava/lang/String;
    MethodParameters:
                    Name  Flags
      firstLinePrompt     
      continuationPrompt  
      firstLine           
      prefix              

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jshell.tool.ScannerIOContext this
         0: .line 4079
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ScannerIOContext.scannerIn:Ljava/util/Scanner;
            invokevirtual java.util.Scanner.close:()V
         1: .line 4080
            return
        end local 0 // jdk.internal.jshell.tool.ScannerIOContext this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/jshell/tool/ScannerIOContext;

  public int readUserInput();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jshell.tool.ScannerIOContext this
         0: .line 4084
            iconst_m1
            ireturn
        end local 0 // jdk.internal.jshell.tool.ScannerIOContext this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/ScannerIOContext;
}
SourceFile: "JShellTool.java"