class sun.awt.X11.XRobotPeer implements java.awt.peer.RobotPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.X11.XRobotPeer
super_class: java.lang.Object
{
private sun.awt.X11GraphicsConfig xgc;
descriptor: Lsun/awt/X11GraphicsConfig;
flags: (0x0002) ACC_PRIVATE
static java.lang.Object robotLock;
descriptor: Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic sun.awt.X11.XRobotPeer.robotLock:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.awt.X11.XRobotPeer.xgc:Lsun/awt/X11GraphicsConfig;
2: aload 0
aload 1
checkcast sun.awt.X11GraphicsConfig
putfield sun.awt.X11.XRobotPeer.xgc:Lsun/awt/X11GraphicsConfig;
3: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
checkcast sun.awt.SunToolkit
astore 2
start local 2 4: aload 2
invokevirtual sun.awt.SunToolkit.getNumberOfButtons:()I
invokestatic sun.awt.AWTAccessor.getInputEventAccessor:()Lsun/awt/AWTAccessor$InputEventAccessor;
invokeinterface sun.awt.AWTAccessor$InputEventAccessor.getButtonDownMasks:()[I
invokestatic sun.awt.X11.XRobotPeer.setup:(I[I)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XRobotPeer;
0 6 1 gc Ljava/awt/GraphicsConfiguration;
4 6 2 tk Lsun/awt/SunToolkit;
MethodParameters:
Name Flags
gc
public void dispose();
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 Lsun/awt/X11/XRobotPeer;
public void mouseMove(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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;
iload 1
iload 2
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=6, 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
invokestatic sun.awt.X11.XRobotPeer.getRGBPixelsImpl:(Lsun/awt/X11GraphicsConfig;IIII[I)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=6, 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
aload 2
invokestatic sun.awt.X11.XRobotPeer.getRGBPixelsImpl:(Lsun/awt/X11GraphicsConfig;IIII[I)V
2: aload 2
areturn
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 bounds Ljava/awt/Rectangle;
1 3 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 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[]);
descriptor: (Lsun/awt/X11GraphicsConfig;IIII[I)V
flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
xgc
x
y
width
height
pixelArray
}
SourceFile: "XRobotPeer.java"
InnerClasses:
public abstract InputEventAccessor = sun.awt.AWTAccessor$InputEventAccessor of sun.awt.AWTAccessor