public class javafx.scene.image.PixelBuffer<T extends java.nio.Buffer>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: javafx.scene.image.PixelBuffer
  super_class: java.lang.Object
{
  private final T buffer;
    descriptor: Ljava/nio/Buffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: TT;

  private final int width;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int height;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final javafx.scene.image.PixelFormat<T> pixelFormat;
    descriptor: Ljavafx/scene/image/PixelFormat;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljavafx/scene/image/PixelFormat<TT;>;

  private final java.util.List<java.lang.ref.WeakReference<javafx.scene.image.WritableImage>> imageRefs;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/lang/ref/WeakReference<Ljavafx/scene/image/WritableImage;>;>;

  private static volatile int[] $SWITCH_TABLE$javafx$scene$image$PixelFormat$Type;
    descriptor: [I
    flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC

  public void <init>(int, int, T, javafx.scene.image.PixelFormat<T>);
    descriptor: (IILjava/nio/Buffer;Ljavafx/scene/image/PixelFormat;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=5
        start local 0 // javafx.scene.image.PixelBuffer this
        start local 1 // int width
        start local 2 // int height
        start local 3 // java.nio.Buffer buffer
        start local 4 // javafx.scene.image.PixelFormat pixelFormat
         0: .line 99
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 100
            aload 3 /* buffer */
            ldc "buffer must not be null."
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         2: .line 101
            aload 4 /* pixelFormat */
            ldc "pixelFormat must not be null."
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         3: .line 102
            iload 1 /* width */
            ifle 4
            iload 2 /* height */
            ifgt 5
         4: .line 103
      StackMap locals: javafx.scene.image.PixelBuffer int int java.nio.Buffer javafx.scene.image.PixelFormat
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "PixelBuffer dimensions must be positive (w,h > 0)"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 105
      StackMap locals:
      StackMap stack:
            invokestatic javafx.scene.image.PixelBuffer.$SWITCH_TABLE$javafx$scene$image$PixelFormat$Type:()[I
            aload 4 /* pixelFormat */
            invokevirtual javafx.scene.image.PixelFormat.getType:()Ljavafx/scene/image/PixelFormat$Type;
            invokevirtual javafx.scene.image.PixelFormat$Type.ordinal:()I
            iaload
            tableswitch { // 1 - 3
                    1: 10
                    2: 14
                    3: 6
              default: 14
          }
         6: .line 107
      StackMap locals:
      StackMap stack:
            aload 3 /* buffer */
            invokevirtual java.nio.Buffer.capacity:()I
            iload 1 /* width */
            idiv
            iconst_4
            idiv
            iload 2 /* height */
            if_icmpge 8
         7: .line 108
            new java.lang.IllegalArgumentException
            dup
            ldc "Insufficient memory allocated for ByteBuffer."
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 110
      StackMap locals:
      StackMap stack:
            aload 3 /* buffer */
            instanceof java.nio.ByteBuffer
            ifne 15
         9: .line 111
            new java.lang.IllegalArgumentException
            dup
            ldc "PixelFormat<ByteBuffer> requires a ByteBuffer."
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 115
      StackMap locals:
      StackMap stack:
            aload 3 /* buffer */
            invokevirtual java.nio.Buffer.capacity:()I
            iload 1 /* width */
            idiv
            iload 2 /* height */
            if_icmpge 12
        11: .line 116
            new java.lang.IllegalArgumentException
            dup
            ldc "Insufficient memory allocated for IntBuffer."
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        12: .line 118
      StackMap locals:
      StackMap stack:
            aload 3 /* buffer */
            instanceof java.nio.IntBuffer
            ifne 15
        13: .line 119
            new java.lang.IllegalArgumentException
            dup
            ldc "PixelFormat<IntBuffer> requires an IntBuffer."
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 123
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unsupported PixelFormat: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* pixelFormat */
            invokevirtual javafx.scene.image.PixelFormat.getType:()Ljavafx/scene/image/PixelFormat$Type;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 125
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* buffer */
            putfield javafx.scene.image.PixelBuffer.buffer:Ljava/nio/Buffer;
        16: .line 126
            aload 0 /* this */
            iload 1 /* width */
            putfield javafx.scene.image.PixelBuffer.width:I
        17: .line 127
            aload 0 /* this */
            iload 2 /* height */
            putfield javafx.scene.image.PixelBuffer.height:I
        18: .line 128
            aload 0 /* this */
            aload 4 /* pixelFormat */
            putfield javafx.scene.image.PixelBuffer.pixelFormat:Ljavafx/scene/image/PixelFormat;
        19: .line 129
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield javafx.scene.image.PixelBuffer.imageRefs:Ljava/util/List;
        20: .line 130
            return
        end local 4 // javafx.scene.image.PixelFormat pixelFormat
        end local 3 // java.nio.Buffer buffer
        end local 2 // int height
        end local 1 // int width
        end local 0 // javafx.scene.image.PixelBuffer this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   21     0         this  Ljavafx/scene/image/PixelBuffer<TT;>;
            0   21     1        width  I
            0   21     2       height  I
            0   21     3       buffer  TT;
            0   21     4  pixelFormat  Ljavafx/scene/image/PixelFormat<TT;>;
    Signature: (IITT;Ljavafx/scene/image/PixelFormat<TT;>;)V
    MethodParameters:
             Name  Flags
      width        
      height       
      buffer       
      pixelFormat  

  public T getBuffer();
    descriptor: ()Ljava/nio/Buffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javafx.scene.image.PixelBuffer this
         0: .line 138
            aload 0 /* this */
            getfield javafx.scene.image.PixelBuffer.buffer:Ljava/nio/Buffer;
            areturn
        end local 0 // javafx.scene.image.PixelBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavafx/scene/image/PixelBuffer<TT;>;
    Signature: ()TT;

  public int getWidth();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javafx.scene.image.PixelBuffer this
         0: .line 147
            aload 0 /* this */
            getfield javafx.scene.image.PixelBuffer.width:I
            ireturn
        end local 0 // javafx.scene.image.PixelBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavafx/scene/image/PixelBuffer<TT;>;

  public int getHeight();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javafx.scene.image.PixelBuffer this
         0: .line 156
            aload 0 /* this */
            getfield javafx.scene.image.PixelBuffer.height:I
            ireturn
        end local 0 // javafx.scene.image.PixelBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavafx/scene/image/PixelBuffer<TT;>;

  public javafx.scene.image.PixelFormat<T> getPixelFormat();
    descriptor: ()Ljavafx/scene/image/PixelFormat;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javafx.scene.image.PixelBuffer this
         0: .line 165
            aload 0 /* this */
            getfield javafx.scene.image.PixelBuffer.pixelFormat:Ljavafx/scene/image/PixelFormat;
            areturn
        end local 0 // javafx.scene.image.PixelBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavafx/scene/image/PixelBuffer<TT;>;
    Signature: ()Ljavafx/scene/image/PixelFormat<TT;>;

  public void updateBuffer(javafx.util.Callback<javafx.scene.image.PixelBuffer<T>, javafx.geometry.Rectangle2D>);
    descriptor: (Ljavafx/util/Callback;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=7, args_size=2
        start local 0 // javafx.scene.image.PixelBuffer this
        start local 1 // javafx.util.Callback callback
         0: .line 189
            invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
            invokevirtual com.sun.javafx.tk.Toolkit.checkFxUserThread:()V
         1: .line 190
            aload 1 /* callback */
            ldc "callback must not be null."
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         2: .line 191
            aload 1 /* callback */
            aload 0 /* this */
            invokeinterface javafx.util.Callback.call:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast javafx.geometry.Rectangle2D
            astore 2 /* rect2D */
        start local 2 // javafx.geometry.Rectangle2D rect2D
         3: .line 192
            aload 2 /* rect2D */
            ifnull 11
         4: .line 193
            aload 2 /* rect2D */
            invokevirtual javafx.geometry.Rectangle2D.getWidth:()D
            dconst_0
            dcmpl
            ifle 12
            aload 2 /* rect2D */
            invokevirtual javafx.geometry.Rectangle2D.getHeight:()D
            dconst_0
            dcmpl
            ifle 12
         5: .line 194
            aload 2 /* rect2D */
            invokevirtual javafx.geometry.Rectangle2D.getMinX:()D
            invokestatic java.lang.Math.floor:(D)D
            d2i
            istore 3 /* x1 */
        start local 3 // int x1
         6: .line 195
            aload 2 /* rect2D */
            invokevirtual javafx.geometry.Rectangle2D.getMinY:()D
            invokestatic java.lang.Math.floor:(D)D
            d2i
            istore 4 /* y1 */
        start local 4 // int y1
         7: .line 196
            aload 2 /* rect2D */
            invokevirtual javafx.geometry.Rectangle2D.getMaxX:()D
            invokestatic java.lang.Math.ceil:(D)D
            d2i
            istore 5 /* x2 */
        start local 5 // int x2
         8: .line 197
            aload 2 /* rect2D */
            invokevirtual javafx.geometry.Rectangle2D.getMaxY:()D
            invokestatic java.lang.Math.ceil:(D)D
            d2i
            istore 6 /* y2 */
        start local 6 // int y2
         9: .line 198
            aload 0 /* this */
            new com.sun.javafx.geom.Rectangle
            dup
            iload 3 /* x1 */
            iload 4 /* y1 */
            iload 5 /* x2 */
            iload 3 /* x1 */
            isub
            iload 6 /* y2 */
            iload 4 /* y1 */
            isub
            invokespecial com.sun.javafx.geom.Rectangle.<init>:(IIII)V
            invokevirtual javafx.scene.image.PixelBuffer.bufferDirty:(Lcom/sun/javafx/geom/Rectangle;)V
        end local 6 // int y2
        end local 5 // int x2
        end local 4 // int y1
        end local 3 // int x1
        10: .line 200
            goto 12
        11: .line 201
      StackMap locals: javafx.geometry.Rectangle2D
      StackMap stack:
            aload 0 /* this */
            aconst_null
            invokevirtual javafx.scene.image.PixelBuffer.bufferDirty:(Lcom/sun/javafx/geom/Rectangle;)V
        12: .line 203
      StackMap locals:
      StackMap stack:
            return
        end local 2 // javafx.geometry.Rectangle2D rect2D
        end local 1 // javafx.util.Callback callback
        end local 0 // javafx.scene.image.PixelBuffer this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   13     0      this  Ljavafx/scene/image/PixelBuffer<TT;>;
            0   13     1  callback  Ljavafx/util/Callback<Ljavafx/scene/image/PixelBuffer<TT;>;Ljavafx/geometry/Rectangle2D;>;
            3   13     2    rect2D  Ljavafx/geometry/Rectangle2D;
            6   10     3        x1  I
            7   10     4        y1  I
            8   10     5        x2  I
            9   10     6        y2  I
    Signature: (Ljavafx/util/Callback<Ljavafx/scene/image/PixelBuffer<TT;>;Ljavafx/geometry/Rectangle2D;>;)V
    MethodParameters:
          Name  Flags
      callback  

  private void bufferDirty(com.sun.javafx.geom.Rectangle);
    descriptor: (Lcom/sun/javafx/geom/Rectangle;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // javafx.scene.image.PixelBuffer this
        start local 1 // com.sun.javafx.geom.Rectangle rect
         0: .line 206
            aload 0 /* this */
            getfield javafx.scene.image.PixelBuffer.imageRefs:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2 /* iter */
        start local 2 // java.util.Iterator iter
         1: .line 207
            goto 7
         2: .line 208
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 2 /* iter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.ref.WeakReference
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            checkcast javafx.scene.image.WritableImage
            astore 3 /* image */
        start local 3 // javafx.scene.image.WritableImage image
         3: .line 209
            aload 3 /* image */
            ifnull 6
         4: .line 210
            aload 3 /* image */
            aload 1 /* rect */
            invokevirtual javafx.scene.image.WritableImage.bufferDirty:(Lcom/sun/javafx/geom/Rectangle;)V
         5: .line 211
            goto 7
         6: .line 212
      StackMap locals: javafx.scene.image.WritableImage
      StackMap stack:
            aload 2 /* iter */
            invokeinterface java.util.Iterator.remove:()V
        end local 3 // javafx.scene.image.WritableImage image
         7: .line 207
      StackMap locals:
      StackMap stack:
            aload 2 /* iter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         8: .line 215
            return
        end local 2 // java.util.Iterator iter
        end local 1 // com.sun.javafx.geom.Rectangle rect
        end local 0 // javafx.scene.image.PixelBuffer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Ljavafx/scene/image/PixelBuffer<TT;>;
            0    9     1   rect  Lcom/sun/javafx/geom/Rectangle;
            1    9     2   iter  Ljava/util/Iterator<Ljava/lang/ref/WeakReference<Ljavafx/scene/image/WritableImage;>;>;
            3    7     3  image  Ljavafx/scene/image/WritableImage;
    MethodParameters:
      Name  Flags
      rect  

  void addImage(javafx.scene.image.WritableImage);
    descriptor: (Ljavafx/scene/image/WritableImage;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // javafx.scene.image.PixelBuffer this
        start local 1 // javafx.scene.image.WritableImage image
         0: .line 218
            aload 0 /* this */
            getfield javafx.scene.image.PixelBuffer.imageRefs:Ljava/util/List;
            new java.lang.ref.WeakReference
            dup
            aload 1 /* image */
            invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         1: .line 219
            aload 0 /* this */
            getfield javafx.scene.image.PixelBuffer.imageRefs:Ljava/util/List;
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  javafx/scene/image/PixelBuffer.lambda$0(Ljava/lang/ref/WeakReference;)Z (6)
                  (Ljava/lang/ref/WeakReference;)Z
            invokeinterface java.util.List.removeIf:(Ljava/util/function/Predicate;)Z
            pop
         2: .line 220
            return
        end local 1 // javafx.scene.image.WritableImage image
        end local 0 // javafx.scene.image.PixelBuffer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Ljavafx/scene/image/PixelBuffer<TT;>;
            0    3     1  image  Ljavafx/scene/image/WritableImage;
    MethodParameters:
       Name  Flags
      image  

  static int[] $SWITCH_TABLE$javafx$scene$image$PixelFormat$Type();
    descriptor: ()[I
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 70
            getstatic javafx.scene.image.PixelBuffer.$SWITCH_TABLE$javafx$scene$image$PixelFormat$Type:[I
            dup
            ifnull 1
            areturn
      StackMap locals:
      StackMap stack: int[]
         1: pop
            invokestatic javafx.scene.image.PixelFormat$Type.values:()[Ljavafx/scene/image/PixelFormat$Type;
            arraylength
            newarray 10
            astore 0
         2: aload 0
            getstatic javafx.scene.image.PixelFormat$Type.BYTE_BGRA:Ljavafx/scene/image/PixelFormat$Type;
            invokevirtual javafx.scene.image.PixelFormat$Type.ordinal:()I
            iconst_4
            iastore
         3: goto 5
      StackMap locals: int[]
      StackMap stack: java.lang.NoSuchFieldError
         4: pop
      StackMap locals:
      StackMap stack:
         5: aload 0
            getstatic javafx.scene.image.PixelFormat$Type.BYTE_BGRA_PRE:Ljavafx/scene/image/PixelFormat$Type;
            invokevirtual javafx.scene.image.PixelFormat$Type.ordinal:()I
            iconst_3
            iastore
         6: goto 8
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
         7: pop
      StackMap locals:
      StackMap stack:
         8: aload 0
            getstatic javafx.scene.image.PixelFormat$Type.BYTE_INDEXED:Ljavafx/scene/image/PixelFormat$Type;
            invokevirtual javafx.scene.image.PixelFormat$Type.ordinal:()I
            bipush 6
            iastore
         9: goto 11
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        10: pop
      StackMap locals:
      StackMap stack:
        11: aload 0
            getstatic javafx.scene.image.PixelFormat$Type.BYTE_RGB:Ljavafx/scene/image/PixelFormat$Type;
            invokevirtual javafx.scene.image.PixelFormat$Type.ordinal:()I
            iconst_5
            iastore
        12: goto 14
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        13: pop
      StackMap locals:
      StackMap stack:
        14: aload 0
            getstatic javafx.scene.image.PixelFormat$Type.INT_ARGB:Ljavafx/scene/image/PixelFormat$Type;
            invokevirtual javafx.scene.image.PixelFormat$Type.ordinal:()I
            iconst_2
            iastore
        15: goto 17
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        16: pop
      StackMap locals:
      StackMap stack:
        17: aload 0
            getstatic javafx.scene.image.PixelFormat$Type.INT_ARGB_PRE:Ljavafx/scene/image/PixelFormat$Type;
            invokevirtual javafx.scene.image.PixelFormat$Type.ordinal:()I
            iconst_1
            iastore
        18: goto 20
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        19: pop
      StackMap locals:
      StackMap stack:
        20: aload 0
            dup
            putstatic javafx.scene.image.PixelBuffer.$SWITCH_TABLE$javafx$scene$image$PixelFormat$Type:[I
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.NoSuchFieldError
           5     6       7  Class java.lang.NoSuchFieldError
           8     9      10  Class java.lang.NoSuchFieldError
          11    12      13  Class java.lang.NoSuchFieldError
          14    15      16  Class java.lang.NoSuchFieldError
          17    18      19  Class java.lang.NoSuchFieldError

  private static boolean lambda$0(java.lang.ref.WeakReference);
    descriptor: (Ljava/lang/ref/WeakReference;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.ref.WeakReference imageRef
         0: .line 219
            aload 0 /* imageRef */
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            ifnonnull 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // java.lang.ref.WeakReference imageRef
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0  imageRef  Ljava/lang/ref/WeakReference<Ljavafx/scene/image/WritableImage;>;
}
Signature: <T:Ljava/nio/Buffer;>Ljava/lang/Object;
SourceFile: "PixelBuffer.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final Type = javafx.scene.image.PixelFormat$Type of javafx.scene.image.PixelFormat