final class jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal extends jdk.internal.jline.TerminalSupport
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal
  super_class: jdk.internal.jline.TerminalSupport
{
  private final jdk.internal.jshell.tool.StopDetectingInputStream input;
    descriptor: Ljdk/internal/jshell/tool/StopDetectingInputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(jdk.internal.jshell.tool.StopDetectingInputStream);
    descriptor: (Ljdk/internal/jshell/tool/StopDetectingInputStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal this
        start local 1 // jdk.internal.jshell.tool.StopDetectingInputStream input
         0: .line 1058
            aload 0 /* this */
            iconst_1
            invokespecial jdk.internal.jline.TerminalSupport.<init>:(Z)V
         1: .line 1059
            aload 0 /* this */
            iconst_0
            invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.setAnsiSupported:(Z)V
         2: .line 1060
            aload 0 /* this */
            iconst_0
            invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.setEchoEnabled:(Z)V
         3: .line 1061
            aload 0 /* this */
            aload 1 /* input */
            putfield jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
         4: .line 1062
            return
        end local 1 // jdk.internal.jshell.tool.StopDetectingInputStream input
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Ljdk/internal/jshell/tool/ConsoleIOContext$TestTerminal;
            0    5     1  input  Ljdk/internal/jshell/tool/StopDetectingInputStream;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
       Name  Flags
      input  

  public java.io.InputStream wrapInIfNeeded(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)Ljava/io/InputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal this
        start local 1 // java.io.InputStream in
         0: .line 1066
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
            aload 0 /* this */
            aload 1 /* in */
            invokespecial jdk.internal.jline.TerminalSupport.wrapInIfNeeded:(Ljava/io/InputStream;)Ljava/io/InputStream;
            invokevirtual jdk.internal.jshell.tool.StopDetectingInputStream.setInputStream:(Ljava/io/InputStream;)Ljava/io/InputStream;
            areturn
        end local 1 // java.io.InputStream in
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/ConsoleIOContext$TestTerminal;
            0    1     1    in  Ljava/io/InputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
}
SourceFile: "ConsoleIOContext.java"
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
  private final TestTerminal = jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal of jdk.internal.jshell.tool.ConsoleIOContext