public class java.awt.Robot
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: java.awt.Robot
  super_class: java.lang.Object
{
  private static final int MAX_DELAY;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 60000

  private java.awt.peer.RobotPeer peer;
    descriptor: Ljava/awt/peer/RobotPeer;
    flags: (0x0002) ACC_PRIVATE

  private boolean isAutoWaitForIdle;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

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

  private static int LEGAL_BUTTON_MASK;
    descriptor: I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private java.awt.Point gdLoc;
    descriptor: Ljava/awt/Point;
    flags: (0x0002) ACC_PRIVATE

  private java.awt.image.DirectColorModel screenCapCM;
    descriptor: Ljava/awt/image/DirectColorModel;
    flags: (0x0002) ACC_PRIVATE

  private transient java.lang.Object anchor;
    descriptor: Ljava/lang/Object;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient java.awt.Robot$RobotDisposer disposer;
    descriptor: Ljava/awt/Robot$RobotDisposer;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 73
            iconst_0
            putstatic java.awt.Robot.LEGAL_BUTTON_MASK:I
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 92
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 71
            aload 0 /* this */
            iconst_0
            putfield java.awt.Robot.isAutoWaitForIdle:Z
         2: .line 72
            aload 0 /* this */
            iconst_0
            putfield java.awt.Robot.autoDelay:I
         3: .line 78
            aload 0 /* this */
            aconst_null
            putfield java.awt.Robot.screenCapCM:Ljava/awt/image/DirectColorModel;
         4: .line 181
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield java.awt.Robot.anchor:Ljava/lang/Object;
         5: .line 93
            invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
            ifeq 7
         6: .line 94
            new java.awt.AWTException
            dup
            ldc "headless environment"
            invokespecial java.awt.AWTException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 96
      StackMap locals: java.awt.Robot
      StackMap stack:
            aload 0 /* this */
            invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
         8: .line 97
            invokevirtual java.awt.GraphicsEnvironment.getDefaultScreenDevice:()Ljava/awt/GraphicsDevice;
         9: .line 96
            invokevirtual java.awt.Robot.init:(Ljava/awt/GraphicsDevice;)V
        10: .line 98
            return
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Ljava/awt/Robot;
    Exceptions:
      throws java.awt.AWTException

  public void <init>(java.awt.GraphicsDevice);
    descriptor: (Ljava/awt/GraphicsDevice;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // java.awt.GraphicsDevice screen
         0: .line 128
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 71
            aload 0 /* this */
            iconst_0
            putfield java.awt.Robot.isAutoWaitForIdle:Z
         2: .line 72
            aload 0 /* this */
            iconst_0
            putfield java.awt.Robot.autoDelay:I
         3: .line 78
            aload 0 /* this */
            aconst_null
            putfield java.awt.Robot.screenCapCM:Ljava/awt/image/DirectColorModel;
         4: .line 181
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield java.awt.Robot.anchor:Ljava/lang/Object;
         5: .line 129
            aload 0 /* this */
            aload 1 /* screen */
            invokevirtual java.awt.Robot.checkIsScreenDevice:(Ljava/awt/GraphicsDevice;)V
         6: .line 130
            aload 0 /* this */
            aload 1 /* screen */
            invokevirtual java.awt.Robot.init:(Ljava/awt/GraphicsDevice;)V
         7: .line 131
            return
        end local 1 // java.awt.GraphicsDevice screen
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Ljava/awt/Robot;
            0    8     1  screen  Ljava/awt/GraphicsDevice;
    Exceptions:
      throws java.awt.AWTException
    MethodParameters:
        Name  Flags
      screen  

  private void init(java.awt.GraphicsDevice);
    descriptor: (Ljava/awt/GraphicsDevice;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // java.awt.GraphicsDevice screen
         0: .line 134
            aload 0 /* this */
            invokevirtual java.awt.Robot.checkRobotAllowed:()V
         1: .line 135
            aload 0 /* this */
            aload 1 /* screen */
            invokevirtual java.awt.GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
            invokevirtual java.awt.GraphicsConfiguration.getBounds:()Ljava/awt/Rectangle;
            invokevirtual java.awt.Rectangle.getLocation:()Ljava/awt/Point;
            putfield java.awt.Robot.gdLoc:Ljava/awt/Point;
         2: .line 136
            invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
            astore 2 /* toolkit */
        start local 2 // java.awt.Toolkit toolkit
         3: .line 137
            aload 2 /* toolkit */
            instanceof sun.awt.ComponentFactory
            ifeq 7
         4: .line 138
            aload 0 /* this */
            aload 2 /* toolkit */
            checkcast sun.awt.ComponentFactory
            aload 0 /* this */
            aload 1 /* screen */
            invokeinterface sun.awt.ComponentFactory.createRobot:(Ljava/awt/Robot;Ljava/awt/GraphicsDevice;)Ljava/awt/peer/RobotPeer;
            putfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
         5: .line 139
            aload 0 /* this */
            new java.awt.Robot$RobotDisposer
            dup
            aload 0 /* this */
            getfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
            invokespecial java.awt.Robot$RobotDisposer.<init>:(Ljava/awt/peer/RobotPeer;)V
            putfield java.awt.Robot.disposer:Ljava/awt/Robot$RobotDisposer;
         6: .line 140
            aload 0 /* this */
            getfield java.awt.Robot.anchor:Ljava/lang/Object;
            aload 0 /* this */
            getfield java.awt.Robot.disposer:Ljava/awt/Robot$RobotDisposer;
            invokestatic sun.java2d.Disposer.addRecord:(Ljava/lang/Object;Lsun/java2d/DisposerRecord;)V
         7: .line 142
      StackMap locals: java.awt.Toolkit
      StackMap stack:
            invokestatic java.awt.Robot.initLegalButtonMask:()V
         8: .line 143
            return
        end local 2 // java.awt.Toolkit toolkit
        end local 1 // java.awt.GraphicsDevice screen
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Ljava/awt/Robot;
            0    9     1   screen  Ljava/awt/GraphicsDevice;
            3    9     2  toolkit  Ljava/awt/Toolkit;
    Exceptions:
      throws java.awt.AWTException
    MethodParameters:
        Name  Flags
      screen  

  private static synchronized void initLegalButtonMask();
    descriptor: ()V
    flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=0
         0: .line 146
            getstatic java.awt.Robot.LEGAL_BUTTON_MASK:I
            ifeq 1
            return
         1: .line 148
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 0 /* tmpMask */
        start local 0 // int tmpMask
         2: .line 149
            invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
            invokevirtual java.awt.Toolkit.areExtraMouseButtonsEnabled:()Z
            ifeq 10
         3: .line 150
            invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
            instanceof sun.awt.SunToolkit
            ifeq 10
         4: .line 151
            invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
            checkcast sun.awt.SunToolkit
            invokevirtual sun.awt.SunToolkit.getNumberOfButtons:()I
            istore 1 /* buttonsNumber */
        start local 1 // int buttonsNumber
         5: .line 152
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         6: goto 9
         7: .line 153
      StackMap locals: int int int
      StackMap stack:
            iload 0 /* tmpMask */
            iload 2 /* i */
            iconst_1
            iadd
            invokestatic java.awt.event.InputEvent.getMaskForButton:(I)I
            ior
            istore 0 /* tmpMask */
         8: .line 152
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 2 /* i */
            iload 1 /* buttonsNumber */
            if_icmplt 7
        end local 2 // int i
        end local 1 // int buttonsNumber
        10: .line 157
      StackMap locals:
      StackMap stack:
            iload 0 /* tmpMask */
            sipush 7196
            ior
            istore 0 /* tmpMask */
        11: .line 163
            iload 0 /* tmpMask */
            putstatic java.awt.Robot.LEGAL_BUTTON_MASK:I
        12: .line 164
            return
        end local 0 // int tmpMask
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            2   13     0        tmpMask  I
            5   10     1  buttonsNumber  I
            6   10     2              i  I

  private void checkRobotAllowed();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 168
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 1 /* security */
        start local 1 // java.lang.SecurityManager security
         1: .line 169
            aload 1 /* security */
            ifnull 3
         2: .line 170
            aload 1 /* security */
            getstatic sun.security.util.SecurityConstants$AWT.CREATE_ROBOT_PERMISSION:Ljava/security/Permission;
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         3: .line 172
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            return
        end local 1 // java.lang.SecurityManager security
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Ljava/awt/Robot;
            1    4     1  security  Ljava/lang/SecurityManager;

  private void checkIsScreenDevice(java.awt.GraphicsDevice);
    descriptor: (Ljava/awt/GraphicsDevice;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // java.awt.GraphicsDevice device
         0: .line 176
            aload 1 /* device */
            ifnull 1
            aload 1 /* device */
            invokevirtual java.awt.GraphicsDevice.getType:()I
            ifeq 2
         1: .line 177
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "not a valid screen device"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 179
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.awt.GraphicsDevice device
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljava/awt/Robot;
            0    3     1  device  Ljava/awt/GraphicsDevice;
    MethodParameters:
        Name  Flags
      device  

  public synchronized void mouseMove(int, int);
    descriptor: (II)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // java.awt.Robot this
        start local 1 // int x
        start local 2 // int y
         0: .line 203
            aload 0 /* this */
            getfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
            aload 0 /* this */
            getfield java.awt.Robot.gdLoc:Ljava/awt/Point;
            getfield java.awt.Point.x:I
            iload 1 /* x */
            iadd
            aload 0 /* this */
            getfield java.awt.Robot.gdLoc:Ljava/awt/Point;
            getfield java.awt.Point.y:I
            iload 2 /* y */
            iadd
            invokeinterface java.awt.peer.RobotPeer.mouseMove:(II)V
         1: .line 204
            aload 0 /* this */
            invokevirtual java.awt.Robot.afterEvent:()V
         2: .line 205
            return
        end local 2 // int y
        end local 1 // int x
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/awt/Robot;
            0    3     1     x  I
            0    3     2     y  I
    MethodParameters:
      Name  Flags
      x     
      y     

  public synchronized void mousePress(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int buttons
         0: .line 260
            aload 0 /* this */
            iload 1 /* buttons */
            invokevirtual java.awt.Robot.checkButtonsArgument:(I)V
         1: .line 261
            aload 0 /* this */
            getfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
            iload 1 /* buttons */
            invokeinterface java.awt.peer.RobotPeer.mousePress:(I)V
         2: .line 262
            aload 0 /* this */
            invokevirtual java.awt.Robot.afterEvent:()V
         3: .line 263
            return
        end local 1 // int buttons
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljava/awt/Robot;
            0    4     1  buttons  I
    MethodParameters:
         Name  Flags
      buttons  

  public synchronized void mouseRelease(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int buttons
         0: .line 317
            aload 0 /* this */
            iload 1 /* buttons */
            invokevirtual java.awt.Robot.checkButtonsArgument:(I)V
         1: .line 318
            aload 0 /* this */
            getfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
            iload 1 /* buttons */
            invokeinterface java.awt.peer.RobotPeer.mouseRelease:(I)V
         2: .line 319
            aload 0 /* this */
            invokevirtual java.awt.Robot.afterEvent:()V
         3: .line 320
            return
        end local 1 // int buttons
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljava/awt/Robot;
            0    4     1  buttons  I
    MethodParameters:
         Name  Flags
      buttons  

  private void checkButtonsArgument(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int buttons
         0: .line 323
            iload 1 /* buttons */
            getstatic java.awt.Robot.LEGAL_BUTTON_MASK:I
            ior
            getstatic java.awt.Robot.LEGAL_BUTTON_MASK:I
            if_icmpeq 2
         1: .line 324
            new java.lang.IllegalArgumentException
            dup
            ldc "Invalid combination of button flags"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 326
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int buttons
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Ljava/awt/Robot;
            0    3     1  buttons  I
    MethodParameters:
         Name  Flags
      buttons  

  public synchronized void mouseWheel(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int wheelAmt
         0: .line 338
            aload 0 /* this */
            getfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
            iload 1 /* wheelAmt */
            invokeinterface java.awt.peer.RobotPeer.mouseWheel:(I)V
         1: .line 339
            aload 0 /* this */
            invokevirtual java.awt.Robot.afterEvent:()V
         2: .line 340
            return
        end local 1 // int wheelAmt
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Ljava/awt/Robot;
            0    3     1  wheelAmt  I
    MethodParameters:
          Name  Flags
      wheelAmt  

  public synchronized void keyPress(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int keycode
         0: .line 357
            aload 0 /* this */
            iload 1 /* keycode */
            invokevirtual java.awt.Robot.checkKeycodeArgument:(I)V
         1: .line 358
            aload 0 /* this */
            getfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
            iload 1 /* keycode */
            invokeinterface java.awt.peer.RobotPeer.keyPress:(I)V
         2: .line 359
            aload 0 /* this */
            invokevirtual java.awt.Robot.afterEvent:()V
         3: .line 360
            return
        end local 1 // int keycode
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljava/awt/Robot;
            0    4     1  keycode  I
    MethodParameters:
         Name  Flags
      keycode  

  public synchronized void keyRelease(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int keycode
         0: .line 376
            aload 0 /* this */
            iload 1 /* keycode */
            invokevirtual java.awt.Robot.checkKeycodeArgument:(I)V
         1: .line 377
            aload 0 /* this */
            getfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
            iload 1 /* keycode */
            invokeinterface java.awt.peer.RobotPeer.keyRelease:(I)V
         2: .line 378
            aload 0 /* this */
            invokevirtual java.awt.Robot.afterEvent:()V
         3: .line 379
            return
        end local 1 // int keycode
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljava/awt/Robot;
            0    4     1  keycode  I
    MethodParameters:
         Name  Flags
      keycode  

  private void checkKeycodeArgument(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int keycode
         0: .line 386
            iload 1 /* keycode */
            ifne 2
         1: .line 387
            new java.lang.IllegalArgumentException
            dup
            ldc "Invalid key code"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 389
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int keycode
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Ljava/awt/Robot;
            0    3     1  keycode  I
    MethodParameters:
         Name  Flags
      keycode  

  public synchronized java.awt.Color getPixelColor(int, int);
    descriptor: (II)Ljava/awt/Color;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // java.awt.Robot this
        start local 1 // int x
        start local 2 // int y
         0: .line 398
            invokestatic java.awt.Robot.checkScreenCaptureAllowed:()V
         1: .line 399
            new java.awt.Color
            dup
            aload 0 /* this */
            getfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
            aload 0 /* this */
            getfield java.awt.Robot.gdLoc:Ljava/awt/Point;
            getfield java.awt.Point.x:I
            iload 1 /* x */
            iadd
            aload 0 /* this */
            getfield java.awt.Robot.gdLoc:Ljava/awt/Point;
            getfield java.awt.Point.y:I
            iload 2 /* y */
            iadd
            invokeinterface java.awt.peer.RobotPeer.getRGBPixel:(II)I
            invokespecial java.awt.Color.<init>:(I)V
            astore 3 /* color */
        start local 3 // java.awt.Color color
         2: .line 400
            aload 3 /* color */
            areturn
        end local 3 // java.awt.Color color
        end local 2 // int y
        end local 1 // int x
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Ljava/awt/Robot;
            0    3     1      x  I
            0    3     2      y  I
            2    3     3  color  Ljava/awt/Color;
    MethodParameters:
      Name  Flags
      x     
      y     

  public synchronized java.awt.image.BufferedImage createScreenCapture(java.awt.Rectangle);
    descriptor: (Ljava/awt/Rectangle;)Ljava/awt/image/BufferedImage;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=7, locals=8, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // java.awt.Rectangle screenRect
         0: .line 414
            invokestatic java.awt.Robot.checkScreenCaptureAllowed:()V
         1: .line 417
            new java.awt.Rectangle
            dup
            aload 1 /* screenRect */
            invokespecial java.awt.Rectangle.<init>:(Ljava/awt/Rectangle;)V
            astore 2 /* translatedRect */
        start local 2 // java.awt.Rectangle translatedRect
         2: .line 418
            aload 2 /* translatedRect */
            aload 0 /* this */
            getfield java.awt.Robot.gdLoc:Ljava/awt/Point;
            getfield java.awt.Point.x:I
            aload 0 /* this */
            getfield java.awt.Robot.gdLoc:Ljava/awt/Point;
            getfield java.awt.Point.y:I
            invokevirtual java.awt.Rectangle.translate:(II)V
         3: .line 419
            aload 2 /* translatedRect */
            invokestatic java.awt.Robot.checkValidRect:(Ljava/awt/Rectangle;)V
         4: .line 425
            aload 0 /* this */
            getfield java.awt.Robot.screenCapCM:Ljava/awt/image/DirectColorModel;
            ifnonnull 10
         5: .line 432
            aload 0 /* this */
            new java.awt.image.DirectColorModel
            dup
            bipush 24
         6: .line 433
            ldc 16711680
         7: .line 434
            ldc 65280
         8: .line 435
            sipush 255
            invokespecial java.awt.image.DirectColorModel.<init>:(IIII)V
         9: .line 432
            putfield java.awt.Robot.screenCapCM:Ljava/awt/image/DirectColorModel;
        10: .line 440
      StackMap locals: java.awt.Rectangle
      StackMap stack:
            invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
            invokevirtual java.awt.Toolkit.sync:()V
        11: .line 443
            iconst_3
            newarray 10
            astore 7 /* bandmasks */
        start local 7 // int[] bandmasks
        12: .line 445
            aload 0 /* this */
            getfield java.awt.Robot.peer:Ljava/awt/peer/RobotPeer;
            aload 2 /* translatedRect */
            invokeinterface java.awt.peer.RobotPeer.getRGBPixels:(Ljava/awt/Rectangle;)[I
            astore 6 /* pixels */
        start local 6 // int[] pixels
        13: .line 446
            new java.awt.image.DataBufferInt
            dup
            aload 6 /* pixels */
            aload 6 /* pixels */
            arraylength
            invokespecial java.awt.image.DataBufferInt.<init>:([II)V
            astore 4 /* buffer */
        start local 4 // java.awt.image.DataBufferInt buffer
        14: .line 448
            aload 7 /* bandmasks */
            iconst_0
            aload 0 /* this */
            getfield java.awt.Robot.screenCapCM:Ljava/awt/image/DirectColorModel;
            invokevirtual java.awt.image.DirectColorModel.getRedMask:()I
            iastore
        15: .line 449
            aload 7 /* bandmasks */
            iconst_1
            aload 0 /* this */
            getfield java.awt.Robot.screenCapCM:Ljava/awt/image/DirectColorModel;
            invokevirtual java.awt.image.DirectColorModel.getGreenMask:()I
            iastore
        16: .line 450
            aload 7 /* bandmasks */
            iconst_2
            aload 0 /* this */
            getfield java.awt.Robot.screenCapCM:Ljava/awt/image/DirectColorModel;
            invokevirtual java.awt.image.DirectColorModel.getBlueMask:()I
            iastore
        17: .line 452
            aload 4 /* buffer */
            aload 2 /* translatedRect */
            getfield java.awt.Rectangle.width:I
            aload 2 /* translatedRect */
            getfield java.awt.Rectangle.height:I
            aload 2 /* translatedRect */
            getfield java.awt.Rectangle.width:I
            aload 7 /* bandmasks */
            aconst_null
            invokestatic java.awt.image.Raster.createPackedRaster:(Ljava/awt/image/DataBuffer;III[ILjava/awt/Point;)Ljava/awt/image/WritableRaster;
            astore 5 /* raster */
        start local 5 // java.awt.image.WritableRaster raster
        18: .line 453
            aload 4 /* buffer */
            invokestatic sun.awt.image.SunWritableRaster.makeTrackable:(Ljava/awt/image/DataBuffer;)V
        19: .line 455
            new java.awt.image.BufferedImage
            dup
            aload 0 /* this */
            getfield java.awt.Robot.screenCapCM:Ljava/awt/image/DirectColorModel;
            aload 5 /* raster */
            iconst_0
            aconst_null
            invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
            astore 3 /* image */
        start local 3 // java.awt.image.BufferedImage image
        20: .line 457
            aload 3 /* image */
            areturn
        end local 7 // int[] bandmasks
        end local 6 // int[] pixels
        end local 5 // java.awt.image.WritableRaster raster
        end local 4 // java.awt.image.DataBufferInt buffer
        end local 3 // java.awt.image.BufferedImage image
        end local 2 // java.awt.Rectangle translatedRect
        end local 1 // java.awt.Rectangle screenRect
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   21     0            this  Ljava/awt/Robot;
            0   21     1      screenRect  Ljava/awt/Rectangle;
            2   21     2  translatedRect  Ljava/awt/Rectangle;
           20   21     3           image  Ljava/awt/image/BufferedImage;
           14   21     4          buffer  Ljava/awt/image/DataBufferInt;
           18   21     5          raster  Ljava/awt/image/WritableRaster;
           13   21     6          pixels  [I
           12   21     7       bandmasks  [I
    MethodParameters:
            Name  Flags
      screenRect  

  private static void checkValidRect(java.awt.Rectangle);
    descriptor: (Ljava/awt/Rectangle;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.awt.Rectangle rect
         0: .line 461
            aload 0 /* rect */
            getfield java.awt.Rectangle.width:I
            ifle 1
            aload 0 /* rect */
            getfield java.awt.Rectangle.height:I
            ifgt 2
         1: .line 462
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "Rectangle width and height must be > 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 464
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.awt.Rectangle rect
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  rect  Ljava/awt/Rectangle;
    MethodParameters:
      Name  Flags
      rect  

  private static void checkScreenCaptureAllowed();
    descriptor: ()V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 467
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 0 /* security */
        start local 0 // java.lang.SecurityManager security
         1: .line 468
            aload 0 /* security */
            ifnull 5
         2: .line 469
            aload 0 /* security */
         3: .line 470
            getstatic sun.security.util.SecurityConstants$AWT.READ_DISPLAY_PIXELS_PERMISSION:Ljava/security/Permission;
         4: .line 469
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         5: .line 472
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            return
        end local 0 // java.lang.SecurityManager security
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            1    6     0  security  Ljava/lang/SecurityManager;

  private void afterEvent();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 478
            aload 0 /* this */
            invokevirtual java.awt.Robot.autoWaitForIdle:()V
         1: .line 479
            aload 0 /* this */
            invokevirtual java.awt.Robot.autoDelay:()V
         2: .line 480
            return
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/awt/Robot;

  public synchronized boolean isAutoWaitForIdle();
    descriptor: ()Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 488
            aload 0 /* this */
            getfield java.awt.Robot.isAutoWaitForIdle:Z
            ireturn
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/awt/Robot;

  public synchronized void setAutoWaitForIdle(boolean);
    descriptor: (Z)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // boolean isOn
         0: .line 497
            aload 0 /* this */
            iload 1 /* isOn */
            putfield java.awt.Robot.isAutoWaitForIdle:Z
         1: .line 498
            return
        end local 1 // boolean isOn
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/awt/Robot;
            0    2     1  isOn  Z
    MethodParameters:
      Name  Flags
      isOn  

  private void autoWaitForIdle();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 504
            aload 0 /* this */
            getfield java.awt.Robot.isAutoWaitForIdle:Z
            ifeq 2
         1: .line 505
            aload 0 /* this */
            invokevirtual java.awt.Robot.waitForIdle:()V
         2: .line 507
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/awt/Robot;

  public synchronized int getAutoDelay();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 513
            aload 0 /* this */
            getfield java.awt.Robot.autoDelay:I
            ireturn
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/awt/Robot;

  public synchronized void setAutoDelay(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int ms
         0: .line 521
            aload 0 /* this */
            iload 1 /* ms */
            invokevirtual java.awt.Robot.checkDelayArgument:(I)V
         1: .line 522
            aload 0 /* this */
            iload 1 /* ms */
            putfield java.awt.Robot.autoDelay:I
         2: .line 523
            return
        end local 1 // int ms
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/awt/Robot;
            0    3     1    ms  I
    MethodParameters:
      Name  Flags
      ms    

  private void autoDelay();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 529
            aload 0 /* this */
            aload 0 /* this */
            getfield java.awt.Robot.autoDelay:I
            invokevirtual java.awt.Robot.delay:(I)V
         1: .line 530
            return
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/awt/Robot;

  public synchronized void delay(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int ms
         0: .line 541
            aload 0 /* this */
            iload 1 /* ms */
            invokevirtual java.awt.Robot.checkDelayArgument:(I)V
         1: .line 543
            iload 1 /* ms */
            i2l
            invokestatic java.lang.Thread.sleep:(J)V
         2: .line 544
            goto 5
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         3: astore 2 /* ite */
        start local 2 // java.lang.InterruptedException ite
         4: .line 545
            aload 2 /* ite */
            invokevirtual java.lang.InterruptedException.printStackTrace:()V
        end local 2 // java.lang.InterruptedException ite
         5: .line 547
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int ms
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljava/awt/Robot;
            0    6     1    ms  I
            4    5     2   ite  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.InterruptedException
    MethodParameters:
      Name  Flags
      ms    

  private void checkDelayArgument(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.awt.Robot this
        start local 1 // int ms
         0: .line 550
            iload 1 /* ms */
            iflt 1
            iload 1 /* ms */
            ldc 60000
            if_icmple 2
         1: .line 551
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "Delay must be to 0 to 60,000ms"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 553
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int ms
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/awt/Robot;
            0    3     1    ms  I
    MethodParameters:
      Name  Flags
      ms    

  public synchronized void waitForIdle();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 560
            aload 0 /* this */
            invokevirtual java.awt.Robot.checkNotDispatchThread:()V
         1: .line 564
            invokestatic sun.awt.SunToolkit.flushPendingEvents:()V
         2: .line 565
            new java.awt.Robot$1
            dup
            aload 0 /* this */
            invokespecial java.awt.Robot$1.<init>:(Ljava/awt/Robot;)V
            invokestatic java.awt.EventQueue.invokeAndWait:(Ljava/lang/Runnable;)V
         3: .line 570
            goto 11
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         4: astore 1 /* ite */
        start local 1 // java.lang.InterruptedException ite
         5: .line 571
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Robot.waitForIdle, non-fatal exception caught:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         6: .line 572
            aload 1 /* ite */
            invokevirtual java.lang.InterruptedException.printStackTrace:()V
        end local 1 // java.lang.InterruptedException ite
         7: goto 11
         8: .line 573
      StackMap locals:
      StackMap stack: java.lang.reflect.InvocationTargetException
            astore 1 /* ine */
        start local 1 // java.lang.reflect.InvocationTargetException ine
         9: .line 574
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Robot.waitForIdle, non-fatal exception caught:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        10: .line 575
            aload 1 /* ine */
            invokevirtual java.lang.reflect.InvocationTargetException.printStackTrace:()V
        end local 1 // java.lang.reflect.InvocationTargetException ine
        11: .line 577
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Ljava/awt/Robot;
            5    7     1   ite  Ljava/lang/InterruptedException;
            9   11     1   ine  Ljava/lang/reflect/InvocationTargetException;
      Exception table:
        from    to  target  type
           1     3       4  Class java.lang.InterruptedException
           1     3       8  Class java.lang.reflect.InvocationTargetException

  private void checkNotDispatchThread();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 580
            invokestatic java.awt.EventQueue.isDispatchThread:()Z
            ifeq 2
         1: .line 581
            new java.lang.IllegalThreadStateException
            dup
            ldc "Cannot call method from the event dispatcher thread"
            invokespecial java.lang.IllegalThreadStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 583
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/awt/Robot;

  public synchronized java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.awt.Robot this
         0: .line 591
            new java.lang.StringBuilder
            dup
            ldc "autoDelay = "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            invokevirtual java.awt.Robot.getAutoDelay:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ", "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "autoWaitForIdle = "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            invokevirtual java.awt.Robot.isAutoWaitForIdle:()Z
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 1 /* params */
        start local 1 // java.lang.String params
         1: .line 592
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "[ "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* params */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " ]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.String params
        end local 0 // java.awt.Robot this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Ljava/awt/Robot;
            1    2     1  params  Ljava/lang/String;
}
SourceFile: "Robot.java"
NestMembers:
  java.awt.Robot$1  java.awt.Robot$RobotDisposer
InnerClasses:
  java.awt.Robot$1
  RobotDisposer = java.awt.Robot$RobotDisposer of java.awt.Robot
  public AWT = sun.security.util.SecurityConstants$AWT of sun.security.util.SecurityConstants