public final class com.sun.glass.ui.EventLoop
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.sun.glass.ui.EventLoop
  super_class: java.lang.Object
{
  private static final java.util.Deque<com.sun.glass.ui.EventLoop> stack;
    descriptor: Ljava/util/Deque;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Deque<Lcom/sun/glass/ui/EventLoop;>;

  private com.sun.glass.ui.EventLoop$State state;
    descriptor: Lcom/sun/glass/ui/EventLoop$State;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.Object returnValue;
    descriptor: Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 33
            ldc Lcom/sun/glass/ui/EventLoop;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.sun.glass.ui.EventLoop.$assertionsDisabled:Z
         3: .line 35
            new java.util.ArrayDeque
            dup
            invokespecial java.util.ArrayDeque.<init>:()V
            putstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.glass.ui.EventLoop this
         0: .line 60
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 57
            aload 0 /* this */
            getstatic com.sun.glass.ui.EventLoop$State.IDLE:Lcom/sun/glass/ui/EventLoop$State;
            putfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
         2: .line 61
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         3: .line 62
            return
        end local 0 // com.sun.glass.ui.EventLoop this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/glass/ui/EventLoop;

  public com.sun.glass.ui.EventLoop$State getState();
    descriptor: ()Lcom/sun/glass/ui/EventLoop$State;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.glass.ui.EventLoop this
         0: .line 70
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 71
            aload 0 /* this */
            getfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
            areturn
        end local 0 // com.sun.glass.ui.EventLoop this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/glass/ui/EventLoop;

  public java.lang.Object enter();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // com.sun.glass.ui.EventLoop this
         0: .line 99
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 100
            aload 0 /* this */
            getfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
            getstatic com.sun.glass.ui.EventLoop$State.IDLE:Lcom/sun/glass/ui/EventLoop$State;
            invokevirtual com.sun.glass.ui.EventLoop$State.equals:(Ljava/lang/Object;)Z
            ifne 3
         2: .line 101
            new java.lang.IllegalStateException
            dup
            ldc "The event loop object isn't idle"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getstatic com.sun.glass.ui.EventLoop$State.ACTIVE:Lcom/sun/glass/ui/EventLoop$State;
            putfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
         4: .line 105
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            aload 0 /* this */
            invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
         5: .line 107
            invokestatic com.sun.glass.ui.Application.enterNestedEventLoop:()Ljava/lang/Object;
            astore 1 /* ret */
        start local 1 // java.lang.Object ret
         6: .line 108
            getstatic com.sun.glass.ui.EventLoop.$assertionsDisabled:Z
            ifne 7
            aload 1 /* ret */
            aload 0 /* this */
            if_acmpeq 7
            new java.lang.AssertionError
            dup
            ldc "Internal inconsistency - wrong EventLoop"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         7: .line 109
      StackMap locals: java.lang.Object
      StackMap stack:
            getstatic com.sun.glass.ui.EventLoop.$assertionsDisabled:Z
            ifne 8
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
            aload 0 /* this */
            if_acmpeq 8
            new java.lang.AssertionError
            dup
            ldc "Internal inconsistency - corrupted event loops stack"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         8: .line 110
      StackMap locals:
      StackMap stack:
            getstatic com.sun.glass.ui.EventLoop.$assertionsDisabled:Z
            ifne 9
            aload 0 /* this */
            getfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
            getstatic com.sun.glass.ui.EventLoop$State.LEAVING:Lcom/sun/glass/ui/EventLoop$State;
            invokevirtual com.sun.glass.ui.EventLoop$State.equals:(Ljava/lang/Object;)Z
            ifne 9
            new java.lang.AssertionError
            dup
            ldc "The event loop isn't leaving"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         9: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.glass.ui.EventLoop.returnValue:Ljava/lang/Object;
            astore 3
        10: .line 114
            aload 0 /* this */
            aconst_null
            putfield com.sun.glass.ui.EventLoop.returnValue:Ljava/lang/Object;
        11: .line 115
            aload 0 /* this */
            getstatic com.sun.glass.ui.EventLoop$State.IDLE:Lcom/sun/glass/ui/EventLoop$State;
            putfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
        12: .line 116
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            pop
        13: .line 118
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            ifne 15
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
            checkcast com.sun.glass.ui.EventLoop
            getfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
            getstatic com.sun.glass.ui.EventLoop$State.LEAVING:Lcom/sun/glass/ui/EventLoop$State;
            invokevirtual com.sun.glass.ui.EventLoop$State.equals:(Ljava/lang/Object;)Z
            ifeq 15
        14: .line 119
            invokedynamic run()Ljava/lang/Runnable;
              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:
                  ()V
                  com/sun/glass/ui/EventLoop.lambda$0()V (6)
                  ()V
            invokestatic com.sun.glass.ui.Application.invokeLater:(Ljava/lang/Runnable;)V
        15: .line 112
      StackMap locals: com.sun.glass.ui.EventLoop java.lang.Object top java.lang.Object
      StackMap stack:
            aload 3
            areturn
        end local 1 // java.lang.Object ret
        16: .line 113
      StackMap locals: com.sun.glass.ui.EventLoop
      StackMap stack: java.lang.Throwable
            astore 2
        17: .line 114
            aload 0 /* this */
            aconst_null
            putfield com.sun.glass.ui.EventLoop.returnValue:Ljava/lang/Object;
        18: .line 115
            aload 0 /* this */
            getstatic com.sun.glass.ui.EventLoop$State.IDLE:Lcom/sun/glass/ui/EventLoop$State;
            putfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
        19: .line 116
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            pop
        20: .line 118
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            ifne 22
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
            checkcast com.sun.glass.ui.EventLoop
            getfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
            getstatic com.sun.glass.ui.EventLoop$State.LEAVING:Lcom/sun/glass/ui/EventLoop$State;
            invokevirtual com.sun.glass.ui.EventLoop$State.equals:(Ljava/lang/Object;)Z
            ifeq 22
        21: .line 119
            invokedynamic run()Ljava/lang/Runnable;
              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:
                  ()V
                  com/sun/glass/ui/EventLoop.lambda$0()V (6)
                  ()V
            invokestatic com.sun.glass.ui.Application.invokeLater:(Ljava/lang/Runnable;)V
        22: .line 127
      StackMap locals: com.sun.glass.ui.EventLoop top java.lang.Throwable
      StackMap stack:
            aload 2
            athrow
        end local 0 // com.sun.glass.ui.EventLoop this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   23     0  this  Lcom/sun/glass/ui/EventLoop;
            6   16     1   ret  Ljava/lang/Object;
      Exception table:
        from    to  target  type
           5    10      16  any

  public void leave(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.sun.glass.ui.EventLoop this
        start local 1 // java.lang.Object ret
         0: .line 157
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 158
            aload 0 /* this */
            getfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
            getstatic com.sun.glass.ui.EventLoop$State.ACTIVE:Lcom/sun/glass/ui/EventLoop$State;
            invokevirtual com.sun.glass.ui.EventLoop$State.equals:(Ljava/lang/Object;)Z
            ifne 3
         2: .line 159
            new java.lang.IllegalStateException
            dup
            ldc "The event loop object isn't active"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 162
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getstatic com.sun.glass.ui.EventLoop$State.LEAVING:Lcom/sun/glass/ui/EventLoop$State;
            putfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
         4: .line 163
            aload 0 /* this */
            aload 1 /* ret */
            putfield com.sun.glass.ui.EventLoop.returnValue:Ljava/lang/Object;
         5: .line 165
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
            aload 0 /* this */
            if_acmpne 7
         6: .line 166
            aload 0 /* this */
            invokestatic com.sun.glass.ui.Application.leaveNestedEventLoop:(Ljava/lang/Object;)V
         7: .line 168
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Object ret
        end local 0 // com.sun.glass.ui.EventLoop this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/sun/glass/ui/EventLoop;
            0    8     1   ret  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      ret   

  private static void lambda$0();
    descriptor: ()V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 120
            getstatic com.sun.glass.ui.EventLoop.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
            checkcast com.sun.glass.ui.EventLoop
            astore 0 /* loop */
        start local 0 // com.sun.glass.ui.EventLoop loop
         1: .line 122
            aload 0 /* loop */
            ifnull 3
            aload 0 /* loop */
            getfield com.sun.glass.ui.EventLoop.state:Lcom/sun/glass/ui/EventLoop$State;
            getstatic com.sun.glass.ui.EventLoop$State.LEAVING:Lcom/sun/glass/ui/EventLoop$State;
            invokevirtual com.sun.glass.ui.EventLoop$State.equals:(Ljava/lang/Object;)Z
            ifeq 3
         2: .line 123
            aload 0 /* loop */
            invokestatic com.sun.glass.ui.Application.leaveNestedEventLoop:(Ljava/lang/Object;)V
        end local 0 // com.sun.glass.ui.EventLoop loop
         3: .line 125
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    3     0  loop  Lcom/sun/glass/ui/EventLoop;
}
SourceFile: "EventLoop.java"
NestMembers:
  com.sun.glass.ui.EventLoop$State
InnerClasses:
  public final State = com.sun.glass.ui.EventLoop$State of com.sun.glass.ui.EventLoop
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles