class com.sun.glass.ui.monocle.GetEvent
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.GetEvent
super_class: java.lang.Object
{
private static java.util.Set<java.io.File> devices;
descriptor: Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Set<Ljava/io/File;>;
private static com.sun.glass.ui.monocle.UdevListener udevListener;
descriptor: Lcom/sun/glass/ui/monocle/UdevListener;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic com.sun.glass.ui.monocle.GetEvent.devices:Ljava/util/Set;
1: invokedynamic udevEvent()Lcom/sun/glass/ui/monocle/UdevListener;
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:
(Ljava/lang/String;Ljava/util/Map;)V
com/sun/glass/ui/monocle/GetEvent.lambda$0(Ljava/lang/String;Ljava/util/Map;)V (6)
(Ljava/lang/String;Ljava/util/Map;)V
putstatic com.sun.glass.ui.monocle.GetEvent.udevListener:Lcom/sun/glass/ui/monocle/UdevListener;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/GetEvent;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
astore 1
start local 1 1: invokestatic com.sun.glass.ui.monocle.Udev.getInstance:()Lcom/sun/glass/ui/monocle/Udev;
getstatic com.sun.glass.ui.monocle.GetEvent.udevListener:Lcom/sun/glass/ui/monocle/UdevListener;
invokevirtual com.sun.glass.ui.monocle.Udev.addListener:(Lcom/sun/glass/ui/monocle/UdevListener;)V
2: ldc "input"
invokestatic com.sun.glass.ui.monocle.SysFS.triggerUdevNotification:(Ljava/lang/String;)V
3: new java.lang.Thread
dup
aload 1
invokevirtual com.sun.glass.ui.monocle.NativePlatform.getRunnableProcessor:()Lcom/sun/glass/ui/monocle/RunnableProcessor;
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
invokevirtual java.lang.Thread.start:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 argv [Ljava/lang/String;
1 5 1 platform Lcom/sun/glass/ui/monocle/NativePlatform;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
argv
private static void lambda$0(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=12, args_size=2
start local 0 start local 1 0: aload 1
ldc "SUBSYSTEM"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 1
ldc "DEVPATH"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 2: aload 2
ifnull 68
aload 2
ldc "input"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 68
3: aload 3
ifnull 68
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "%1$ts.%1$tL Received UEVENT:\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
aastore
6: invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
7: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 8: aload 4
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
9: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: java.lang.String java.util.Map java.lang.String java.lang.String java.util.List top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 11: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " %s='%s'\n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 1
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: new java.io.File
dup
ldc "/sys"
aload 3
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 14: aload 1
ldc "DEVNAME"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 15: aload 6
ifnonnull 17
16: return
17: StackMap locals: java.lang.String java.util.Map java.lang.String java.lang.String java.util.List java.io.File java.lang.String
StackMap stack:
aload 0
ldc "add"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
18: aload 0
ldc "change"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 63
19: getstatic com.sun.glass.ui.monocle.GetEvent.devices:Ljava/util/Set;
aload 5
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 63
20: StackMap locals:
StackMap stack:
new com.sun.glass.ui.monocle.LinuxInputDevice
dup
21: new java.io.File
dup
aload 6
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aload 5
aload 1
22: invokespecial com.sun.glass.ui.monocle.LinuxInputDevice.<init>:(Ljava/io/File;Ljava/io/File;Ljava/util/Map;)V
astore 7
start local 7 23: aload 7
new com.sun.glass.ui.monocle.LinuxInputProcessor$Logger
dup
invokespecial com.sun.glass.ui.monocle.LinuxInputProcessor$Logger.<init>:()V
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.setInputProcessor:(Lcom/sun/glass/ui/monocle/LinuxInputProcessor;)V
24: new java.lang.Thread
dup
aload 7
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
astore 8
start local 8 25: aload 8
aload 6
invokevirtual java.lang.String.toString:()Ljava/lang/String;
invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
26: aload 8
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
27: aload 8
invokevirtual java.lang.Thread.start:()V
28: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Added device "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
29: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " touch="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.isTouch:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
30: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " multiTouch="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.isMultiTouch:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
31: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " relative="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.isRelative:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
32: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " 5-way="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.is5Way:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
33: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " fullKeyboard="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.isFullKeyboard:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
34: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " PRODUCT="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.getProduct:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
35: iconst_0
istore 9
start local 9 36: goto 60
37: StackMap locals: com.sun.glass.ui.monocle.LinuxInputDevice java.lang.Thread int
StackMap stack:
aload 7
iload 9
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.getAbsoluteInputCapabilities:(I)Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;
38: astore 10
start local 10 39: aload 10
ifnull 59
40: ldc "EV_ABS"
iload 9
invokestatic com.sun.glass.ui.monocle.LinuxInput.codeToString:(Ljava/lang/String;S)Ljava/lang/String;
astore 11
start local 11 41: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " ABSVAL %s %d\n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
42: aload 11
aastore
dup
iconst_1
aload 10
invokevirtual com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities.getValue:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
43: invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
44: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " ABSMIN %s %d\n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
45: aload 11
aastore
dup
iconst_1
aload 10
invokevirtual com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities.getMinimum:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
46: invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
47: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " ABSMAX %s %d\n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
48: aload 11
aastore
dup
iconst_1
aload 10
invokevirtual com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities.getMaximum:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
49: invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
50: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " ABSFUZZ %s %d\n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
51: aload 11
aastore
dup
iconst_1
aload 10
invokevirtual com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities.getFuzz:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
52: invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
53: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " ABSFLAT %s %d\n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
54: aload 11
aastore
dup
iconst_1
aload 10
invokevirtual com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities.getFlat:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
55: invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
56: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " ABSRES %s %d\n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
57: aload 11
aastore
dup
iconst_1
aload 10
invokevirtual com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities.getResolution:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
58: invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
end local 11 end local 10 59: StackMap locals:
StackMap stack:
iload 9
iconst_1
iadd
i2s
istore 9
StackMap locals:
StackMap stack:
60: iload 9
bipush 63
if_icmplt 37
end local 9 61: getstatic com.sun.glass.ui.monocle.GetEvent.devices:Ljava/util/Set;
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 62: goto 68
StackMap locals:
StackMap stack:
63: aload 0
ldc "remove"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 68
64: getstatic com.sun.glass.ui.monocle.GetEvent.devices:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 65: goto 68
StackMap locals: java.lang.String java.util.Map java.lang.String java.lang.String java.util.List
StackMap stack: java.lang.Exception
66: astore 5
start local 5 67: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
end local 5 end local 4 end local 3 end local 2 68: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 69 0 action Ljava/lang/String;
0 69 1 event Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 68 2 subsystem Ljava/lang/String;
2 68 3 devPath Ljava/lang/String;
8 68 4 keys Ljava/util/List<Ljava/lang/String;>;
11 12 5 key Ljava/lang/String;
14 65 5 sysPath Ljava/io/File;
15 65 6 devNode Ljava/lang/String;
23 62 7 device Lcom/sun/glass/ui/monocle/LinuxInputDevice;
25 62 8 thread Ljava/lang/Thread;
36 61 9 axis S
39 59 10 caps Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;
41 59 11 axisName Ljava/lang/String;
67 68 5 e Ljava/lang/Exception;
Exception table:
from to target type
13 16 66 Class java.io.IOException
17 65 66 Class java.io.IOException
13 16 66 Class java.lang.RuntimeException
17 65 66 Class java.lang.RuntimeException
}
SourceFile: "GetEvent.java"
InnerClasses:
public Logger = com.sun.glass.ui.monocle.LinuxInputProcessor$Logger of com.sun.glass.ui.monocle.LinuxInputProcessor
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles