public final class jdk.internal.org.jline.utils.Signals
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.org.jline.utils.Signals
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.Signals this
         0: .line 22
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 23
            return
        end local 0 // jdk.internal.org.jline.utils.Signals this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/utils/Signals;

  public static java.lang.Object register(java.lang.String, java.lang.Runnable);
    descriptor: (Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.String name
        start local 1 // java.lang.Runnable handler
         0: .line 34
            aload 1 /* handler */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 35
            aload 0 /* name */
            aload 1 /* handler */
            aload 1 /* handler */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            invokestatic jdk.internal.org.jline.utils.Signals.register:(Ljava/lang/String;Ljava/lang/Runnable;Ljava/lang/ClassLoader;)Ljava/lang/Object;
            areturn
        end local 1 // java.lang.Runnable handler
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     name  Ljava/lang/String;
            0    2     1  handler  Ljava/lang/Runnable;
    MethodParameters:
         Name  Flags
      name     
      handler  

  public static java.lang.Object register(java.lang.String, java.lang.Runnable, java.lang.ClassLoader);
    descriptor: (Ljava/lang/String;Ljava/lang/Runnable;Ljava/lang/ClassLoader;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // java.lang.String name
        start local 1 // java.lang.Runnable handler
        start local 2 // java.lang.ClassLoader loader
         0: .line 40
            ldc "sun.misc.SignalHandler"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 3 /* signalHandlerClass */
        start local 3 // java.lang.Class signalHandlerClass
         1: .line 42
            aload 2 /* loader */
         2: .line 43
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            aload 3 /* signalHandlerClass */
            aastore
            aload 1 /* handler */
            aload 3 /* signalHandlerClass */
            aload 0 /* name */
            invokedynamic invoke(Ljava/lang/Runnable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/InvocationHandler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/internal/org/jline/utils/Signals.lambda$0(Ljava/lang/Runnable;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; (6)
                  (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
         3: .line 42
            invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
            astore 4 /* signalHandler */
        start local 4 // java.lang.Object signalHandler
         4: .line 55
            aload 0 /* name */
            aload 4 /* signalHandler */
            invokestatic jdk.internal.org.jline.utils.Signals.doRegister:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
         5: areturn
        end local 4 // java.lang.Object signalHandler
        end local 3 // java.lang.Class signalHandlerClass
         6: .line 56
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 3 /* e */
        start local 3 // java.lang.Exception e
         7: iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         8: .line 58
            ldc "Error registering handler for signal "
            aastore
            dup
            iconst_1
            aload 0 /* name */
            aastore
            dup
            iconst_2
            aload 3 /* e */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.debug:([Ljava/lang/Object;)V
         9: .line 59
            aconst_null
            areturn
        end local 3 // java.lang.Exception e
        end local 2 // java.lang.ClassLoader loader
        end local 1 // java.lang.Runnable handler
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   10     0                name  Ljava/lang/String;
            0   10     1             handler  Ljava/lang/Runnable;
            0   10     2              loader  Ljava/lang/ClassLoader;
            1    6     3  signalHandlerClass  Ljava/lang/Class<*>;
            4    6     4       signalHandler  Ljava/lang/Object;
            7   10     3                   e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     5       6  Class java.lang.Exception
    MethodParameters:
         Name  Flags
      name     
      handler  final
      loader   

  public static java.lang.Object registerDefault(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // java.lang.String name
         0: .line 65
            ldc "sun.misc.SignalHandler"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 1 /* signalHandlerClass */
        start local 1 // java.lang.Class signalHandlerClass
         1: .line 66
            aload 0 /* name */
            aload 1 /* signalHandlerClass */
            ldc "SIG_DFL"
            invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            aconst_null
            invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
            invokestatic jdk.internal.org.jline.utils.Signals.doRegister:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
         2: areturn
        end local 1 // java.lang.Class signalHandlerClass
         3: .line 67
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 1 /* e */
        start local 1 // java.lang.Exception e
         4: iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 69
            ldc "Error registering default handler for signal "
            aastore
            dup
            iconst_1
            aload 0 /* name */
            aastore
            dup
            iconst_2
            aload 1 /* e */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.debug:([Ljava/lang/Object;)V
         6: .line 70
            aconst_null
            areturn
        end local 1 // java.lang.Exception e
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    7     0                name  Ljava/lang/String;
            1    3     1  signalHandlerClass  Ljava/lang/Class<*>;
            4    7     1                   e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     2       3  Class java.lang.Exception
    MethodParameters:
      Name  Flags
      name  

  public static void unregister(java.lang.String, java.lang.Object);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // java.lang.String name
        start local 1 // java.lang.Object previous
         0: .line 77
            aload 1 /* previous */
            ifnull 6
         1: .line 78
            aload 0 /* name */
            aload 1 /* previous */
            invokestatic jdk.internal.org.jline.utils.Signals.doRegister:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 80
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Exception
         3: astore 2 /* e */
        start local 2 // java.lang.Exception e
         4: iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 82
            ldc "Error unregistering handler for signal "
            aastore
            dup
            iconst_1
            aload 0 /* name */
            aastore
            dup
            iconst_2
            aload 2 /* e */
            aastore
            invokestatic jdk.internal.org.jline.utils.Log.debug:([Ljava/lang/Object;)V
        end local 2 // java.lang.Exception e
         6: .line 84
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Object previous
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      name  Ljava/lang/String;
            0    7     1  previous  Ljava/lang/Object;
            4    6     2         e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     2       3  Class java.lang.Exception
    MethodParameters:
          Name  Flags
      name      
      previous  

  private static java.lang.Object doRegister(java.lang.String, java.lang.Object);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // java.lang.String name
        start local 1 // java.lang.Object handler
         0: .line 87
            aload 0 /* name */
            aload 1 /* handler */
            invokedynamic get(Ljava/lang/String;Ljava/lang/Object;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/internal/org/jline/utils/Signals.lambda$2(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokestatic jdk.internal.org.jline.utils.Log.trace:(Ljava/util/function/Supplier;)V
         1: .line 88
            ldc "QUIT"
            aload 0 /* name */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 2
            ldc "INFO"
            aload 0 /* name */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
            ldc "9"
            ldc "java.specification.version"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         2: .line 89
      StackMap locals:
      StackMap stack:
            aload 0 /* name */
            invokedynamic get(Ljava/lang/String;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/internal/org/jline/utils/Signals.lambda$3(Ljava/lang/String;)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokestatic jdk.internal.org.jline.utils.Log.trace:(Ljava/util/function/Supplier;)V
         3: .line 90
            aconst_null
            areturn
         4: .line 92
      StackMap locals:
      StackMap stack:
            ldc "sun.misc.Signal"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 2 /* signalClass */
        start local 2 // java.lang.Class signalClass
         5: .line 93
            ldc "sun.misc.SignalHandler"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 3 /* signalHandlerClass */
        start local 3 // java.lang.Class signalHandlerClass
         6: .line 94
            aload 2 /* signalClass */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/String;
            aastore
            invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* name */
            aastore
            invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
            astore 4 /* signal */
        start local 4 // java.lang.Object signal
         7: .line 95
            aload 2 /* signalClass */
            ldc "handle"
            iconst_2
            anewarray java.lang.Class
            dup
            iconst_0
            aload 2 /* signalClass */
            aastore
            dup
            iconst_1
            aload 3 /* signalHandlerClass */
            aastore
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
         8: .line 96
            aconst_null
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 4 /* signal */
            aastore
            dup
            iconst_1
            aload 1 /* handler */
            aastore
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
         9: .line 95
            areturn
        end local 4 // java.lang.Object signal
        end local 3 // java.lang.Class signalHandlerClass
        end local 2 // java.lang.Class signalClass
        end local 1 // java.lang.Object handler
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   10     0                name  Ljava/lang/String;
            0   10     1             handler  Ljava/lang/Object;
            5   10     2         signalClass  Ljava/lang/Class<*>;
            6   10     3  signalHandlerClass  Ljava/lang/Class<*>;
            7   10     4              signal  Ljava/lang/Object;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
         Name  Flags
      name     
      handler  

  private static java.lang.String toString(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.lang.Object handler
         0: .line 102
            ldc "sun.misc.SignalHandler"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 1 /* signalHandlerClass */
        start local 1 // java.lang.Class signalHandlerClass
         1: .line 103
            aload 0 /* handler */
            aload 1 /* signalHandlerClass */
            ldc "SIG_DFL"
            invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            aconst_null
            invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
            if_acmpne 3
         2: .line 104
            ldc "SIG_DFL"
            areturn
         3: .line 106
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 0 /* handler */
            aload 1 /* signalHandlerClass */
            ldc "SIG_IGN"
            invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            aconst_null
            invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
            if_acmpne 6
         4: .line 107
            ldc "SIG_IGN"
            areturn
        end local 1 // java.lang.Class signalHandlerClass
         5: .line 109
      StackMap locals: java.lang.Object
      StackMap stack: java.lang.Throwable
            pop
         6: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* handler */
            ifnull 7
            aload 0 /* handler */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            goto 8
      StackMap locals:
      StackMap stack:
         7: ldc "null"
      StackMap locals:
      StackMap stack: java.lang.String
         8: areturn
        end local 0 // java.lang.Object handler
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    9     0             handler  Ljava/lang/Object;
            1    5     1  signalHandlerClass  Ljava/lang/Class<*>;
      Exception table:
        from    to  target  type
           0     2       5  Class java.lang.Throwable
           3     4       5  Class java.lang.Throwable
    MethodParameters:
         Name  Flags
      handler  

  private static java.lang.Object lambda$0(java.lang.Runnable, java.lang.Class, java.lang.String, java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
    descriptor: (Ljava/lang/Runnable;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=6, args_size=6
        start local 3 // java.lang.Object proxy
        start local 4 // java.lang.reflect.Method method
        start local 5 // java.lang.Object[] args
         0: .line 45
            aload 4 /* method */
            invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
            ldc Ljava/lang/Object;
            if_acmpne 3
         1: .line 46
            ldc "toString"
            aload 4 /* method */
            invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         2: .line 47
            aload 0
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            areturn
         3: .line 49
      StackMap locals:
      StackMap stack:
            aload 4 /* method */
            invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
            aload 1
            if_acmpne 6
         4: .line 50
            aload 0
            aload 2
            invokedynamic get(Ljava/lang/Runnable;Ljava/lang/String;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/internal/org/jline/utils/Signals.lambda$1(Ljava/lang/Runnable;Ljava/lang/String;)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokestatic jdk.internal.org.jline.utils.Log.trace:(Ljava/util/function/Supplier;)V
         5: .line 51
            aload 0
            invokeinterface java.lang.Runnable.run:()V
         6: .line 53
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 5 // java.lang.Object[] args
        end local 4 // java.lang.reflect.Method method
        end local 3 // java.lang.Object proxy
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     3   proxy  Ljava/lang/Object;
            0    7     4  method  Ljava/lang/reflect/Method;
            0    7     5    args  [Ljava/lang/Object;
    Exceptions:
      throws java.lang.Throwable

  private static java.lang.String lambda$2(java.lang.String, java.lang.Object);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
         0: .line 87
            new java.lang.StringBuilder
            dup
            ldc "Registering signal "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " with handler "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1
            invokestatic jdk.internal.org.jline.utils.Signals.toString:(Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$3(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 89
            new java.lang.StringBuilder
            dup
            ldc "Ignoring unsupported signal "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$1(java.lang.Runnable, java.lang.String);
    descriptor: (Ljava/lang/Runnable;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
         0: .line 50
            new java.lang.StringBuilder
            dup
            ldc "Calling handler "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0
            invokestatic jdk.internal.org.jline.utils.Signals.toString:(Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " for signal "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "Signals.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles