final class sun.awt.X11.XRobotPeer implements java.awt.peer.RobotPeer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11.XRobotPeer
super_class: java.lang.Object
{
private static final boolean tryGtk;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile boolean useGtk;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private final sun.awt.X11GraphicsConfig xgc;
descriptor: Lsun/awt/X11GraphicsConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic sun.awt.X11.XRobotPeer.loadNativeLibraries:()V
1: new sun.security.action.GetPropertyAction
dup
ldc "awt.robot.gtk"
ldc "true"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
3: invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.awt.X11.XRobotPeer.tryGtk:Z
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.awt.X11GraphicsDevice);
descriptor: (Lsun/awt/X11GraphicsDevice;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual sun.awt.X11GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
checkcast sun.awt.X11GraphicsConfig
putfield sun.awt.X11.XRobotPeer.xgc:Lsun/awt/X11GraphicsConfig;
2: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
checkcast sun.awt.SunToolkit
astore 2
start local 2 3: aload 2
invokevirtual sun.awt.SunToolkit.getNumberOfButtons:()I
4: invokestatic sun.awt.AWTAccessor.getInputEventAccessor:()Lsun/awt/AWTAccessor$InputEventAccessor;
invokeinterface sun.awt.AWTAccessor$InputEventAccessor.getButtonDownMasks:()[I
5: invokestatic sun.awt.X11.XRobotPeer.setup:(I[I)V
6: iconst_0
istore 3
start local 3 7: getstatic sun.awt.X11.XRobotPeer.tryGtk:Z
ifeq 10
8: aload 2
instanceof sun.awt.UNIXToolkit
ifeq 10
aload 2
checkcast sun.awt.UNIXToolkit
invokevirtual sun.awt.UNIXToolkit.loadGTK:()Z
ifeq 10
9: iconst_1
istore 3
10: StackMap locals: sun.awt.X11.XRobotPeer sun.awt.X11GraphicsDevice sun.awt.SunToolkit int
StackMap stack:
getstatic sun.awt.X11.XRobotPeer.tryGtk:Z
ifeq 11
iload 3
ifeq 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: putstatic sun.awt.X11.XRobotPeer.useGtk:Z
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/X11/XRobotPeer;
0 14 1 gd Lsun/awt/X11GraphicsDevice;
3 14 2 tk Lsun/awt/SunToolkit;
7 14 3 isGtkSupported Z
MethodParameters:
Name Flags
gd
public void mouseMove(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.X11.XRobotPeer.xgc:Lsun/awt/X11GraphicsConfig;
aload 0
getfield sun.awt.X11.XRobotPeer.xgc:Lsun/awt/X11GraphicsConfig;
iload 1
invokevirtual sun.awt.X11GraphicsConfig.scaleUp:(I)I
aload 0
getfield sun.awt.X11.XRobotPeer.xgc:Lsun/awt/X11GraphicsConfig;
iload 2
invokevirtual sun.awt.X11GraphicsConfig.scaleUp:(I)I
invokestatic sun.awt.X11.XRobotPeer.mouseMoveImpl:(Lsun/awt/X11GraphicsConfig;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XRobotPeer;
0 2 1 x I
0 2 2 y I
MethodParameters:
Name Flags
x
y
public void mousePress(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic sun.awt.X11.XRobotPeer.mousePressImpl:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XRobotPeer;
0 2 1 buttons I
MethodParameters:
Name Flags
buttons
public void mouseRelease(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic sun.awt.X11.XRobotPeer.mouseReleaseImpl:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XRobotPeer;
0 2 1 buttons I
MethodParameters:
Name Flags
buttons
public void mouseWheel(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic sun.awt.X11.XRobotPeer.mouseWheelImpl:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XRobotPeer;
0 2 1 wheelAmt I
MethodParameters:
Name Flags
wheelAmt
public void keyPress(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic sun.awt.X11.XRobotPeer.keyPressImpl:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XRobotPeer;
0 2 1 keycode I
MethodParameters:
Name Flags
keycode
public void keyRelease(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic sun.awt.X11.XRobotPeer.keyReleaseImpl:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XRobotPeer;
0 2 1 keycode I
MethodParameters:
Name Flags
keycode
public int getRGBPixel(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
newarray 10
astore 3
start local 3 1: aload 0
getfield sun.awt.X11.XRobotPeer.xgc:Lsun/awt/X11GraphicsConfig;
iload 1
iload 2
iconst_1
iconst_1
aload 3
getstatic sun.awt.X11.XRobotPeer.useGtk:Z
invokestatic sun.awt.X11.XRobotPeer.getRGBPixelsImpl:(Lsun/awt/X11GraphicsConfig;IIII[IZ)V
2: aload 3
iconst_0
iaload
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XRobotPeer;
0 3 1 x I
0 3 2 y I
1 3 3 pixelArray [I
MethodParameters:
Name Flags
x
y
public int[] getRGBPixels(java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield java.awt.Rectangle.width:I
aload 1
getfield java.awt.Rectangle.height:I
imul
newarray 10
astore 2
start local 2 1: aload 0
getfield sun.awt.X11.XRobotPeer.xgc:Lsun/awt/X11GraphicsConfig;
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.width:I
aload 1
getfield java.awt.Rectangle.height:I
2: aload 2
getstatic sun.awt.X11.XRobotPeer.useGtk:Z
3: invokestatic sun.awt.X11.XRobotPeer.getRGBPixelsImpl:(Lsun/awt/X11GraphicsConfig;IIII[IZ)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XRobotPeer;
0 5 1 bounds Ljava/awt/Rectangle;
1 5 2 pixelArray [I
MethodParameters:
Name Flags
bounds
private static synchronized native void setup(int, int[]);
descriptor: (I[I)V
flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
numberOfButtons
buttonDownMasks
private static native void loadNativeLibraries();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static synchronized native void mouseMoveImpl(sun.awt.X11GraphicsConfig, int, int);
descriptor: (Lsun/awt/X11GraphicsConfig;II)V
flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
xgc
x
y
private static synchronized native void mousePressImpl(int);
descriptor: (I)V
flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
buttons
private static synchronized native void mouseReleaseImpl(int);
descriptor: (I)V
flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
buttons
private static synchronized native void mouseWheelImpl(int);
descriptor: (I)V
flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
wheelAmt
private static synchronized native void keyPressImpl(int);
descriptor: (I)V
flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
keycode
private static synchronized native void keyReleaseImpl(int);
descriptor: (I)V
flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
keycode
private static synchronized native void getRGBPixelsImpl(sun.awt.X11GraphicsConfig, int, int, int, int, int[], boolean);
descriptor: (Lsun/awt/X11GraphicsConfig;IIII[IZ)V
flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
xgc
x
y
width
height
pixelArray
isGtkSupported
}
SourceFile: "XRobotPeer.java"
InnerClasses:
public abstract InputEventAccessor = sun.awt.AWTAccessor$InputEventAccessor of sun.awt.AWTAccessor