class com.sun.glass.ui.monocle.MonocleRobot extends com.sun.glass.ui.GlassRobot
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.MonocleRobot
super_class: com.sun.glass.ui.GlassRobot
{
private static volatile int[] $SWITCH_TABLE$javafx$scene$input$MouseButton;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.glass.ui.GlassRobot.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
public void create();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
public void keyPress(javafx.scene.input.KeyCode);
descriptor: (Ljavafx/scene/input/KeyCode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: new com.sun.glass.ui.monocle.KeyState
dup
invokespecial com.sun.glass.ui.monocle.KeyState.<init>:()V
astore 2
start local 2 2: invokestatic com.sun.glass.ui.monocle.KeyInput.getInstance:()Lcom/sun/glass/ui/monocle/KeyInput;
aload 2
invokevirtual com.sun.glass.ui.monocle.KeyInput.getState:(Lcom/sun/glass/ui/monocle/KeyState;)V
3: aload 2
aload 1
invokevirtual javafx.scene.input.KeyCode.getCode:()I
invokevirtual com.sun.glass.ui.monocle.KeyState.pressKey:(I)V
4: invokestatic com.sun.glass.ui.monocle.KeyInput.getInstance:()Lcom/sun/glass/ui/monocle/KeyInput;
aload 2
invokevirtual com.sun.glass.ui.monocle.KeyInput.setState:(Lcom/sun/glass/ui/monocle/KeyState;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
0 6 1 code Ljavafx/scene/input/KeyCode;
2 6 2 state Lcom/sun/glass/ui/monocle/KeyState;
MethodParameters:
Name Flags
code
public void keyRelease(javafx.scene.input.KeyCode);
descriptor: (Ljavafx/scene/input/KeyCode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: new com.sun.glass.ui.monocle.KeyState
dup
invokespecial com.sun.glass.ui.monocle.KeyState.<init>:()V
astore 2
start local 2 2: invokestatic com.sun.glass.ui.monocle.KeyInput.getInstance:()Lcom/sun/glass/ui/monocle/KeyInput;
aload 2
invokevirtual com.sun.glass.ui.monocle.KeyInput.getState:(Lcom/sun/glass/ui/monocle/KeyState;)V
3: aload 2
aload 1
invokevirtual javafx.scene.input.KeyCode.getCode:()I
invokevirtual com.sun.glass.ui.monocle.KeyState.releaseKey:(I)V
4: invokestatic com.sun.glass.ui.monocle.KeyInput.getInstance:()Lcom/sun/glass/ui/monocle/KeyInput;
aload 2
invokevirtual com.sun.glass.ui.monocle.KeyInput.setState:(Lcom/sun/glass/ui/monocle/KeyState;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
0 6 1 code Ljavafx/scene/input/KeyCode;
2 6 2 state Lcom/sun/glass/ui/monocle/KeyState;
MethodParameters:
Name Flags
code
public void mouseMove(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 3 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: new com.sun.glass.ui.monocle.MouseState
dup
invokespecial com.sun.glass.ui.monocle.MouseState.<init>:()V
astore 5
start local 5 2: invokestatic com.sun.glass.ui.monocle.MouseInput.getInstance:()Lcom/sun/glass/ui/monocle/MouseInput;
aload 5
invokevirtual com.sun.glass.ui.monocle.MouseInput.getState:(Lcom/sun/glass/ui/monocle/MouseState;)V
3: aload 5
dload 1
d2i
invokevirtual com.sun.glass.ui.monocle.MouseState.setX:(I)V
4: aload 5
dload 3
d2i
invokevirtual com.sun.glass.ui.monocle.MouseState.setY:(I)V
5: invokestatic com.sun.glass.ui.monocle.MouseInput.getInstance:()Lcom/sun/glass/ui/monocle/MouseInput;
aload 5
iconst_0
invokevirtual com.sun.glass.ui.monocle.MouseInput.setState:(Lcom/sun/glass/ui/monocle/MouseState;Z)V
6: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
0 7 1 x D
0 7 3 y D
2 7 5 state Lcom/sun/glass/ui/monocle/MouseState;
MethodParameters:
Name Flags
x
y
private static com.sun.glass.ui.monocle.MouseState convertToMouseState(boolean, com.sun.glass.ui.monocle.MouseState, javafx.scene.input.MouseButton[]);
descriptor: (ZLcom/sun/glass/ui/monocle/MouseState;[Ljavafx/scene/input/MouseButton;)Lcom/sun/glass/ui/monocle/MouseState;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 32
StackMap locals: int com.sun.glass.ui.monocle.MouseState javafx.scene.input.MouseButton[] top int int javafx.scene.input.MouseButton[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: invokestatic com.sun.glass.ui.monocle.MonocleRobot.$SWITCH_TABLE$javafx$scene$input$MouseButton:()[I
aload 3
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iaload
tableswitch { // 2 - 6
2: 3
3: 13
4: 8
5: 18
6: 23
default: 28
}
3: StackMap locals: int com.sun.glass.ui.monocle.MouseState javafx.scene.input.MouseButton[] javafx.scene.input.MouseButton int int javafx.scene.input.MouseButton[]
StackMap stack:
iload 0
ifeq 6
4: aload 1
sipush 212
invokevirtual com.sun.glass.ui.monocle.MouseState.pressButton:(I)V
5: goto 31
6: StackMap locals:
StackMap stack:
aload 1
sipush 212
invokevirtual com.sun.glass.ui.monocle.MouseState.releaseButton:(I)V
7: goto 31
8: StackMap locals:
StackMap stack:
iload 0
ifeq 11
9: aload 1
sipush 213
invokevirtual com.sun.glass.ui.monocle.MouseState.pressButton:(I)V
10: goto 31
11: StackMap locals:
StackMap stack:
aload 1
sipush 213
invokevirtual com.sun.glass.ui.monocle.MouseState.releaseButton:(I)V
12: goto 31
13: StackMap locals:
StackMap stack:
iload 0
ifeq 16
14: aload 1
sipush 214
invokevirtual com.sun.glass.ui.monocle.MouseState.pressButton:(I)V
15: goto 31
16: StackMap locals:
StackMap stack:
aload 1
sipush 214
invokevirtual com.sun.glass.ui.monocle.MouseState.releaseButton:(I)V
17: goto 31
18: StackMap locals:
StackMap stack:
iload 0
ifeq 21
19: aload 1
sipush 215
invokevirtual com.sun.glass.ui.monocle.MouseState.pressButton:(I)V
20: goto 31
21: StackMap locals:
StackMap stack:
aload 1
sipush 215
invokevirtual com.sun.glass.ui.monocle.MouseState.releaseButton:(I)V
22: goto 31
23: StackMap locals:
StackMap stack:
iload 0
ifeq 26
24: aload 1
sipush 216
invokevirtual com.sun.glass.ui.monocle.MouseState.pressButton:(I)V
25: goto 31
26: StackMap locals:
StackMap stack:
aload 1
sipush 216
invokevirtual com.sun.glass.ui.monocle.MouseState.releaseButton:(I)V
27: goto 31
28: 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 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
29: ldc " not supported by Monocle Robot"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
30: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 31: StackMap locals: int com.sun.glass.ui.monocle.MouseState javafx.scene.input.MouseButton[] top int int javafx.scene.input.MouseButton[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
32: iload 4
iload 5
if_icmplt 1
33: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 press Z
0 34 1 state Lcom/sun/glass/ui/monocle/MouseState;
0 34 2 buttons [Ljavafx/scene/input/MouseButton;
2 31 3 button Ljavafx/scene/input/MouseButton;
MethodParameters:
Name Flags
press
state
buttons
public void mousePress(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: new com.sun.glass.ui.monocle.MouseState
dup
invokespecial com.sun.glass.ui.monocle.MouseState.<init>:()V
astore 2
start local 2 2: invokestatic com.sun.glass.ui.monocle.MouseInput.getInstance:()Lcom/sun/glass/ui/monocle/MouseInput;
aload 2
invokevirtual com.sun.glass.ui.monocle.MouseInput.getState:(Lcom/sun/glass/ui/monocle/MouseState;)V
3: invokestatic com.sun.glass.ui.monocle.MouseInput.getInstance:()Lcom/sun/glass/ui/monocle/MouseInput;
iconst_1
aload 2
aload 1
invokestatic com.sun.glass.ui.monocle.MonocleRobot.convertToMouseState:(ZLcom/sun/glass/ui/monocle/MouseState;[Ljavafx/scene/input/MouseButton;)Lcom/sun/glass/ui/monocle/MouseState;
iconst_0
invokevirtual com.sun.glass.ui.monocle.MouseInput.setState:(Lcom/sun/glass/ui/monocle/MouseState;Z)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
0 5 1 buttons [Ljavafx/scene/input/MouseButton;
2 5 2 state Lcom/sun/glass/ui/monocle/MouseState;
MethodParameters:
Name Flags
buttons
public void mouseRelease(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: new com.sun.glass.ui.monocle.MouseState
dup
invokespecial com.sun.glass.ui.monocle.MouseState.<init>:()V
astore 2
start local 2 2: invokestatic com.sun.glass.ui.monocle.MouseInput.getInstance:()Lcom/sun/glass/ui/monocle/MouseInput;
aload 2
invokevirtual com.sun.glass.ui.monocle.MouseInput.getState:(Lcom/sun/glass/ui/monocle/MouseState;)V
3: invokestatic com.sun.glass.ui.monocle.MouseInput.getInstance:()Lcom/sun/glass/ui/monocle/MouseInput;
iconst_0
aload 2
aload 1
invokestatic com.sun.glass.ui.monocle.MonocleRobot.convertToMouseState:(ZLcom/sun/glass/ui/monocle/MouseState;[Ljavafx/scene/input/MouseButton;)Lcom/sun/glass/ui/monocle/MouseState;
iconst_0
invokevirtual com.sun.glass.ui.monocle.MouseInput.setState:(Lcom/sun/glass/ui/monocle/MouseState;Z)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
0 5 1 buttons [Ljavafx/scene/input/MouseButton;
2 5 2 state Lcom/sun/glass/ui/monocle/MouseState;
MethodParameters:
Name Flags
buttons
public void mouseWheel(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: new com.sun.glass.ui.monocle.MouseState
dup
invokespecial com.sun.glass.ui.monocle.MouseState.<init>:()V
astore 2
start local 2 2: invokestatic com.sun.glass.ui.monocle.MouseInput.getInstance:()Lcom/sun/glass/ui/monocle/MouseInput;
astore 3
start local 3 3: aload 3
aload 2
invokevirtual com.sun.glass.ui.monocle.MouseInput.getState:(Lcom/sun/glass/ui/monocle/MouseState;)V
4: iload 1
ifge 6
5: iconst_m1
goto 7
6: StackMap locals: com.sun.glass.ui.monocle.MouseState com.sun.glass.ui.monocle.MouseInput
StackMap stack:
iconst_1
7: StackMap locals:
StackMap stack: int
istore 4
start local 4 8: iconst_0
istore 5
start local 5 9: goto 15
10: StackMap locals: int int
StackMap stack:
aload 2
iload 4
invokevirtual com.sun.glass.ui.monocle.MouseState.setWheel:(I)V
11: aload 3
aload 2
iconst_0
invokevirtual com.sun.glass.ui.monocle.MouseInput.setState:(Lcom/sun/glass/ui/monocle/MouseState;Z)V
12: aload 2
iconst_0
invokevirtual com.sun.glass.ui.monocle.MouseState.setWheel:(I)V
13: aload 3
aload 2
iconst_0
invokevirtual com.sun.glass.ui.monocle.MouseInput.setState:(Lcom/sun/glass/ui/monocle/MouseState;Z)V
14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 1
invokestatic java.lang.Math.abs:(I)I
if_icmplt 10
end local 5 16: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
0 17 1 wheelAmt I
2 17 2 state Lcom/sun/glass/ui/monocle/MouseState;
3 17 3 mouse Lcom/sun/glass/ui/monocle/MouseInput;
8 17 4 direction I
9 16 5 i I
MethodParameters:
Name Flags
wheelAmt
public double getMouseX();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: new com.sun.glass.ui.monocle.MouseState
dup
invokespecial com.sun.glass.ui.monocle.MouseState.<init>:()V
astore 1
start local 1 2: invokestatic com.sun.glass.ui.monocle.MouseInput.getInstance:()Lcom/sun/glass/ui/monocle/MouseInput;
aload 1
invokevirtual com.sun.glass.ui.monocle.MouseInput.getState:(Lcom/sun/glass/ui/monocle/MouseState;)V
3: aload 1
invokevirtual com.sun.glass.ui.monocle.MouseState.getX:()I
i2d
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
2 4 1 state Lcom/sun/glass/ui/monocle/MouseState;
public double getMouseY();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: new com.sun.glass.ui.monocle.MouseState
dup
invokespecial com.sun.glass.ui.monocle.MouseState.<init>:()V
astore 1
start local 1 2: invokestatic com.sun.glass.ui.monocle.MouseInput.getInstance:()Lcom/sun/glass/ui/monocle/MouseInput;
aload 1
invokevirtual com.sun.glass.ui.monocle.MouseInput.getState:(Lcom/sun/glass/ui/monocle/MouseState;)V
3: aload 1
invokevirtual com.sun.glass.ui.monocle.MouseState.getY:()I
i2d
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
2 4 1 state Lcom/sun/glass/ui/monocle/MouseState;
public javafx.scene.paint.Color getPixelColor(double, double);
descriptor: (DD)Ljavafx/scene/paint/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=17, args_size=3
start local 0 start local 1 start local 3 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
invokevirtual com.sun.glass.ui.monocle.NativePlatform.getScreen:()Lcom/sun/glass/ui/monocle/NativeScreen;
astore 5
start local 5 2: aload 5
invokeinterface com.sun.glass.ui.monocle.NativeScreen.getDepth:()I
iconst_3
iushr
istore 6
start local 6 3: aload 5
invokeinterface com.sun.glass.ui.monocle.NativeScreen.getWidth:()I
istore 7
start local 7 4: aload 5
invokeinterface com.sun.glass.ui.monocle.NativeScreen.getHeight:()I
istore 8
start local 8 5: dload 1
dconst_0
dcmpg
iflt 6
dload 1
iload 7
i2d
dcmpl
ifgt 6
dload 3
dconst_0
dcmpg
iflt 6
dload 3
iload 8
i2d
dcmpl
ifle 7
6: StackMap locals: com.sun.glass.ui.monocle.MonocleRobot double double com.sun.glass.ui.monocle.NativeScreen int int int
StackMap stack:
iconst_0
invokestatic com.sun.glass.ui.GlassRobot.convertFromIntArgb:(I)Ljavafx/scene/paint/Color;
areturn
7: StackMap locals:
StackMap stack:
getstatic com.sun.glass.ui.monocle.NativeScreen.framebufferSwapLock:Ljava/lang/Object;
dup
astore 9
monitorenter
8: aload 5
invokeinterface com.sun.glass.ui.monocle.NativeScreen.getScreenCapture:()Ljava/nio/ByteBuffer;
astore 10
start local 10 9: iload 6
iconst_2
if_icmpne 24
10: aload 10
invokevirtual java.nio.ByteBuffer.asShortBuffer:()Ljava/nio/ShortBuffer;
astore 11
start local 11 11: aload 11
dload 3
iload 7
i2d
dmul
d2i
dload 1
d2i
iadd
invokevirtual java.nio.ShortBuffer.get:(I)S
istore 12
start local 12 12: iload 12
ldc 63488
iand
bipush 11
ishr
iconst_3
ishl
istore 13
start local 13 13: iload 12
sipush 2016
iand
iconst_5
ishr
iconst_2
ishl
istore 14
start local 14 14: iload 12
bipush 31
iand
iconst_3
ishl
istore 15
start local 15 15: ldc -16777216
16: iload 13
bipush 16
ishl
17: ior
18: iload 14
bipush 8
ishl
19: ior
20: iload 15
21: ior
istore 16
start local 16 22: iload 16
invokestatic com.sun.glass.ui.GlassRobot.convertFromIntArgb:(I)Ljavafx/scene/paint/Color;
aload 9
monitorexit
23: areturn
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 24: StackMap locals: java.lang.Object java.nio.ByteBuffer
StackMap stack:
iload 6
iconst_4
if_icmplt 28
25: aload 10
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 11
start local 11 26: aload 11
dload 3
iload 7
i2d
dmul
d2i
dload 1
d2i
iadd
invokevirtual java.nio.IntBuffer.get:(I)I
invokestatic com.sun.glass.ui.GlassRobot.convertFromIntArgb:(I)Ljavafx/scene/paint/Color;
aload 9
monitorexit
27: areturn
end local 11 28: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unknown bit depth: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 10 29: StackMap locals: com.sun.glass.ui.monocle.MonocleRobot double double com.sun.glass.ui.monocle.NativeScreen int int int java.lang.Object
StackMap stack: java.lang.Throwable
aload 9
monitorexit
30: athrow
end local 8 end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
0 31 1 x D
0 31 3 y D
2 31 5 screen Lcom/sun/glass/ui/monocle/NativeScreen;
3 31 6 byteDepth I
4 31 7 bwidth I
5 31 8 bheight I
9 29 10 buffer Ljava/nio/ByteBuffer;
11 24 11 shortbuf Ljava/nio/ShortBuffer;
12 24 12 v I
13 24 13 red I
14 24 14 green I
15 24 15 blue I
22 24 16 p I
26 28 11 intbuf Ljava/nio/IntBuffer;
Exception table:
from to target type
8 23 29 any
24 27 29 any
28 30 29 any
MethodParameters:
Name Flags
x
y
public void getScreenCapture(int, int, int, int, int[], boolean);
descriptor: (IIII[IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=16, 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: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
invokevirtual com.sun.glass.ui.monocle.NativePlatform.getScreen:()Lcom/sun/glass/ui/monocle/NativeScreen;
astore 7
start local 7 2: aload 7
invokeinterface com.sun.glass.ui.monocle.NativeScreen.getWidth:()I
istore 8
start local 8 3: aload 7
invokeinterface com.sun.glass.ui.monocle.NativeScreen.getHeight:()I
istore 9
start local 9 4: getstatic com.sun.glass.ui.monocle.NativeScreen.framebufferSwapLock:Ljava/lang/Object;
dup
astore 10
monitorenter
5: aload 7
invokeinterface com.sun.glass.ui.monocle.NativeScreen.getScreenCapture:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 11
start local 11 6: iload 1
ifne 10
iload 2
ifne 10
iload 3
iload 8
if_icmpne 10
iload 4
iload 9
if_icmpne 10
7: aload 11
invokevirtual java.nio.IntBuffer.array:()[I
iconst_0
aload 5
iconst_0
aload 11
invokevirtual java.nio.IntBuffer.array:()[I
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 10
monitorexit
9: return
10: StackMap locals: com.sun.glass.ui.monocle.MonocleRobot int int int int int[] int com.sun.glass.ui.monocle.NativeScreen int int java.lang.Object java.nio.IntBuffer
StackMap stack:
iload 2
iload 4
iadd
iload 9
invokestatic java.lang.Math.min:(II)I
istore 12
start local 12 11: iload 1
iload 3
iadd
iload 8
invokestatic java.lang.Math.min:(II)I
istore 13
start local 13 12: iload 2
istore 14
start local 14 13: goto 20
14: StackMap locals: int int int
StackMap stack:
iload 1
istore 15
start local 15 15: goto 18
16: StackMap locals: int
StackMap stack:
aload 5
iload 14
iload 2
isub
iload 13
iload 1
isub
imul
iload 15
iload 1
isub
iadd
aload 11
iload 14
iload 8
imul
iload 15
iadd
invokevirtual java.nio.IntBuffer.get:(I)I
iastore
17: iinc 15 1
StackMap locals:
StackMap stack:
18: iload 15
iload 13
if_icmplt 16
end local 15 19: iinc 14 1
StackMap locals:
StackMap stack:
20: iload 14
iload 12
if_icmplt 14
end local 14 end local 13 end local 12 end local 11 21: aload 10
monitorexit
22: goto 25
StackMap locals: com.sun.glass.ui.monocle.MonocleRobot int int int int int[] int com.sun.glass.ui.monocle.NativeScreen int int java.lang.Object
StackMap stack: java.lang.Throwable
23: aload 10
monitorexit
24: athrow
25: StackMap locals:
StackMap stack:
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 26 0 this Lcom/sun/glass/ui/monocle/MonocleRobot;
0 26 1 x I
0 26 2 y I
0 26 3 width I
0 26 4 height I
0 26 5 data [I
0 26 6 scaleToFit Z
2 26 7 screen Lcom/sun/glass/ui/monocle/NativeScreen;
3 26 8 scrWidth I
4 26 9 scrHeight I
6 21 11 buffer Ljava/nio/IntBuffer;
11 21 12 rowStop I
12 21 13 colStop I
13 21 14 row I
15 19 15 col I
Exception table:
from to target type
5 9 23 any
10 22 23 any
23 24 23 any
MethodParameters:
Name Flags
x
y
width
height
data
scaleToFit
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.monocle.MonocleRobot.$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.BACK:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_5
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.FORWARD:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
bipush 6
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.MIDDLE:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_3
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.NONE:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic javafx.scene.input.MouseButton.PRIMARY:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.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.input.MouseButton.SECONDARY:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_4
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic com.sun.glass.ui.monocle.MonocleRobot.$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
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "MonocleRobot.java"