public class javax.swing.text.LayoutQueue
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: javax.swing.text.LayoutQueue
  super_class: java.lang.Object
{
  private static final java.lang.Object DEFAULT_QUEUE;
    descriptor: Ljava/lang/Object;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private java.util.Vector<java.lang.Runnable> tasks;
    descriptor: Ljava/util/Vector;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Vector<Ljava/lang/Runnable;>;

  private java.lang.Thread worker;
    descriptor: Ljava/lang/Thread;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 39
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putstatic javax.swing.text.LayoutQueue.DEFAULT_QUEUE:Ljava/lang/Object;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // javax.swing.text.LayoutQueue this
         0: .line 47
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 48
            aload 0 /* this */
            new java.util.Vector
            dup
            invokespecial java.util.Vector.<init>:()V
            putfield javax.swing.text.LayoutQueue.tasks:Ljava/util/Vector;
         2: .line 49
            return
        end local 0 // javax.swing.text.LayoutQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljavax/swing/text/LayoutQueue;

  public static javax.swing.text.LayoutQueue getDefaultQueue();
    descriptor: ()Ljavax/swing/text/LayoutQueue;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=0
         0: .line 56
            invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
            astore 0 /* ac */
        start local 0 // sun.awt.AppContext ac
         1: .line 57
            getstatic javax.swing.text.LayoutQueue.DEFAULT_QUEUE:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         2: .line 58
            aload 0 /* ac */
            getstatic javax.swing.text.LayoutQueue.DEFAULT_QUEUE:Ljava/lang/Object;
            invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast javax.swing.text.LayoutQueue
            astore 2 /* defaultQueue */
        start local 2 // javax.swing.text.LayoutQueue defaultQueue
         3: .line 59
            aload 2 /* defaultQueue */
            ifnonnull 6
         4: .line 60
            new javax.swing.text.LayoutQueue
            dup
            invokespecial javax.swing.text.LayoutQueue.<init>:()V
            astore 2 /* defaultQueue */
         5: .line 61
            aload 0 /* ac */
            getstatic javax.swing.text.LayoutQueue.DEFAULT_QUEUE:Ljava/lang/Object;
            aload 2 /* defaultQueue */
            invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 63
      StackMap locals: sun.awt.AppContext java.lang.Object javax.swing.text.LayoutQueue
      StackMap stack:
            aload 2 /* defaultQueue */
            aload 1
            monitorexit
         7: areturn
        end local 2 // javax.swing.text.LayoutQueue defaultQueue
         8: .line 57
      StackMap locals: sun.awt.AppContext java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         9: athrow
        end local 0 // sun.awt.AppContext ac
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            1   10     0            ac  Lsun/awt/AppContext;
            3    8     2  defaultQueue  Ljavax/swing/text/LayoutQueue;
      Exception table:
        from    to  target  type
           2     7       8  any
           8     9       8  any

  public static void setDefaultQueue(javax.swing.text.LayoutQueue);
    descriptor: (Ljavax/swing/text/LayoutQueue;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // javax.swing.text.LayoutQueue q
         0: .line 73
            getstatic javax.swing.text.LayoutQueue.DEFAULT_QUEUE:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 74
            invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
            getstatic javax.swing.text.LayoutQueue.DEFAULT_QUEUE:Ljava/lang/Object;
            aload 0 /* q */
            invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 73
            aload 1
            monitorexit
         3: goto 6
      StackMap locals: javax.swing.text.LayoutQueue java.lang.Object
      StackMap stack: java.lang.Throwable
         4: aload 1
            monitorexit
         5: athrow
         6: .line 76
      StackMap locals:
      StackMap stack:
            return
        end local 0 // javax.swing.text.LayoutQueue q
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0     q  Ljavax/swing/text/LayoutQueue;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
    MethodParameters:
      Name  Flags
      q     

  public synchronized void addTask(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=9, locals=3, args_size=2
        start local 0 // javax.swing.text.LayoutQueue this
        start local 1 // java.lang.Runnable task
         0: .line 84
            aload 0 /* this */
            getfield javax.swing.text.LayoutQueue.worker:Ljava/lang/Thread;
            ifnonnull 5
         1: .line 85
            aload 0 /* this */
            invokedynamic run(Ljavax/swing/text/LayoutQueue;)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
                  javax/swing/text/LayoutQueue.lambda$0()V (7)
                  ()V
            astore 2 /* workerRunnable */
        start local 2 // java.lang.Runnable workerRunnable
         2: .line 94
            aload 0 /* this */
            new java.lang.Thread
            dup
            aconst_null
            aload 2 /* workerRunnable */
            ldc "text-layout"
            lconst_0
            iconst_0
            invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
            putfield javax.swing.text.LayoutQueue.worker:Ljava/lang/Thread;
         3: .line 95
            aload 0 /* this */
            getfield javax.swing.text.LayoutQueue.worker:Ljava/lang/Thread;
            iconst_1
            invokevirtual java.lang.Thread.setPriority:(I)V
         4: .line 96
            aload 0 /* this */
            getfield javax.swing.text.LayoutQueue.worker:Ljava/lang/Thread;
            invokevirtual java.lang.Thread.start:()V
        end local 2 // java.lang.Runnable workerRunnable
         5: .line 98
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.swing.text.LayoutQueue.tasks:Ljava/util/Vector;
            aload 1 /* task */
            invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
         6: .line 99
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
         7: .line 100
            return
        end local 1 // java.lang.Runnable task
        end local 0 // javax.swing.text.LayoutQueue this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    8     0            this  Ljavax/swing/text/LayoutQueue;
            0    8     1            task  Ljava/lang/Runnable;
            2    5     2  workerRunnable  Ljava/lang/Runnable;
    MethodParameters:
      Name  Flags
      task  

  protected synchronized java.lang.Runnable waitForWork();
    descriptor: ()Ljava/lang/Runnable;
    flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // javax.swing.text.LayoutQueue this
         0: .line 107
            goto 5
         1: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.lang.Object.wait:()V
         2: .line 110
            goto 5
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         3: pop
         4: .line 111
            aconst_null
            areturn
         5: .line 107
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.swing.text.LayoutQueue.tasks:Ljava/util/Vector;
            invokevirtual java.util.Vector.size:()I
            ifeq 1
         6: .line 114
            aload 0 /* this */
            getfield javax.swing.text.LayoutQueue.tasks:Ljava/util/Vector;
            invokevirtual java.util.Vector.firstElement:()Ljava/lang/Object;
            checkcast java.lang.Runnable
            astore 1 /* work */
        start local 1 // java.lang.Runnable work
         7: .line 115
            aload 0 /* this */
            getfield javax.swing.text.LayoutQueue.tasks:Ljava/util/Vector;
            iconst_0
            invokevirtual java.util.Vector.removeElementAt:(I)V
         8: .line 116
            aload 1 /* work */
            areturn
        end local 1 // java.lang.Runnable work
        end local 0 // javax.swing.text.LayoutQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljavax/swing/text/LayoutQueue;
            7    9     1  work  Ljava/lang/Runnable;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.InterruptedException

  private void lambda$0();
    descriptor: ()V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // javax.swing.text.LayoutQueue this
         0: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual javax.swing.text.LayoutQueue.waitForWork:()Ljava/lang/Runnable;
            astore 1 /* work */
        start local 1 // java.lang.Runnable work
         1: .line 89
            aload 1 /* work */
            ifnull 3
         2: .line 90
            aload 1 /* work */
            invokeinterface java.lang.Runnable.run:()V
         3: .line 92
      StackMap locals: java.lang.Runnable
      StackMap stack:
            aload 1 /* work */
            ifnonnull 0
        end local 1 // java.lang.Runnable work
         4: .line 93
            return
        end local 0 // javax.swing.text.LayoutQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljavax/swing/text/LayoutQueue;
            1    4     1  work  Ljava/lang/Runnable;
}
SourceFile: "LayoutQueue.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles