class com.sun.glass.ui.monocle.X11InputDeviceRegistry extends com.sun.glass.ui.monocle.InputDeviceRegistry
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.X11InputDeviceRegistry
super_class: com.sun.glass.ui.monocle.InputDeviceRegistry
{
private com.sun.glass.ui.monocle.MouseState state;
descriptor: Lcom/sun/glass/ui/monocle/MouseState;
flags: (0x0002) ACC_PRIVATE
private static com.sun.glass.ui.monocle.X xLib;
descriptor: Lcom/sun/glass/ui/monocle/X;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.glass.ui.monocle.X.getX:()Lcom/sun/glass/ui/monocle/X;
putstatic com.sun.glass.ui.monocle.X11InputDeviceRegistry.xLib:Lcom/sun/glass/ui/monocle/X;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokespecial com.sun.glass.ui.monocle.InputDeviceRegistry.<init>:()V
1: new com.sun.glass.ui.monocle.X11InputDeviceRegistry$1
dup
aload 0
invokespecial com.sun.glass.ui.monocle.X11InputDeviceRegistry$1.<init>:(Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;)V
astore 1
start local 1 2: new java.lang.Thread
dup
aload 0
aload 1
invokedynamic run(Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;Lcom/sun/glass/ui/monocle/InputDevice;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
com/sun/glass/ui/monocle/X11InputDeviceRegistry.lambda$0(Lcom/sun/glass/ui/monocle/InputDevice;)V (7)
()V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
astore 2
start local 2 3: aload 2
ldc "X11 Input"
invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
4: aload 2
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
5: aload 2
invokevirtual java.lang.Thread.start:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;
2 7 1 device Lcom/sun/glass/ui/monocle/InputDevice;
3 7 2 x11InputThread Ljava/lang/Thread;
private void processXEvent(com.sun.glass.ui.monocle.X$XEvent, com.sun.glass.ui.monocle.RunnableProcessor);
descriptor: (Lcom/sun/glass/ui/monocle/X$XEvent;Lcom/sun/glass/ui/monocle/RunnableProcessor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield com.sun.glass.ui.monocle.X$XEvent.p:J
invokestatic com.sun.glass.ui.monocle.X$XEvent.getType:(J)I
tableswitch { // 4 - 6
4: 1
5: 5
6: 11
default: 15
}
1: StackMap locals:
StackMap stack:
new com.sun.glass.ui.monocle.X$XButtonEvent
dup
aload 1
invokespecial com.sun.glass.ui.monocle.X$XButtonEvent.<init>:(Lcom/sun/glass/ui/monocle/X$XEvent;)V
astore 3
start local 3 2: aload 3
getfield com.sun.glass.ui.monocle.X$XButtonEvent.p:J
invokestatic com.sun.glass.ui.monocle.X$XButtonEvent.getButton:(J)I
istore 4
start local 4 3: aload 2
new com.sun.glass.ui.monocle.X11InputDeviceRegistry$ButtonPressProcessor
dup
aload 0
iload 4
invokespecial com.sun.glass.ui.monocle.X11InputDeviceRegistry$ButtonPressProcessor.<init>:(Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;I)V
invokevirtual com.sun.glass.ui.monocle.RunnableProcessor.invokeLater:(Ljava/lang/Runnable;)V
4: goto 15
end local 4 end local 3 5: StackMap locals:
StackMap stack:
new com.sun.glass.ui.monocle.X$XButtonEvent
dup
aload 1
invokespecial com.sun.glass.ui.monocle.X$XButtonEvent.<init>:(Lcom/sun/glass/ui/monocle/X$XEvent;)V
astore 3
start local 3 6: aload 3
getfield com.sun.glass.ui.monocle.X$XButtonEvent.p:J
invokestatic com.sun.glass.ui.monocle.X$XButtonEvent.getButton:(J)I
istore 4
start local 4 7: aload 2
8: new com.sun.glass.ui.monocle.X11InputDeviceRegistry$ButtonReleaseProcessor
dup
aload 0
iload 4
invokespecial com.sun.glass.ui.monocle.X11InputDeviceRegistry$ButtonReleaseProcessor.<init>:(Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;I)V
9: invokevirtual com.sun.glass.ui.monocle.RunnableProcessor.invokeLater:(Ljava/lang/Runnable;)V
10: goto 15
end local 4 end local 3 11: StackMap locals:
StackMap stack:
new com.sun.glass.ui.monocle.X$XMotionEvent
dup
aload 1
invokespecial com.sun.glass.ui.monocle.X$XMotionEvent.<init>:(Lcom/sun/glass/ui/monocle/X$XEvent;)V
astore 3
start local 3 12: aload 3
getfield com.sun.glass.ui.monocle.X$XMotionEvent.p:J
invokestatic com.sun.glass.ui.monocle.X$XMotionEvent.getX:(J)I
istore 4
start local 4 13: aload 3
getfield com.sun.glass.ui.monocle.X$XMotionEvent.p:J
invokestatic com.sun.glass.ui.monocle.X$XMotionEvent.getY:(J)I
istore 5
start local 5 14: aload 2
new com.sun.glass.ui.monocle.X11InputDeviceRegistry$MotionProcessor
dup
aload 0
iload 4
iload 5
invokespecial com.sun.glass.ui.monocle.X11InputDeviceRegistry$MotionProcessor.<init>:(Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;II)V
invokevirtual com.sun.glass.ui.monocle.RunnableProcessor.invokeLater:(Ljava/lang/Runnable;)V
end local 5 end local 4 end local 3 15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;
0 16 1 event Lcom/sun/glass/ui/monocle/X$XEvent;
0 16 2 runnableProcessor Lcom/sun/glass/ui/monocle/RunnableProcessor;
2 5 3 buttonEvent Lcom/sun/glass/ui/monocle/X$XButtonEvent;
3 5 4 button I
6 11 3 buttonEvent Lcom/sun/glass/ui/monocle/X$XButtonEvent;
7 11 4 button I
12 15 3 motionEvent Lcom/sun/glass/ui/monocle/X$XMotionEvent;
13 15 4 x I
14 15 5 y I
MethodParameters:
Name Flags
event
runnableProcessor
private static int buttonToGlassButton(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 1 - 9
1: 1
2: 2
3: 3
4: 6
5: 6
6: 6
7: 6
8: 4
9: 5
default: 6
}
1: StackMap locals:
StackMap stack:
sipush 212
ireturn
2: StackMap locals:
StackMap stack:
sipush 214
ireturn
3: StackMap locals:
StackMap stack:
sipush 213
ireturn
4: StackMap locals:
StackMap stack:
sipush 215
ireturn
5: StackMap locals:
StackMap stack:
sipush 216
ireturn
6: StackMap locals:
StackMap stack:
sipush 211
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 button I
MethodParameters:
Name Flags
button
private void lambda$0(com.sun.glass.ui.monocle.InputDevice);
descriptor: (Lcom/sun/glass/ui/monocle/InputDevice;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=10, args_size=2
start local 0 0: invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
1: astore 2
start local 2 2: aload 2
invokevirtual com.sun.glass.ui.monocle.NativePlatform.getScreen:()Lcom/sun/glass/ui/monocle/NativeScreen;
checkcast com.sun.glass.ui.monocle.X11Screen
astore 3
start local 3 3: aload 3
invokevirtual com.sun.glass.ui.monocle.X11Screen.getDisplay:()J
lstore 4
start local 4 4: aload 3
invokevirtual com.sun.glass.ui.monocle.X11Screen.getNativeHandle:()J
lstore 6
start local 6 5: aload 2
invokevirtual com.sun.glass.ui.monocle.NativePlatform.getRunnableProcessor:()Lcom/sun/glass/ui/monocle/RunnableProcessor;
6: astore 8
start local 8 7: aload 8
aload 0
aload 1
invokedynamic run(Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;Lcom/sun/glass/ui/monocle/InputDevice;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
com/sun/glass/ui/monocle/X11InputDeviceRegistry.lambda$1(Lcom/sun/glass/ui/monocle/InputDevice;)V (7)
()V
invokevirtual com.sun.glass.ui.monocle.RunnableProcessor.invokeLater:(Ljava/lang/Runnable;)V
8: aload 0
new com.sun.glass.ui.monocle.MouseState
dup
invokespecial com.sun.glass.ui.monocle.MouseState.<init>:()V
putfield com.sun.glass.ui.monocle.X11InputDeviceRegistry.state:Lcom/sun/glass/ui/monocle/MouseState;
9: new com.sun.glass.ui.monocle.X$XEvent
dup
invokespecial com.sun.glass.ui.monocle.X$XEvent.<init>:()V
astore 9
start local 9 10: StackMap locals: com.sun.glass.ui.monocle.X11InputDeviceRegistry com.sun.glass.ui.monocle.InputDevice com.sun.glass.ui.monocle.NativePlatform com.sun.glass.ui.monocle.X11Screen long long com.sun.glass.ui.monocle.RunnableProcessor com.sun.glass.ui.monocle.X$XEvent
StackMap stack:
getstatic com.sun.glass.ui.monocle.X11InputDeviceRegistry.xLib:Lcom/sun/glass/ui/monocle/X;
lload 4
aload 9
getfield com.sun.glass.ui.monocle.X$XEvent.p:J
invokevirtual com.sun.glass.ui.monocle.X.XNextEvent:(JJ)V
11: aload 9
getfield com.sun.glass.ui.monocle.X$XEvent.p:J
invokestatic com.sun.glass.ui.monocle.X$XEvent.getWindow:(J)J
lload 6
lcmp
ifeq 13
12: goto 10
13: StackMap locals:
StackMap stack:
aload 0
aload 9
aload 8
invokevirtual com.sun.glass.ui.monocle.X11InputDeviceRegistry.processXEvent:(Lcom/sun/glass/ui/monocle/X$XEvent;Lcom/sun/glass/ui/monocle/RunnableProcessor;)V
14: goto 10
end local 9 end local 8 end local 6 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;
2 15 2 platform Lcom/sun/glass/ui/monocle/NativePlatform;
3 15 3 screen Lcom/sun/glass/ui/monocle/X11Screen;
4 15 4 display J
5 15 6 window J
7 15 8 runnableProcessor Lcom/sun/glass/ui/monocle/RunnableProcessor;
10 15 9 event Lcom/sun/glass/ui/monocle/X$XEvent;
private void lambda$1(com.sun.glass.ui.monocle.InputDevice);
descriptor: (Lcom/sun/glass/ui/monocle/InputDevice;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.X11InputDeviceRegistry.devices:Ljavafx/collections/ObservableSet;
aload 1
invokeinterface javafx.collections.ObservableSet.add:(Ljava/lang/Object;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/X11InputDeviceRegistry;
}
SourceFile: "X11InputDeviceRegistry.java"
NestMembers:
com.sun.glass.ui.monocle.X11InputDeviceRegistry$1 com.sun.glass.ui.monocle.X11InputDeviceRegistry$ButtonPressProcessor com.sun.glass.ui.monocle.X11InputDeviceRegistry$ButtonReleaseProcessor com.sun.glass.ui.monocle.X11InputDeviceRegistry$MotionProcessor
InnerClasses:
XButtonEvent = com.sun.glass.ui.monocle.X$XButtonEvent of com.sun.glass.ui.monocle.X
XEvent = com.sun.glass.ui.monocle.X$XEvent of com.sun.glass.ui.monocle.X
XMotionEvent = com.sun.glass.ui.monocle.X$XMotionEvent of com.sun.glass.ui.monocle.X
com.sun.glass.ui.monocle.X11InputDeviceRegistry$1
private ButtonPressProcessor = com.sun.glass.ui.monocle.X11InputDeviceRegistry$ButtonPressProcessor of com.sun.glass.ui.monocle.X11InputDeviceRegistry
private ButtonReleaseProcessor = com.sun.glass.ui.monocle.X11InputDeviceRegistry$ButtonReleaseProcessor of com.sun.glass.ui.monocle.X11InputDeviceRegistry
private MotionProcessor = com.sun.glass.ui.monocle.X11InputDeviceRegistry$MotionProcessor of com.sun.glass.ui.monocle.X11InputDeviceRegistry
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles