class jdk.internal.jshell.tool.JShellTool$2 extends java.io.InputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.jshell.tool.JShellTool$2
  super_class: java.io.InputStream
{
  final jdk.internal.jshell.tool.JShellTool this$0;
    descriptor: Ljdk/internal/jshell/tool/JShellTool;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(jdk.internal.jshell.tool.JShellTool);
    descriptor: (Ljdk/internal/jshell/tool/JShellTool;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jshell.tool.JShellTool$2 this
         0: .line 168
            aload 0 /* this */
            aload 1
            putfield jdk.internal.jshell.tool.JShellTool$2.this$0:Ljdk/internal/jshell/tool/JShellTool;
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
            return
        end local 0 // jdk.internal.jshell.tool.JShellTool$2 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/JShellTool$2;
    MethodParameters:
        Name  Flags
      this$0  final

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jshell.tool.JShellTool$2 this
         0: .line 171
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$2.this$0:Ljdk/internal/jshell/tool/JShellTool;
            getfield jdk.internal.jshell.tool.JShellTool.input:Ljdk/internal/jshell/tool/IOContext;
            invokevirtual jdk.internal.jshell.tool.IOContext.readUserInput:()I
            ireturn
        end local 0 // jdk.internal.jshell.tool.JShellTool$2 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/JShellTool$2;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "JShellTool.java"
EnclosingMethod: jdk.internal.jshell.tool.JShellTool.<init>:(Ljava/io/InputStream;Ljava/io/PrintStream;Ljava/io/PrintStream;Ljava/io/PrintStream;Ljava/io/InputStream;Ljava/io/PrintStream;Ljava/io/PrintStream;Ljdk/internal/jshell/tool/PersistentStorage;Ljava/util/Map;Ljava/util/Locale;)V
NestHost: jdk.internal.jshell.tool.JShellTool
InnerClasses:
  jdk.internal.jshell.tool.JShellTool$2