final class sun.lwawt.macosx.CRobot implements java.awt.peer.RobotPeer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.lwawt.macosx.CRobot
  super_class: java.lang.Object
{
  private static final int MOUSE_LOCATION_UNKNOWN;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  private final sun.awt.CGraphicsDevice fDevice;
    descriptor: Lsun/awt/CGraphicsDevice;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int mouseLastX;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int mouseLastY;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int mouseButtonsState;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  void <init>(sun.awt.CGraphicsDevice);
    descriptor: (Lsun/awt/CGraphicsDevice;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.lwawt.macosx.CRobot this
        start local 1 // sun.awt.CGraphicsDevice d
         0: .line 51
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 39
            aload 0 /* this */
            iconst_m1
            putfield sun.lwawt.macosx.CRobot.mouseLastX:I
         2: .line 40
            aload 0 /* this */
            iconst_m1
            putfield sun.lwawt.macosx.CRobot.mouseLastY:I
         3: .line 45
            aload 0 /* this */
            iconst_0
            putfield sun.lwawt.macosx.CRobot.mouseButtonsState:I
         4: .line 52
            aload 0 /* this */
            aload 1 /* d */
            putfield sun.lwawt.macosx.CRobot.fDevice:Lsun/awt/CGraphicsDevice;
         5: .line 53
            aload 0 /* this */
            invokevirtual sun.lwawt.macosx.CRobot.initRobot:()V
         6: .line 54
            return
        end local 1 // sun.awt.CGraphicsDevice d
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/lwawt/macosx/CRobot;
            0    7     1     d  Lsun/awt/CGraphicsDevice;
    MethodParameters:
      Name  Flags
      d     

  public void mouseMove(int, int);
    descriptor: (II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // sun.lwawt.macosx.CRobot this
        start local 1 // int x
        start local 2 // int y
         0: .line 63
            aload 0 /* this */
            iload 1 /* x */
            putfield sun.lwawt.macosx.CRobot.mouseLastX:I
         1: .line 64
            aload 0 /* this */
            iload 2 /* y */
            putfield sun.lwawt.macosx.CRobot.mouseLastY:I
         2: .line 66
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.mouseLastX:I
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.mouseLastY:I
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.mouseButtonsState:I
            iconst_1
            iconst_1
            invokevirtual sun.lwawt.macosx.CRobot.mouseEvent:(IIIZZ)V
         3: .line 67
            return
        end local 2 // int y
        end local 1 // int x
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/lwawt/macosx/CRobot;
            0    4     1     x  I
            0    4     2     y  I
    MethodParameters:
      Name  Flags
      x     
      y     

  public void mousePress(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // sun.lwawt.macosx.CRobot this
        start local 1 // int buttons
         0: .line 77
            aload 0 /* this */
            dup
            getfield sun.lwawt.macosx.CRobot.mouseButtonsState:I
            iload 1 /* buttons */
            ior
            putfield sun.lwawt.macosx.CRobot.mouseButtonsState:I
         1: .line 78
            aload 0 /* this */
            invokevirtual sun.lwawt.macosx.CRobot.checkMousePos:()V
         2: .line 79
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.mouseLastX:I
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.mouseLastY:I
            iload 1 /* buttons */
            iconst_1
            iconst_0
            invokevirtual sun.lwawt.macosx.CRobot.mouseEvent:(IIIZZ)V
         3: .line 80
            return
        end local 1 // int buttons
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lsun/lwawt/macosx/CRobot;
            0    4     1  buttons  I
    MethodParameters:
         Name  Flags
      buttons  

  public void mouseRelease(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // sun.lwawt.macosx.CRobot this
        start local 1 // int buttons
         0: .line 90
            aload 0 /* this */
            dup
            getfield sun.lwawt.macosx.CRobot.mouseButtonsState:I
            iload 1 /* buttons */
            iconst_m1
            ixor
            iand
            putfield sun.lwawt.macosx.CRobot.mouseButtonsState:I
         1: .line 91
            aload 0 /* this */
            invokevirtual sun.lwawt.macosx.CRobot.checkMousePos:()V
         2: .line 92
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.mouseLastX:I
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.mouseLastY:I
            iload 1 /* buttons */
            iconst_0
            iconst_0
            invokevirtual sun.lwawt.macosx.CRobot.mouseEvent:(IIIZZ)V
         3: .line 93
            return
        end local 1 // int buttons
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lsun/lwawt/macosx/CRobot;
            0    4     1  buttons  I
    MethodParameters:
         Name  Flags
      buttons  

  private void checkMousePos();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // sun.lwawt.macosx.CRobot this
         0: .line 99
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.mouseLastX:I
            iconst_m1
            if_icmpeq 2
         1: .line 100
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.mouseLastY:I
            iconst_m1
            if_icmpne 16
         2: .line 102
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.fDevice:Lsun/awt/CGraphicsDevice;
            invokevirtual sun.awt.CGraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
            invokevirtual java.awt.GraphicsConfiguration.getBounds:()Ljava/awt/Rectangle;
            astore 1 /* deviceBounds */
        start local 1 // java.awt.Rectangle deviceBounds
         3: .line 103
            invokestatic sun.lwawt.macosx.CCursorManager.getInstance:()Lsun/lwawt/macosx/CCursorManager;
            invokevirtual sun.lwawt.macosx.CCursorManager.getCursorPosition:()Ljava/awt/Point;
            astore 2 /* mousePos */
        start local 2 // java.awt.Point mousePos
         4: .line 105
            aload 2 /* mousePos */
            getfield java.awt.Point.x:I
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.x:I
            if_icmpge 7
         5: .line 106
            aload 2 /* mousePos */
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.x:I
            putfield java.awt.Point.x:I
         6: .line 107
            goto 9
         7: .line 108
      StackMap locals: java.awt.Rectangle java.awt.Point
      StackMap stack:
            aload 2 /* mousePos */
            getfield java.awt.Point.x:I
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.x:I
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.width:I
            iadd
            if_icmple 9
         8: .line 109
            aload 2 /* mousePos */
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.x:I
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.width:I
            iadd
            putfield java.awt.Point.x:I
         9: .line 112
      StackMap locals:
      StackMap stack:
            aload 2 /* mousePos */
            getfield java.awt.Point.y:I
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.y:I
            if_icmpge 12
        10: .line 113
            aload 2 /* mousePos */
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.y:I
            putfield java.awt.Point.y:I
        11: .line 114
            goto 14
        12: .line 115
      StackMap locals:
      StackMap stack:
            aload 2 /* mousePos */
            getfield java.awt.Point.y:I
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.y:I
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.height:I
            iadd
            if_icmple 14
        13: .line 116
            aload 2 /* mousePos */
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.y:I
            aload 1 /* deviceBounds */
            getfield java.awt.Rectangle.height:I
            iadd
            putfield java.awt.Point.y:I
        14: .line 119
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* mousePos */
            getfield java.awt.Point.x:I
            putfield sun.lwawt.macosx.CRobot.mouseLastX:I
        15: .line 120
            aload 0 /* this */
            aload 2 /* mousePos */
            getfield java.awt.Point.y:I
            putfield sun.lwawt.macosx.CRobot.mouseLastY:I
        end local 2 // java.awt.Point mousePos
        end local 1 // java.awt.Rectangle deviceBounds
        16: .line 122
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   17     0          this  Lsun/lwawt/macosx/CRobot;
            3   16     1  deviceBounds  Ljava/awt/Rectangle;
            4   16     2      mousePos  Ljava/awt/Point;

  public native void mouseWheel(int);
    descriptor: (I)V
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
    MethodParameters:
          Name  Flags
      wheelAmt  

  public void keyPress(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.lwawt.macosx.CRobot this
        start local 1 // int keycode
         0: .line 142
            aload 0 /* this */
            iload 1 /* keycode */
            iconst_1
            invokevirtual sun.lwawt.macosx.CRobot.keyEvent:(IZ)V
         1: .line 143
            return
        end local 1 // int keycode
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lsun/lwawt/macosx/CRobot;
            0    2     1  keycode  I
    MethodParameters:
         Name  Flags
      keycode  final

  public void keyRelease(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.lwawt.macosx.CRobot this
        start local 1 // int keycode
         0: .line 160
            aload 0 /* this */
            iload 1 /* keycode */
            iconst_0
            invokevirtual sun.lwawt.macosx.CRobot.keyEvent:(IZ)V
         1: .line 161
            return
        end local 1 // int keycode
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lsun/lwawt/macosx/CRobot;
            0    2     1  keycode  I
    MethodParameters:
         Name  Flags
      keycode  final

  public int getRGBPixel(int, int);
    descriptor: (II)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=6, args_size=3
        start local 0 // sun.lwawt.macosx.CRobot this
        start local 1 // int x
        start local 2 // int y
         0: .line 171
            iconst_1
            newarray 10
            astore 3 /* c */
        start local 3 // int[] c
         1: .line 172
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.fDevice:Lsun/awt/CGraphicsDevice;
            invokevirtual sun.awt.CGraphicsDevice.getScaleFactor:()I
            i2d
            dstore 4 /* scale */
        start local 4 // double scale
         2: .line 173
            aload 0 /* this */
            new java.awt.Rectangle
            dup
            iload 1 /* x */
            iload 2 /* y */
            dload 4 /* scale */
            d2i
            dload 4 /* scale */
            d2i
            invokespecial java.awt.Rectangle.<init>:(IIII)V
            aload 3 /* c */
            invokevirtual sun.lwawt.macosx.CRobot.getScreenPixels:(Ljava/awt/Rectangle;[I)V
         3: .line 174
            aload 3 /* c */
            iconst_0
            iaload
            ireturn
        end local 4 // double scale
        end local 3 // int[] c
        end local 2 // int y
        end local 1 // int x
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lsun/lwawt/macosx/CRobot;
            0    4     1      x  I
            0    4     2      y  I
            1    4     3      c  [I
            2    4     4  scale  D
    MethodParameters:
      Name  Flags
      x     
      y     

  public int[] getRGBPixels(java.awt.Rectangle);
    descriptor: (Ljava/awt/Rectangle;)[I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // sun.lwawt.macosx.CRobot this
        start local 1 // java.awt.Rectangle bounds
         0: .line 184
            aload 1 /* bounds */
            getfield java.awt.Rectangle.width:I
            aload 1 /* bounds */
            getfield java.awt.Rectangle.height:I
            imul
            newarray 10
            astore 2 /* c */
        start local 2 // int[] c
         1: .line 185
            aload 0 /* this */
            aload 1 /* bounds */
            aload 2 /* c */
            invokevirtual sun.lwawt.macosx.CRobot.getScreenPixels:(Ljava/awt/Rectangle;[I)V
         2: .line 187
            aload 2 /* c */
            areturn
        end local 2 // int[] c
        end local 1 // java.awt.Rectangle bounds
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lsun/lwawt/macosx/CRobot;
            0    3     1  bounds  Ljava/awt/Rectangle;
            1    3     2       c  [I
    MethodParameters:
        Name  Flags
      bounds  final

  private native void initRobot();
    descriptor: ()V
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE

  private native void mouseEvent(int, int, int, boolean, boolean);
    descriptor: (IIIZZ)V
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
    MethodParameters:
                    Name  Flags
      lastX               
      lastY               
      buttonsState        
      isButtonsDownState  
      isMouseMove         

  private native void keyEvent(int, boolean);
    descriptor: (IZ)V
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
    MethodParameters:
             Name  Flags
      javaKeyCode  
      keydown      

  private void getScreenPixels(java.awt.Rectangle, int[]);
    descriptor: (Ljava/awt/Rectangle;[I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=5, args_size=3
        start local 0 // sun.lwawt.macosx.CRobot this
        start local 1 // java.awt.Rectangle r
        start local 2 // int[] pixels
         0: .line 196
            aload 0 /* this */
            getfield sun.lwawt.macosx.CRobot.fDevice:Lsun/awt/CGraphicsDevice;
            invokevirtual sun.awt.CGraphicsDevice.getScaleFactor:()I
            i2d
            dstore 3 /* scale */
        start local 3 // double scale
         1: .line 197
            aload 0 /* this */
            aload 1 /* r */
            getfield java.awt.Rectangle.x:I
            aload 1 /* r */
            getfield java.awt.Rectangle.y:I
            aload 1 /* r */
            getfield java.awt.Rectangle.width:I
            aload 1 /* r */
            getfield java.awt.Rectangle.height:I
            dload 3 /* scale */
            aload 2 /* pixels */
            invokevirtual sun.lwawt.macosx.CRobot.nativeGetScreenPixels:(IIIID[I)V
         2: .line 198
            return
        end local 3 // double scale
        end local 2 // int[] pixels
        end local 1 // java.awt.Rectangle r
        end local 0 // sun.lwawt.macosx.CRobot this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lsun/lwawt/macosx/CRobot;
            0    3     1       r  Ljava/awt/Rectangle;
            0    3     2  pixels  [I
            1    3     3   scale  D
    MethodParameters:
        Name  Flags
      r       
      pixels  

  private native void nativeGetScreenPixels(int, int, int, int, double, int[]);
    descriptor: (IIIID[I)V
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
    MethodParameters:
        Name  Flags
      x       
      y       
      width   
      height  
      scale   
      pixels  
}
SourceFile: "CRobot.java"