final class jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal extends jdk.internal.jline.WindowsTerminal implements jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal
  super_class: jdk.internal.jline.WindowsTerminal
{
  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$JShellWindowsTerminal this
        start local 1 // jdk.internal.jshell.tool.StopDetectingInputStream input
         0: .line 1011
            aload 0 /* this */
            invokespecial jdk.internal.jline.WindowsTerminal.<init>:()V
         1: .line 1012
            aload 0 /* this */
            aload 1 /* input */
            putfield jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
         2: .line 1013
            return
        end local 1 // jdk.internal.jshell.tool.StopDetectingInputStream input
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
            0    3     1  input  Ljdk/internal/jshell/tool/StopDetectingInputStream;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
       Name  Flags
      input  

  public void init();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal this
         0: .line 1017
            aload 0 /* this */
            invokespecial jdk.internal.jline.WindowsTerminal.init:()V
         1: .line 1018
            aload 0 /* this */
            iconst_0
            invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.setAnsiSupported:(Z)V
         2: .line 1019
            return
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
    Exceptions:
      throws java.lang.Exception

  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$JShellWindowsTerminal this
        start local 1 // java.io.InputStream in
         0: .line 1023
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
            aload 0 /* this */
            aload 1 /* in */
            invokespecial jdk.internal.jline.WindowsTerminal.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$JShellWindowsTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
            0    1     1    in  Ljava/io/InputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    

  public void suspend();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal this
         0: .line 1029
            aload 0 /* this */
            invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.restore:()V
         1: .line 1030
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.getConsoleMode:()I
            getstatic jdk.internal.jline.WindowsTerminal$ConsoleMode.ENABLE_PROCESSED_INPUT:Ljdk/internal/jline/WindowsTerminal$ConsoleMode;
            getfield jdk.internal.jline.WindowsTerminal$ConsoleMode.code:I
            iconst_m1
            ixor
            iand
            invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.setConsoleMode:(I)V
         2: .line 1031
            goto 5
      StackMap locals:
      StackMap stack: java.lang.Exception
         3: astore 1 /* ex */
        start local 1 // java.lang.Exception ex
         4: .line 1032
            new java.lang.IllegalStateException
            dup
            aload 1 /* ex */
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.Exception ex
         5: .line 1034
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
            4    5     1    ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     2       3  Class java.lang.Exception

  public void resume();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal this
         0: .line 1039
            aload 0 /* this */
            invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.restore:()V
         1: .line 1040
            aload 0 /* this */
            invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.init:()V
         2: .line 1041
            goto 5
      StackMap locals:
      StackMap stack: java.lang.Exception
         3: astore 1 /* ex */
        start local 1 // java.lang.Exception ex
         4: .line 1042
            new java.lang.IllegalStateException
            dup
            aload 1 /* ex */
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.Exception ex
         5: .line 1044
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
            4    5     1    ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     2       3  Class java.lang.Exception

  public boolean isRaw();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal this
         0: .line 1048
            aload 0 /* this */
            invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.getConsoleMode:()I
            getstatic jdk.internal.jline.WindowsTerminal$ConsoleMode.ENABLE_LINE_INPUT:Ljdk/internal/jline/WindowsTerminal$ConsoleMode;
            getfield jdk.internal.jline.WindowsTerminal$ConsoleMode.code:I
            iand
            ifne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
}
SourceFile: "ConsoleIOContext.java"
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
  public final ConsoleMode = jdk.internal.jline.WindowsTerminal$ConsoleMode of jdk.internal.jline.WindowsTerminal
  private final JShellWindowsTerminal = jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal of jdk.internal.jshell.tool.ConsoleIOContext
  private abstract SuspendableTerminal = jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal of jdk.internal.jshell.tool.ConsoleIOContext