class javafx.scene.canvas.GraphicsContext$1 implements javafx.scene.image.PixelWriter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.canvas.GraphicsContext$1
super_class: java.lang.Object
{
final javafx.scene.canvas.GraphicsContext this$0;
descriptor: Ljavafx/scene/canvas/GraphicsContext;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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>(javafx.scene.canvas.GraphicsContext);
descriptor: (Ljavafx/scene/canvas/GraphicsContext;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javafx.scene.canvas.GraphicsContext$1.this$0:Ljavafx/scene/canvas/GraphicsContext;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/canvas/GraphicsContext$1;
MethodParameters:
Name Flags
this$0 final
public javafx.scene.image.PixelFormat<java.nio.ByteBuffer> getPixelFormat();
descriptor: ()Ljavafx/scene/image/PixelFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic javafx.scene.image.PixelFormat.getByteBgraPreInstance:()Ljavafx/scene/image/WritablePixelFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/canvas/GraphicsContext$1;
Signature: ()Ljavafx/scene/image/PixelFormat<Ljava/nio/ByteBuffer;>;
private com.sun.javafx.image.BytePixelSetter getSetter();
descriptor: ()Lcom/sun/javafx/image/BytePixelSetter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.javafx.image.impl.ByteBgraPre.setter:Lcom/sun/javafx/image/BytePixelSetter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/canvas/GraphicsContext$1;
public void setArgb(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javafx.scene.canvas.GraphicsContext$1.this$0:Ljavafx/scene/canvas/GraphicsContext;
invokevirtual javafx.scene.canvas.GraphicsContext.getBuffer:()Lcom/sun/javafx/sg/prism/GrowableDataBuffer;
astore 4
start local 4 1: aload 4
bipush 52
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putByte:(B)V
2: aload 4
iload 1
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putInt:(I)V
3: aload 4
iload 2
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putInt:(I)V
4: aload 4
iload 3
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putInt:(I)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/scene/canvas/GraphicsContext$1;
0 6 1 x I
0 6 2 y I
0 6 3 argb I
1 6 4 buf Lcom/sun/javafx/sg/prism/GrowableDataBuffer;
MethodParameters:
Name Flags
x
y
argb
public void setColor(int, int, javafx.scene.paint.Color);
descriptor: (IILjavafx/scene/paint/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 1
new java.lang.NullPointerException
dup
ldc "Color cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 3
invokevirtual javafx.scene.paint.Color.getOpacity:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
l2i
istore 4
start local 4 2: aload 3
invokevirtual javafx.scene.paint.Color.getRed:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
l2i
istore 5
start local 5 3: aload 3
invokevirtual javafx.scene.paint.Color.getGreen:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
l2i
istore 6
start local 6 4: aload 3
invokevirtual javafx.scene.paint.Color.getBlue:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
l2i
istore 7
start local 7 5: aload 0
iload 1
iload 2
iload 4
bipush 24
ishl
iload 5
bipush 16
ishl
ior
iload 6
bipush 8
ishl
ior
iload 7
ior
invokevirtual javafx.scene.canvas.GraphicsContext$1.setArgb:(III)V
6: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavafx/scene/canvas/GraphicsContext$1;
0 7 1 x I
0 7 2 y I
0 7 3 c Ljavafx/scene/paint/Color;
2 7 4 a I
3 7 5 r I
4 7 6 g I
5 7 7 b I
MethodParameters:
Name Flags
x
y
c
private void writePixelBuffer(int, int, int, int, byte[]);
descriptor: (IIII[B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield javafx.scene.canvas.GraphicsContext$1.this$0:Ljavafx/scene/canvas/GraphicsContext;
invokevirtual javafx.scene.canvas.GraphicsContext.getBuffer:()Lcom/sun/javafx/sg/prism/GrowableDataBuffer;
astore 6
start local 6 1: aload 6
bipush 53
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putByte:(B)V
2: aload 6
iload 1
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putInt:(I)V
3: aload 6
iload 2
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putInt:(I)V
4: aload 6
iload 3
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putInt:(I)V
5: aload 6
iload 4
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putInt:(I)V
6: aload 6
aload 5
invokevirtual com.sun.javafx.sg.prism.GrowableDataBuffer.putObject:(Ljava/lang/Object;)V
7: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavafx/scene/canvas/GraphicsContext$1;
0 8 1 x I
0 8 2 y I
0 8 3 w I
0 8 4 h I
0 8 5 pixels [B
1 8 6 buf Lcom/sun/javafx/sg/prism/GrowableDataBuffer;
MethodParameters:
Name Flags
x
y
w
h
pixels
private int[] checkBounds(int, int, int, int, javafx.scene.image.PixelFormat<? extends java.nio.Buffer>, );
descriptor: (IIIILjavafx/scene/image/PixelFormat;I)[I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield javafx.scene.canvas.GraphicsContext$1.this$0:Ljavafx/scene/canvas/GraphicsContext;
getfield javafx.scene.canvas.GraphicsContext.theCanvas:Ljavafx/scene/canvas/Canvas;
invokevirtual javafx.scene.canvas.Canvas.getWidth:()D
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 7
start local 7 1: aload 0
getfield javafx.scene.canvas.GraphicsContext$1.this$0:Ljavafx/scene/canvas/GraphicsContext;
getfield javafx.scene.canvas.GraphicsContext.theCanvas:Ljavafx/scene/canvas/Canvas;
invokevirtual javafx.scene.canvas.Canvas.getHeight:()D
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 8
start local 8 2: iload 1
iflt 4
iload 2
iflt 4
iload 1
iload 3
iadd
iload 7
if_icmpgt 4
iload 2
iload 4
iadd
iload 8
if_icmpgt 4
3: aconst_null
areturn
4: StackMap locals: int int
StackMap stack:
iconst_0
istore 9
start local 9 5: iload 1
ifge 18
6: iload 3
iload 1
iadd
istore 3
7: iload 3
ifge 8
aconst_null
areturn
8: StackMap locals: int
StackMap stack:
aload 5
ifnull 17
9: invokestatic javafx.scene.canvas.GraphicsContext$1.$SWITCH_TABLE$javafx$scene$image$PixelFormat$Type:()[I
aload 5
invokevirtual javafx.scene.image.PixelFormat.getType:()Ljavafx/scene/image/PixelFormat$Type;
invokevirtual javafx.scene.image.PixelFormat$Type.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 14
2: 14
3: 10
4: 10
5: 12
6: 14
default: 16
}
10: StackMap locals:
StackMap stack:
iload 9
iload 1
iconst_4
imul
isub
istore 9
11: goto 17
12: StackMap locals:
StackMap stack:
iload 9
iload 1
iconst_3
imul
isub
istore 9
13: goto 17
14: StackMap locals:
StackMap stack:
iload 9
iload 1
isub
istore 9
15: goto 17
16: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
ldc "unknown Pixel Format"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
iconst_0
istore 1
18: StackMap locals:
StackMap stack:
iload 2
ifge 23
19: iload 4
iload 2
iadd
istore 4
20: iload 4
ifge 21
aconst_null
areturn
21: StackMap locals:
StackMap stack:
iload 9
iload 2
iload 6
imul
isub
istore 9
22: iconst_0
istore 2
23: StackMap locals:
StackMap stack:
iload 1
iload 3
iadd
iload 7
if_icmple 26
24: iload 7
iload 1
isub
istore 3
25: iload 3
ifge 26
aconst_null
areturn
26: StackMap locals:
StackMap stack:
iload 2
iload 4
iadd
iload 8
if_icmple 29
27: iload 8
iload 2
isub
istore 4
28: iload 4
ifge 29
aconst_null
areturn
29: StackMap locals:
StackMap stack:
iconst_5
newarray 10
dup
iconst_0
30: iload 1
iastore
dup
iconst_1
iload 2
iastore
dup
iconst_2
iload 3
iastore
dup
iconst_3
iload 4
iastore
dup
iconst_4
iload 9
iastore
31: areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljavafx/scene/canvas/GraphicsContext$1;
0 32 1 x I
0 32 2 y I
0 32 3 w I
0 32 4 h I
0 32 5 pf Ljavafx/scene/image/PixelFormat<+Ljava/nio/Buffer;>;
0 32 6 scan I
1 32 7 cw I
2 32 8 ch I
5 32 9 offset I
Signature: (IIIILjavafx/scene/image/PixelFormat<+Ljava/nio/Buffer;>;I)[I
MethodParameters:
Name Flags
x
y
w
h
pf
scan
public <T extends java.nio.Buffer> void setPixels(int, int, int, int, javafx.scene.image.PixelFormat<T>, T, );
descriptor: (IIIILjavafx/scene/image/PixelFormat;Ljava/nio/Buffer;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=14, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 5
ifnonnull 1
new java.lang.NullPointerException
dup
ldc "PixelFormat cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 6
ifnonnull 2
new java.lang.NullPointerException
dup
ldc "Buffer cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 3
ifle 3
iload 4
ifgt 4
StackMap locals:
StackMap stack:
3: return
4: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.nio.Buffer.position:()I
istore 8
start local 8 5: aload 0
iload 1
iload 2
iload 3
iload 4
6: aload 5
iload 7
7: invokevirtual javafx.scene.canvas.GraphicsContext$1.checkBounds:(IIIILjavafx/scene/image/PixelFormat;I)[I
astore 9
start local 9 8: aload 9
ifnull 14
9: aload 9
iconst_0
iaload
istore 1
10: aload 9
iconst_1
iaload
istore 2
11: aload 9
iconst_2
iaload
istore 3
12: aload 9
iconst_3
iaload
istore 4
13: iload 8
aload 9
iconst_4
iaload
iadd
istore 8
14: StackMap locals: int int[]
StackMap stack:
iload 3
iload 4
imul
iconst_4
imul
newarray 8
astore 10
start local 10 15: aload 10
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 11
start local 11 16: aload 5
invokestatic com.sun.javafx.image.PixelUtils.getGetter:(Ljavafx/scene/image/PixelFormat;)Lcom/sun/javafx/image/PixelGetter;
astore 12
start local 12 17: aload 12
aload 0
invokevirtual javafx.scene.canvas.GraphicsContext$1.getSetter:()Lcom/sun/javafx/image/BytePixelSetter;
invokestatic com.sun.javafx.image.PixelUtils.getConverter:(Lcom/sun/javafx/image/PixelGetter;Lcom/sun/javafx/image/PixelSetter;)Lcom/sun/javafx/image/PixelConverter;
18: astore 13
start local 13 19: aload 13
aload 6
iload 8
iload 7
20: aload 11
iconst_0
iload 3
iconst_4
imul
21: iload 3
iload 4
22: invokeinterface com.sun.javafx.image.PixelConverter.convert:(Ljava/nio/Buffer;IILjava/nio/Buffer;IIII)V
23: aload 0
iload 1
iload 2
iload 3
iload 4
aload 10
invokevirtual javafx.scene.canvas.GraphicsContext$1.writePixelBuffer:(IIII[B)V
24: return
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljavafx/scene/canvas/GraphicsContext$1;
0 25 1 x I
0 25 2 y I
0 25 3 w I
0 25 4 h I
0 25 5 pixelformat Ljavafx/scene/image/PixelFormat<TT;>;
0 25 6 buffer TT;
0 25 7 scan I
5 25 8 offset I
8 25 9 adjustments [I
15 25 10 pixels [B
16 25 11 dst Ljava/nio/ByteBuffer;
17 25 12 getter Lcom/sun/javafx/image/PixelGetter<TT;>;
19 25 13 converter Lcom/sun/javafx/image/PixelConverter<TT;Ljava/nio/ByteBuffer;>;
Signature: <T:Ljava/nio/Buffer;>(IIIILjavafx/scene/image/PixelFormat<TT;>;TT;I)V
MethodParameters:
Name Flags
x
y
w
h
pixelformat
buffer
scan
public void setPixels(int, int, int, int, javafx.scene.image.PixelFormat<java.nio.ByteBuffer>, byte[], int, );
descriptor: (IIIILjavafx/scene/image/PixelFormat;[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=13, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 5
ifnonnull 1
new java.lang.NullPointerException
dup
ldc "PixelFormat cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 6
ifnonnull 2
new java.lang.NullPointerException
dup
ldc "Buffer cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 3
ifle 3
iload 4
ifgt 4
StackMap locals:
StackMap stack:
3: return
4: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
iload 3
iload 4
5: aload 5
iload 8
6: invokevirtual javafx.scene.canvas.GraphicsContext$1.checkBounds:(IIIILjavafx/scene/image/PixelFormat;I)[I
astore 9
start local 9 7: aload 9
ifnull 13
8: aload 9
iconst_0
iaload
istore 1
9: aload 9
iconst_1
iaload
istore 2
10: aload 9
iconst_2
iaload
istore 3
11: aload 9
iconst_3
iaload
istore 4
12: iload 7
aload 9
iconst_4
iaload
iadd
istore 7
13: StackMap locals: int[]
StackMap stack:
iload 3
iload 4
imul
iconst_4
imul
newarray 8
astore 10
start local 10 14: aload 5
invokestatic com.sun.javafx.image.PixelUtils.getByteGetter:(Ljavafx/scene/image/PixelFormat;)Lcom/sun/javafx/image/BytePixelGetter;
astore 11
start local 11 15: aload 11
aload 0
invokevirtual javafx.scene.canvas.GraphicsContext$1.getSetter:()Lcom/sun/javafx/image/BytePixelSetter;
invokestatic com.sun.javafx.image.PixelUtils.getB2BConverter:(Lcom/sun/javafx/image/PixelGetter;Lcom/sun/javafx/image/PixelSetter;)Lcom/sun/javafx/image/ByteToBytePixelConverter;
16: astore 12
start local 12 17: aload 12
aload 6
iload 7
iload 8
18: aload 10
iconst_0
iload 3
iconst_4
imul
19: iload 3
iload 4
20: invokeinterface com.sun.javafx.image.ByteToBytePixelConverter.convert:([BII[BIIII)V
21: aload 0
iload 1
iload 2
iload 3
iload 4
aload 10
invokevirtual javafx.scene.canvas.GraphicsContext$1.writePixelBuffer:(IIII[B)V
22: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavafx/scene/canvas/GraphicsContext$1;
0 23 1 x I
0 23 2 y I
0 23 3 w I
0 23 4 h I
0 23 5 pixelformat Ljavafx/scene/image/PixelFormat<Ljava/nio/ByteBuffer;>;
0 23 6 buffer [B
0 23 7 offset I
0 23 8 scanlineStride I
7 23 9 adjustments [I
14 23 10 pixels [B
15 23 11 getter Lcom/sun/javafx/image/BytePixelGetter;
17 23 12 converter Lcom/sun/javafx/image/ByteToBytePixelConverter;
Signature: (IIIILjavafx/scene/image/PixelFormat<Ljava/nio/ByteBuffer;>;[BII)V
MethodParameters:
Name Flags
x
y
w
h
pixelformat
buffer
offset
scanlineStride
public void setPixels(int, int, int, int, javafx.scene.image.PixelFormat<java.nio.IntBuffer>, int[], int, );
descriptor: (IIIILjavafx/scene/image/PixelFormat;[III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=13, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 5
ifnonnull 1
new java.lang.NullPointerException
dup
ldc "PixelFormat cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 6
ifnonnull 2
new java.lang.NullPointerException
dup
ldc "Buffer cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 3
ifle 3
iload 4
ifgt 4
StackMap locals:
StackMap stack:
3: return
4: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
iload 3
iload 4
5: aload 5
iload 8
6: invokevirtual javafx.scene.canvas.GraphicsContext$1.checkBounds:(IIIILjavafx/scene/image/PixelFormat;I)[I
astore 9
start local 9 7: aload 9
ifnull 13
8: aload 9
iconst_0
iaload
istore 1
9: aload 9
iconst_1
iaload
istore 2
10: aload 9
iconst_2
iaload
istore 3
11: aload 9
iconst_3
iaload
istore 4
12: iload 7
aload 9
iconst_4
iaload
iadd
istore 7
13: StackMap locals: int[]
StackMap stack:
iload 3
iload 4
imul
iconst_4
imul
newarray 8
astore 10
start local 10 14: aload 5
invokestatic com.sun.javafx.image.PixelUtils.getIntGetter:(Ljavafx/scene/image/PixelFormat;)Lcom/sun/javafx/image/IntPixelGetter;
astore 11
start local 11 15: aload 11
aload 0
invokevirtual javafx.scene.canvas.GraphicsContext$1.getSetter:()Lcom/sun/javafx/image/BytePixelSetter;
invokestatic com.sun.javafx.image.PixelUtils.getI2BConverter:(Lcom/sun/javafx/image/PixelGetter;Lcom/sun/javafx/image/PixelSetter;)Lcom/sun/javafx/image/IntToBytePixelConverter;
16: astore 12
start local 12 17: aload 12
aload 6
iload 7
iload 8
18: aload 10
iconst_0
iload 3
iconst_4
imul
19: iload 3
iload 4
20: invokeinterface com.sun.javafx.image.IntToBytePixelConverter.convert:([III[BIIII)V
21: aload 0
iload 1
iload 2
iload 3
iload 4
aload 10
invokevirtual javafx.scene.canvas.GraphicsContext$1.writePixelBuffer:(IIII[B)V
22: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavafx/scene/canvas/GraphicsContext$1;
0 23 1 x I
0 23 2 y I
0 23 3 w I
0 23 4 h I
0 23 5 pixelformat Ljavafx/scene/image/PixelFormat<Ljava/nio/IntBuffer;>;
0 23 6 buffer [I
0 23 7 offset I
0 23 8 scanlineStride I
7 23 9 adjustments [I
14 23 10 pixels [B
15 23 11 getter Lcom/sun/javafx/image/IntPixelGetter;
17 23 12 converter Lcom/sun/javafx/image/IntToBytePixelConverter;
Signature: (IIIILjavafx/scene/image/PixelFormat<Ljava/nio/IntBuffer;>;[III)V
MethodParameters:
Name Flags
x
y
w
h
pixelformat
buffer
offset
scanlineStride
public void setPixels(int, int, int, int, javafx.scene.image.PixelReader, int, int);
descriptor: (IIIILjavafx/scene/image/PixelReader;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 5
ifnonnull 1
new java.lang.NullPointerException
dup
ldc "Reader cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
iload 3
ifle 2
iload 4
ifgt 3
StackMap locals:
StackMap stack:
2: return
3: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
iload 3
iload 4
aconst_null
iconst_0
invokevirtual javafx.scene.canvas.GraphicsContext$1.checkBounds:(IIIILjavafx/scene/image/PixelFormat;I)[I
astore 8
start local 8 4: aload 8
ifnull 13
5: aload 8
iconst_0
iaload
istore 9
start local 9 6: aload 8
iconst_1
iaload
istore 10
start local 10 7: iload 6
iload 9
iload 1
isub
iadd
istore 6
8: iload 7
iload 10
iload 2
isub
iadd
istore 7
9: iload 9
istore 1
10: iload 10
istore 2
11: aload 8
iconst_2
iaload
istore 3
12: aload 8
iconst_3
iaload
istore 4
end local 10 end local 9 13: StackMap locals: int[]
StackMap stack:
iload 3
iload 4
imul
iconst_4
imul
newarray 8
astore 9
start local 9 14: aload 5
iload 6
iload 7
iload 3
iload 4
15: invokestatic javafx.scene.image.PixelFormat.getByteBgraPreInstance:()Ljavafx/scene/image/WritablePixelFormat;
16: aload 9
iconst_0
iload 3
iconst_4
imul
17: invokeinterface javafx.scene.image.PixelReader.getPixels:(IIIILjavafx/scene/image/WritablePixelFormat;[BII)V
18: aload 0
iload 1
iload 2
iload 3
iload 4
aload 9
invokevirtual javafx.scene.canvas.GraphicsContext$1.writePixelBuffer:(IIII[B)V
19: return
end local 9 end local 8 end local 7 end local 6 end local 5 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 Ljavafx/scene/canvas/GraphicsContext$1;
0 20 1 dstx I
0 20 2 dsty I
0 20 3 w I
0 20 4 h I
0 20 5 reader Ljavafx/scene/image/PixelReader;
0 20 6 srcx I
0 20 7 srcy I
4 20 8 adjustments [I
6 13 9 newx I
7 13 10 newy I
14 20 9 pixels [B
MethodParameters:
Name Flags
dstx
dsty
w
h
reader
srcx
srcy
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 javafx.scene.canvas.GraphicsContext$1.$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.canvas.GraphicsContext$1.$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: "GraphicsContext.java"
EnclosingMethod: javafx.scene.canvas.GraphicsContext.getPixelWriter:()Ljavafx/scene/image/PixelWriter;
NestHost: javafx.scene.canvas.GraphicsContext
InnerClasses:
javafx.scene.canvas.GraphicsContext$1
public final Type = javafx.scene.image.PixelFormat$Type of javafx.scene.image.PixelFormat