public abstract class com.sun.glass.ui.GlassRobot
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.glass.ui.GlassRobot
super_class: java.lang.Object
{
public static final int MOUSE_LEFT_BTN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int MOUSE_RIGHT_BTN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int MOUSE_MIDDLE_BTN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static volatile int[] $SWITCH_TABLE$javafx$scene$input$MouseButton;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/GlassRobot;
public abstract void create();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void destroy();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void keyPress(javafx.scene.input.KeyCode);
descriptor: (Ljavafx/scene/input/KeyCode;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
keyCode
public abstract void keyRelease(javafx.scene.input.KeyCode);
descriptor: (Ljavafx/scene/input/KeyCode;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
keyCode
public abstract double getMouseX();
descriptor: ()D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract double getMouseY();
descriptor: ()D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void mouseMove(double, double);
descriptor: (DD)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
x
y
public abstract void mousePress(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)V
flags: (0x0481) ACC_PUBLIC, ACC_VARARGS, ACC_ABSTRACT
MethodParameters:
Name Flags
buttons
public abstract void mouseRelease(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)V
flags: (0x0481) ACC_PUBLIC, ACC_VARARGS, ACC_ABSTRACT
MethodParameters:
Name Flags
buttons
public abstract void mouseWheel(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
wheelAmt
public abstract javafx.scene.paint.Color getPixelColor(double, double);
descriptor: (DD)Ljavafx/scene/paint/Color;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
x
y
public void getScreenCapture(int, int, int, int, int[], boolean);
descriptor: (IIII[IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, 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: new java.lang.InternalError
dup
ldc "not implemented"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
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 1 0 this Lcom/sun/glass/ui/GlassRobot;
0 1 1 x I
0 1 2 y I
0 1 3 width I
0 1 4 height I
0 1 5 data [I
0 1 6 scaleToFit Z
MethodParameters:
Name Flags
x
y
width
height
data
scaleToFit
public javafx.scene.image.WritableImage getScreenCapture(javafx.scene.image.WritableImage, double, double, double, double, boolean);
descriptor: (Ljavafx/scene/image/WritableImage;DDDDZ)Ljavafx/scene/image/WritableImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=37, args_size=7
start local 0 start local 1 start local 2 start local 4 start local 6 start local 8 start local 10 0: dload 6
dconst_0
dcmpg
ifgt 2
1: new java.lang.IllegalArgumentException
dup
ldc "width must be > 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
dload 8
dconst_0
dcmpg
ifgt 4
3: new java.lang.IllegalArgumentException
dup
ldc "height must be > 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic javafx.stage.Screen.getPrimary:()Ljavafx/stage/Screen;
astore 11
start local 11 5: aload 11
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 11
invokevirtual javafx.stage.Screen.getOutputScaleX:()D
dstore 12
start local 12 7: aload 11
invokevirtual javafx.stage.Screen.getOutputScaleY:()D
dstore 14
start local 14 8: dload 12
dconst_1
dcmpl
ifne 14
dload 14
dconst_1
dcmpl
ifne 14
9: dload 6
dload 8
dmul
d2i
newarray 10
astore 16
start local 16 10: aload 0
dload 2
d2i
dload 4
d2i
dload 6
d2i
dload 8
d2i
aload 16
iload 10
invokevirtual com.sun.glass.ui.GlassRobot.getScreenCapture:(IIII[IZ)V
11: dload 6
d2i
istore 17
start local 17 12: dload 8
d2i
istore 18
start local 18 13: goto 46
end local 18 end local 17 end local 16 14: StackMap locals: javafx.stage.Screen double double
StackMap stack:
dload 2
dload 12
dmul
invokestatic java.lang.Math.floor:(D)D
d2i
istore 19
start local 19 15: dload 4
dload 14
dmul
invokestatic java.lang.Math.floor:(D)D
d2i
istore 20
start local 20 16: dload 2
dload 6
dadd
dload 12
dmul
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 21
start local 21 17: dload 4
dload 8
dadd
dload 14
dmul
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 22
start local 22 18: iload 21
iload 19
isub
istore 23
start local 23 19: iload 22
iload 20
isub
istore 24
start local 24 20: iload 23
iload 24
imul
newarray 10
astore 25
start local 25 21: aload 0
iload 19
iload 20
iload 23
iload 24
aload 25
iload 10
invokevirtual com.sun.glass.ui.GlassRobot.getScreenCapture:(IIII[IZ)V
22: iload 23
istore 17
start local 17 23: iload 24
istore 18
start local 18 24: iload 10
ifne 27
25: aload 25
astore 16
start local 16 26: goto 46
end local 16 27: StackMap locals: com.sun.glass.ui.GlassRobot javafx.scene.image.WritableImage double double double double int javafx.stage.Screen double double top int int int int int int int int int[]
StackMap stack:
dload 6
dload 8
dmul
d2i
newarray 10
astore 16
start local 16 28: iconst_0
istore 26
start local 26 29: iconst_0
istore 27
start local 27 30: goto 43
31: StackMap locals: com.sun.glass.ui.GlassRobot javafx.scene.image.WritableImage double double double double int javafx.stage.Screen double double int[] int int int int int int int int int[] int int
StackMap stack:
dload 4
iload 27
i2d
dadd
ldc 0.5
dadd
dload 14
dmul
iload 20
i2f
ldc 0.5
fadd
f2d
dsub
dstore 28
start local 28 32: dload 28
invokestatic java.lang.Math.floor:(D)D
d2i
istore 30
start local 30 33: dload 28
iload 30
i2d
dsub
ldc 256.0
dmul
d2i
istore 31
start local 31 34: iconst_0
istore 32
start local 32 35: goto 41
36: StackMap locals: com.sun.glass.ui.GlassRobot javafx.scene.image.WritableImage double double double double int javafx.stage.Screen double double int[] int int int int int int int int int[] int int double int int int
StackMap stack:
dload 2
iload 32
i2d
dadd
ldc 0.5
dadd
dload 12
dmul
iload 19
i2f
ldc 0.5
fadd
f2d
dsub
dstore 33
start local 33 37: dload 33
invokestatic java.lang.Math.floor:(D)D
d2i
istore 35
start local 35 38: dload 33
iload 35
i2d
dsub
ldc 256.0
dmul
d2i
istore 36
start local 36 39: aload 16
iload 26
iinc 26 1
aload 25
iload 35
iload 30
iload 23
iload 24
iload 36
iload 31
invokestatic com.sun.glass.ui.GlassRobot.interp:([IIIIIII)I
iastore
end local 36 end local 35 end local 33 40: iinc 32 1
StackMap locals:
StackMap stack:
41: iload 32
i2d
dload 6
dcmpg
iflt 36
end local 32 end local 31 end local 30 end local 28 42: iinc 27 1
StackMap locals: com.sun.glass.ui.GlassRobot javafx.scene.image.WritableImage double double double double int javafx.stage.Screen double double int[] int int int int int int int int int[] int int
StackMap stack:
43: iload 27
i2d
dload 8
dcmpg
iflt 31
end local 27 44: dload 6
d2i
istore 17
45: dload 8
d2i
istore 18
end local 26 end local 25 end local 24 end local 23 end local 22 end local 21 end local 20 end local 19 46: StackMap locals: com.sun.glass.ui.GlassRobot javafx.scene.image.WritableImage double double double double int javafx.stage.Screen double double int[] int int
StackMap stack:
aload 1
invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
iload 17
iload 18
aload 16
invokestatic java.nio.IntBuffer.wrap:([I)Ljava/nio/IntBuffer;
invokevirtual com.sun.glass.ui.Application.createPixels:(IILjava/nio/IntBuffer;)Lcom/sun/glass/ui/Pixels;
invokestatic com.sun.glass.ui.GlassRobot.convertFromPixels:(Ljavafx/scene/image/WritableImage;Lcom/sun/glass/ui/Pixels;)Ljavafx/scene/image/WritableImage;
areturn
end local 18 end local 17 end local 16 end local 14 end local 12 end local 11 end local 10 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lcom/sun/glass/ui/GlassRobot;
0 47 1 image Ljavafx/scene/image/WritableImage;
0 47 2 x D
0 47 4 y D
0 47 6 width D
0 47 8 height D
0 47 10 scaleToFit Z
5 47 11 primaryScreen Ljavafx/stage/Screen;
7 47 12 outputScaleX D
8 47 14 outputScaleY D
10 14 16 data [I
26 27 16 data [I
28 47 16 data [I
12 14 17 dw I
23 47 17 dw I
13 14 18 dh I
24 47 18 dh I
15 46 19 pminx I
16 46 20 pminy I
17 46 21 pmaxx I
18 46 22 pmaxy I
19 46 23 pwidth I
20 46 24 pheight I
21 46 25 tmpdata [I
29 46 26 index I
30 44 27 iy I
32 42 28 rely D
33 42 30 irely I
34 42 31 fracty I
35 42 32 ix I
37 40 33 relx D
38 40 35 irelx I
39 40 36 fractx I
MethodParameters:
Name Flags
image
x
y
width
height
scaleToFit
public static int convertToRobotMouseButton(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 9
StackMap locals: javafx.scene.input.MouseButton[] int top int int javafx.scene.input.MouseButton[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: invokestatic com.sun.glass.ui.GlassRobot.$SWITCH_TABLE$javafx$scene$input$MouseButton:()[I
aload 2
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iaload
tableswitch { // 2 - 4
2: 4
3: 6
4: 5
default: 7
}
4: StackMap locals: javafx.scene.input.MouseButton[] int javafx.scene.input.MouseButton int int javafx.scene.input.MouseButton[]
StackMap stack:
iload 1
iconst_1
ior
istore 1
goto 8
5: StackMap locals:
StackMap stack:
iload 1
iconst_2
ior
istore 1
goto 8
6: StackMap locals:
StackMap stack:
iload 1
iconst_4
ior
istore 1
goto 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "MouseButton: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " not supported by Robot"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 8: StackMap locals: javafx.scene.input.MouseButton[] int top int int javafx.scene.input.MouseButton[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 2
10: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 buttons [Ljavafx/scene/input/MouseButton;
1 11 1 ret I
3 8 2 button Ljavafx/scene/input/MouseButton;
MethodParameters:
Name Flags
buttons
public static javafx.scene.paint.Color convertFromIntArgb(int);
descriptor: (I)Ljavafx/scene/paint/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=5, args_size=1
start local 0 0: iload 0
bipush 24
ishr
sipush 255
iand
istore 1
start local 1 1: iload 0
bipush 16
ishr
sipush 255
iand
istore 2
start local 2 2: iload 0
bipush 8
ishr
sipush 255
iand
istore 3
start local 3 3: iload 0
sipush 255
iand
istore 4
start local 4 4: new javafx.scene.paint.Color
dup
iload 2
i2d
ldc 255.0
ddiv
iload 3
i2d
ldc 255.0
ddiv
iload 4
i2d
ldc 255.0
ddiv
iload 1
i2d
ldc 255.0
ddiv
invokespecial javafx.scene.paint.Color.<init>:(DDDD)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 color I
1 5 1 alpha I
2 5 2 red I
3 5 3 green I
4 5 4 blue I
MethodParameters:
Name Flags
color
protected static javafx.scene.image.WritableImage convertFromPixels(javafx.scene.image.WritableImage, com.sun.glass.ui.Pixels);
descriptor: (Ljavafx/scene/image/WritableImage;Lcom/sun/glass/ui/Pixels;)Ljavafx/scene/image/WritableImage;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
istore 2
start local 2 2: aload 1
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
istore 3
start local 3 3: aload 0
ifnull 4
aload 0
invokevirtual javafx.scene.image.WritableImage.getWidth:()D
iload 2
i2d
dcmpl
ifne 4
aload 0
invokevirtual javafx.scene.image.WritableImage.getHeight:()D
iload 3
i2d
dcmpl
ifeq 5
4: StackMap locals: int int
StackMap stack:
new javafx.scene.image.WritableImage
dup
iload 2
iload 3
invokespecial javafx.scene.image.WritableImage.<init>:(II)V
astore 0
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.glass.ui.Pixels.getBytesPerComponent:()I
istore 4
start local 4 6: iload 4
iconst_4
if_icmpne 10
7: aload 1
invokevirtual com.sun.glass.ui.Pixels.getPixels:()Ljava/nio/Buffer;
checkcast java.nio.IntBuffer
astore 5
start local 5 8: aload 5
aload 0
invokestatic com.sun.glass.ui.GlassRobot.writeIntBufferToImage:(Ljava/nio/IntBuffer;Ljavafx/scene/image/WritableImage;)V
end local 5 9: goto 17
StackMap locals: int
StackMap stack:
10: iload 4
iconst_1
if_icmpne 14
11: aload 1
invokevirtual com.sun.glass.ui.Pixels.getPixels:()Ljava/nio/Buffer;
checkcast java.nio.ByteBuffer
astore 5
start local 5 12: aload 5
aload 0
invokestatic com.sun.glass.ui.GlassRobot.writeByteBufferToImage:(Ljava/nio/ByteBuffer;Ljavafx/scene/image/WritableImage;)V
end local 5 13: goto 17
14: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bytesPerComponent must be either 4 or 1 but was: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 image Ljavafx/scene/image/WritableImage;
0 18 1 pixels Lcom/sun/glass/ui/Pixels;
2 18 2 width I
3 18 3 height I
6 18 4 bytesPerComponent I
8 9 5 intBuffer Ljava/nio/IntBuffer;
12 13 5 byteBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
image
pixels
private static void writeIntBufferToImage(java.nio.IntBuffer, javafx.scene.image.WritableImage);
descriptor: (Ljava/nio/IntBuffer;Ljavafx/scene/image/WritableImage;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokevirtual javafx.scene.image.WritableImage.getPixelWriter:()Ljavafx/scene/image/PixelWriter;
astore 2
start local 2 2: aload 1
invokevirtual javafx.scene.image.WritableImage.getWidth:()D
dstore 3
start local 3 3: aload 1
invokevirtual javafx.scene.image.WritableImage.getHeight:()D
dstore 5
start local 5 4: iconst_0
istore 7
start local 7 5: goto 13
6: StackMap locals: java.nio.IntBuffer javafx.scene.image.WritableImage javafx.scene.image.PixelWriter double double int
StackMap stack:
iconst_0
istore 8
start local 8 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 0
invokevirtual java.nio.IntBuffer.get:()I
istore 9
start local 9 9: aload 2
iload 8
iload 7
iload 9
invokeinterface javafx.scene.image.PixelWriter.setArgb:(III)V
end local 9 10: iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
i2d
dload 3
dcmpg
iflt 8
end local 8 12: iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
i2d
dload 5
dcmpg
iflt 6
end local 7 14: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 intBuffer Ljava/nio/IntBuffer;
0 15 1 image Ljavafx/scene/image/WritableImage;
2 15 2 pixelWriter Ljavafx/scene/image/PixelWriter;
3 15 3 width D
4 15 5 height D
5 14 7 y I
7 12 8 x I
9 10 9 argb I
MethodParameters:
Name Flags
intBuffer
image
private static void writeByteBufferToImage(java.nio.ByteBuffer, javafx.scene.image.WritableImage);
descriptor: (Ljava/nio/ByteBuffer;Ljavafx/scene/image/WritableImage;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokevirtual javafx.scene.image.WritableImage.getPixelWriter:()Ljavafx/scene/image/PixelWriter;
astore 2
start local 2 2: aload 1
invokevirtual javafx.scene.image.WritableImage.getWidth:()D
dstore 3
start local 3 3: aload 1
invokevirtual javafx.scene.image.WritableImage.getHeight:()D
dstore 5
start local 5 4: invokestatic com.sun.glass.ui.Pixels.getNativeFormat:()I
istore 7
start local 7 5: iconst_0
istore 8
start local 8 6: goto 19
7: StackMap locals: java.nio.ByteBuffer javafx.scene.image.WritableImage javafx.scene.image.PixelWriter double double int int
StackMap stack:
iconst_0
istore 9
start local 9 8: goto 17
9: StackMap locals: int
StackMap stack:
iload 7
iconst_1
if_icmpne 12
10: aload 2
iload 9
iload 8
aload 0
invokevirtual java.nio.ByteBuffer.getInt:()I
invokestatic com.sun.glass.ui.GlassRobot.bgraPreToRgbaPre:(I)I
invokestatic com.sun.javafx.image.PixelUtils.PretoNonPre:(I)I
invokeinterface javafx.scene.image.PixelWriter.setArgb:(III)V
11: goto 16
StackMap locals:
StackMap stack:
12: iload 7
iconst_2
if_icmpne 15
13: aload 2
iload 9
iload 8
aload 0
invokevirtual java.nio.ByteBuffer.getInt:()I
invokeinterface javafx.scene.image.PixelWriter.setArgb:(III)V
14: goto 16
15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "format must be either BYTE_BGRA_PRE or BYTE_ARGB"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
17: iload 9
i2d
dload 3
dcmpg
iflt 9
end local 9 18: iinc 8 1
StackMap locals:
StackMap stack:
19: iload 8
i2d
dload 5
dcmpg
iflt 7
end local 8 20: return
end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 byteBuffer Ljava/nio/ByteBuffer;
0 21 1 image Ljavafx/scene/image/WritableImage;
2 21 2 pixelWriter Ljavafx/scene/image/PixelWriter;
3 21 3 width D
4 21 5 height D
5 21 7 format I
6 20 8 y I
8 18 9 x I
MethodParameters:
Name Flags
byteBuffer
image
private static int bgraPreToRgbaPre(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.reverseBytes:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bgraPre I
MethodParameters:
Name Flags
bgraPre
private static int interp(int[], int, int, int, int, int, int);
descriptor: ([IIIIIII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=14, 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: sipush 256
iload 5
isub
istore 7
start local 7 1: sipush 256
iload 6
isub
istore 8
start local 8 2: iload 2
iload 3
imul
iload 1
iadd
istore 9
start local 9 3: iload 1
iflt 4
iload 2
iflt 4
iload 1
iload 3
if_icmpge 4
iload 2
iload 4
if_icmplt 5
StackMap locals: int int int
StackMap stack:
4: iconst_0
goto 6
StackMap locals:
StackMap stack:
5: aload 0
iload 9
iaload
StackMap locals:
StackMap stack: int
6: istore 10
start local 10 7: iload 6
ifne 15
8: iload 5
ifne 10
9: iload 10
ireturn
10: StackMap locals: int
StackMap stack:
iload 2
iflt 11
iload 1
iconst_1
iadd
iload 3
if_icmpge 11
iload 2
iload 4
if_icmplt 12
StackMap locals:
StackMap stack:
11: iconst_0
goto 13
StackMap locals:
StackMap stack:
12: aload 0
iload 9
iconst_1
iadd
iaload
StackMap locals:
StackMap stack: int
13: istore 11
start local 11 14: iload 10
iload 11
iload 7
iload 5
invokestatic com.sun.glass.ui.GlassRobot.interp:(IIII)I
ireturn
end local 11 15: StackMap locals:
StackMap stack:
iload 5
ifne 21
16: iload 1
iflt 17
iload 1
iload 3
if_icmpge 17
iload 2
iconst_1
iadd
iload 4
if_icmplt 18
StackMap locals:
StackMap stack:
17: iconst_0
goto 19
StackMap locals:
StackMap stack:
18: aload 0
iload 9
iload 3
iadd
iaload
StackMap locals:
StackMap stack: int
19: istore 11
start local 11 20: iload 10
iload 11
iload 8
iload 6
invokestatic com.sun.glass.ui.GlassRobot.interp:(IIII)I
ireturn
end local 11 21: StackMap locals:
StackMap stack:
iload 2
iflt 22
iload 1
iconst_1
iadd
iload 3
if_icmpge 22
iload 2
iload 4
if_icmplt 23
StackMap locals:
StackMap stack:
22: iconst_0
goto 24
StackMap locals:
StackMap stack:
23: aload 0
iload 9
iconst_1
iadd
iaload
StackMap locals:
StackMap stack: int
24: istore 11
start local 11 25: iload 1
iflt 26
iload 1
iload 3
if_icmpge 26
iload 2
iconst_1
iadd
iload 4
if_icmplt 27
StackMap locals: int
StackMap stack:
26: iconst_0
goto 28
StackMap locals:
StackMap stack:
27: aload 0
iload 9
iload 3
iadd
iaload
StackMap locals:
StackMap stack: int
28: istore 12
start local 12 29: iload 1
iconst_1
iadd
iload 3
if_icmpge 30
iload 2
iconst_1
iadd
iload 4
if_icmplt 31
StackMap locals: int
StackMap stack:
30: iconst_0
goto 32
StackMap locals:
StackMap stack:
31: aload 0
iload 9
iload 3
iadd
iconst_1
iadd
iaload
StackMap locals:
StackMap stack: int
32: istore 13
start local 13 33: iload 10
iload 11
iload 7
iload 5
invokestatic com.sun.glass.ui.GlassRobot.interp:(IIII)I
34: iload 12
iload 13
iload 7
iload 5
invokestatic com.sun.glass.ui.GlassRobot.interp:(IIII)I
35: iload 8
iload 6
36: invokestatic com.sun.glass.ui.GlassRobot.interp:(IIII)I
ireturn
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 37 0 pixels [I
0 37 1 x I
0 37 2 y I
0 37 3 w I
0 37 4 h I
0 37 5 fractx1 I
0 37 6 fracty1 I
1 37 7 fractx0 I
2 37 8 fracty0 I
3 37 9 i I
7 37 10 rgb00 I
14 15 11 rgb10 I
20 21 11 rgb01 I
25 37 11 rgb10 I
29 37 12 rgb01 I
33 37 13 rgb11 I
MethodParameters:
Name Flags
pixels
x
y
w
h
fractx1
fracty1
private static int interp(int, int, int, int);
descriptor: (IIII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
bipush 24
ishr
sipush 255
iand
istore 4
start local 4 1: iload 0
bipush 16
ishr
sipush 255
iand
istore 5
start local 5 2: iload 0
bipush 8
ishr
sipush 255
iand
istore 6
start local 6 3: iload 0
sipush 255
iand
istore 7
start local 7 4: iload 1
bipush 24
ishr
sipush 255
iand
istore 8
start local 8 5: iload 1
bipush 16
ishr
sipush 255
iand
istore 9
start local 9 6: iload 1
bipush 8
ishr
sipush 255
iand
istore 10
start local 10 7: iload 1
sipush 255
iand
istore 11
start local 11 8: iload 4
iload 2
imul
iload 8
iload 3
imul
iadd
bipush 8
ishr
istore 12
start local 12 9: iload 5
iload 2
imul
iload 9
iload 3
imul
iadd
bipush 8
ishr
istore 13
start local 13 10: iload 6
iload 2
imul
iload 10
iload 3
imul
iadd
bipush 8
ishr
istore 14
start local 14 11: iload 7
iload 2
imul
iload 11
iload 3
imul
iadd
bipush 8
ishr
istore 15
start local 15 12: iload 12
bipush 24
ishl
iload 13
bipush 16
ishl
ior
iload 14
bipush 8
ishl
ior
iload 15
ior
ireturn
end local 15 end local 14 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 13 0 rgb0 I
0 13 1 rgb1 I
0 13 2 fract0 I
0 13 3 fract1 I
1 13 4 a0 I
2 13 5 r0 I
3 13 6 g0 I
4 13 7 b0 I
5 13 8 a1 I
6 13 9 r1 I
7 13 10 g1 I
8 13 11 b1 I
9 13 12 a I
10 13 13 r I
11 13 14 g I
12 13 15 b I
MethodParameters:
Name Flags
rgb0
rgb1
fract0
fract1
static int[] $SWITCH_TABLE$javafx$scene$input$MouseButton();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.glass.ui.GlassRobot.$SWITCH_TABLE$javafx$scene$input$MouseButton:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javafx.scene.input.MouseButton.values:()[Ljavafx/scene/input/MouseButton;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javafx.scene.input.MouseButton.MIDDLE:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javafx.scene.input.MouseButton.NONE:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javafx.scene.input.MouseButton.PRIMARY:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javafx.scene.input.MouseButton.SECONDARY:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic com.sun.glass.ui.GlassRobot.$SWITCH_TABLE$javafx$scene$input$MouseButton:[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
}
SourceFile: "GlassRobot.java"