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 3397
            aload 0 /* this */
            invokespecial jdk.internal.jshell.tool.NonInteractiveIOContext.<init>:()V
         1: .line 3398
            aload 0 /* this */
            aload 1 /* scannerIn */
            putfield jdk.internal.jshell.tool.ScannerIOContext.scannerIn:Ljava/util/Scanner;
         2: .line 3399
            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 3402
            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 3403
            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);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // jdk.internal.jshell.tool.ScannerIOContext this
        start local 1 // java.lang.String prompt
        start local 2 // java.lang.String prefix
         0: .line 3407
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ScannerIOContext.scannerIn:Ljava/util/Scanner;
            invokevirtual java.util.Scanner.hasNextLine:()Z
            ifeq 2
         1: .line 3408
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ScannerIOContext.scannerIn:Ljava/util/Scanner;
            invokevirtual java.util.Scanner.nextLine:()Ljava/lang/String;
            areturn
         2: .line 3410
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 2 // java.lang.String prefix
        end local 1 // java.lang.String prompt
        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  prompt  Ljava/lang/String;
            0    3     2  prefix  Ljava/lang/String;
    MethodParameters:
        Name  Flags
      prompt  
      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 3416
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ScannerIOContext.scannerIn:Ljava/util/Scanner;
            invokevirtual java.util.Scanner.close:()V
         1: .line 3417
            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 3421
            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"