class com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage implements com.sun.javafx.tk.ImageLoader, com.sun.prism.ResourceFactoryListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage
super_class: java.lang.Object
{
private com.sun.prism.RTTexture rt;
descriptor: Lcom/sun/prism/RTTexture;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.Image image;
descriptor: Lcom/sun/prism/Image;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.ResourceFactory rf;
descriptor: Lcom/sun/prism/ResourceFactory;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$javafx$scene$image$PixelFormat$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(com.sun.prism.Image);
descriptor: (Lcom/sun/prism/Image;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.image:Lcom/sun/prism/Image;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
0 3 1 image Lcom/sun/prism/Image;
MethodParameters:
Name Flags
image
void <init>(javafx.scene.image.PixelBuffer<java.nio.Buffer>);
descriptor: (Ljavafx/scene/image/PixelBuffer;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.$SWITCH_TABLE$javafx$scene$image$PixelFormat$Type:()[I
aload 1
invokevirtual javafx.scene.image.PixelBuffer.getPixelFormat:()Ljavafx/scene/image/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: 2
2: 10
3: 6
default: 10
}
2: StackMap locals: com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage javafx.scene.image.PixelBuffer
StackMap stack:
aload 0
getstatic com.sun.prism.PixelFormat.INT_ARGB_PRE:Lcom/sun/prism/PixelFormat;
3: aload 1
invokevirtual javafx.scene.image.PixelBuffer.getBuffer:()Ljava/nio/Buffer;
aload 1
invokevirtual javafx.scene.image.PixelBuffer.getWidth:()I
aload 1
invokevirtual javafx.scene.image.PixelBuffer.getHeight:()I
4: invokestatic com.sun.prism.Image.fromPixelBufferPreData:(Lcom/sun/prism/PixelFormat;Ljava/nio/Buffer;II)Lcom/sun/prism/Image;
putfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.image:Lcom/sun/prism/Image;
5: goto 11
6: StackMap locals:
StackMap stack:
aload 0
getstatic com.sun.prism.PixelFormat.BYTE_BGRA_PRE:Lcom/sun/prism/PixelFormat;
7: aload 1
invokevirtual javafx.scene.image.PixelBuffer.getBuffer:()Ljava/nio/Buffer;
aload 1
invokevirtual javafx.scene.image.PixelBuffer.getWidth:()I
aload 1
invokevirtual javafx.scene.image.PixelBuffer.getHeight:()I
8: invokestatic com.sun.prism.Image.fromPixelBufferPreData:(Lcom/sun/prism/PixelFormat;Ljava/nio/Buffer;II)Lcom/sun/prism/Image;
putfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.image:Lcom/sun/prism/Image;
9: goto 11
10: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported PixelFormat: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual javafx.scene.image.PixelBuffer.getPixelFormat:()Ljavafx/scene/image/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.InternalError.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
0 12 1 pixelBuffer Ljavafx/scene/image/PixelBuffer<Ljava/nio/Buffer;>;
Signature: (Ljavafx/scene/image/PixelBuffer<Ljava/nio/Buffer;>;)V
MethodParameters:
Name Flags
pixelBuffer
com.sun.prism.RTTexture getRT(int, int, com.sun.prism.ResourceFactory);
descriptor: (IILcom/sun/prism/ResourceFactory;)Lcom/sun/prism/RTTexture;
flags: (0x0000)
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
ifnull 3
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rf:Lcom/sun/prism/ResourceFactory;
aload 3
if_acmpne 3
1: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.getContentWidth:()I
iload 1
if_icmpne 3
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.getContentHeight:()I
iload 2
if_icmpne 3
2: iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 4
start local 4 5: iload 4
ifeq 9
6: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.lock:()V
7: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.isSurfaceLost:()Z
ifeq 9
8: iconst_0
istore 4
9: StackMap locals: int
StackMap stack:
iload 4
ifne 19
10: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
ifnull 12
11: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.dispose:()V
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rf:Lcom/sun/prism/ResourceFactory;
ifnull 15
13: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rf:Lcom/sun/prism/ResourceFactory;
aload 0
invokeinterface com.sun.prism.ResourceFactory.removeFactoryListener:(Lcom/sun/prism/ResourceFactoryListener;)V
14: aload 0
aconst_null
putfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rf:Lcom/sun/prism/ResourceFactory;
15: StackMap locals:
StackMap stack:
aload 0
aload 3
iload 1
iload 2
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO:Lcom/sun/prism/Texture$WrapMode;
invokeinterface com.sun.prism.ResourceFactory.createRTTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/RTTexture;
putfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
16: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
ifnull 19
17: aload 0
aload 3
putfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rf:Lcom/sun/prism/ResourceFactory;
18: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rf:Lcom/sun/prism/ResourceFactory;
aload 0
invokeinterface com.sun.prism.ResourceFactory.addFactoryListener:(Lcom/sun/prism/ResourceFactoryListener;)V
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
0 20 1 w I
0 20 2 h I
0 20 3 rfNew Lcom/sun/prism/ResourceFactory;
5 20 4 rttOk Z
MethodParameters:
Name Flags
w
h
rfNew
void dispose();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
ifnull 3
1: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.dispose:()V
2: aload 0
aconst_null
putfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
void setImage(com.sun.prism.Image);
descriptor: (Lcom/sun/prism/Image;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.image:Lcom/sun/prism/Image;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
0 2 1 img Lcom/sun/prism/Image;
MethodParameters:
Name Flags
img
public java.lang.Exception getException();
descriptor: ()Ljava/lang/Exception;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.image:Lcom/sun/prism/Image;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Unitialized image"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: java.lang.IllegalStateException
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
public int getFrameCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
public com.sun.javafx.tk.PlatformImage getFrame(int);
descriptor: (I)Lcom/sun/javafx/tk/PlatformImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.image:Lcom/sun/prism/Image;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
0 1 1 index I
MethodParameters:
Name Flags
index
public int getFrameDelay(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
0 1 1 index I
MethodParameters:
Name Flags
index
public int getLoopCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
public double getWidth();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.image:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getWidth:()I
i2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
public double getHeight();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.image:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getHeight:()I
i2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
public void factoryReset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.dispose:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
public void factoryReleased();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.dispose:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
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: getstatic com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.$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 com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.$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
}
SourceFile: "QuantumToolkit.java"
NestHost: com.sun.javafx.tk.quantum.QuantumToolkit
InnerClasses:
QuantumImage = com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage of com.sun.javafx.tk.quantum.QuantumToolkit
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture
public final Type = javafx.scene.image.PixelFormat$Type of javafx.scene.image.PixelFormat