class com.sun.glass.ui.monocle.EPDInputDeviceRegistry 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.EPDInputDeviceRegistry
super_class: com.sun.glass.ui.monocle.InputDeviceRegistry
{
private static final java.lang.String KEYPAD_FILENAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "event0"
private static final java.lang.String TOUCH_FILENAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "event1"
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.glass.ui.monocle.InputDeviceRegistry.<init>:()V
1: iload 1
ifeq 3
2: return
3: StackMap locals: com.sun.glass.ui.monocle.EPDInputDeviceRegistry int
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 4: aload 0
aload 2
invokedynamic udevEvent(Lcom/sun/glass/ui/monocle/EPDInputDeviceRegistry;Ljava/util/Map;)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/EPDInputDeviceRegistry.lambda$0(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V (7)
(Ljava/lang/String;Ljava/util/Map;)V
astore 3
start local 3 5: invokestatic com.sun.glass.ui.monocle.Udev.getInstance:()Lcom/sun/glass/ui/monocle/Udev;
aload 3
invokevirtual com.sun.glass.ui.monocle.Udev.addListener:(Lcom/sun/glass/ui/monocle/UdevListener;)V
6: ldc "input"
invokestatic com.sun.glass.ui.monocle.SysFS.triggerUdevNotification:(Ljava/lang/String;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/glass/ui/monocle/EPDInputDeviceRegistry;
0 8 1 headless Z
4 8 2 deviceMap Ljava/util/Map<Ljava/io/File;Lcom/sun/glass/ui/monocle/LinuxInputDevice;>;
5 8 3 udevListener Lcom/sun/glass/ui/monocle/UdevListener;
MethodParameters:
Name Flags
headless
private com.sun.glass.ui.monocle.LinuxInputDevice createDevice(java.io.File, java.io.File, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/io/File;Ljava/io/File;Ljava/util/Map;)Lcom/sun/glass/ui/monocle/LinuxInputDevice;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic com.sun.glass.ui.monocle.LinuxSystem.getLinuxSystem:()Lcom/sun/glass/ui/monocle/LinuxSystem;
astore 4
start local 4 1: aload 4
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
iconst_0
invokevirtual com.sun.glass.ui.monocle.LinuxSystem.open:(Ljava/lang/String;I)J
pop2
2: new com.sun.glass.ui.monocle.LinuxInputDevice
dup
aload 1
aload 2
aload 3
invokespecial com.sun.glass.ui.monocle.LinuxInputDevice.<init>:(Ljava/io/File;Ljava/io/File;Ljava/util/Map;)V
astore 5
start local 5 3: aload 0
aload 5
new java.lang.StringBuilder
dup
ldc "Linux input: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.File.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.glass.ui.monocle.EPDInputDeviceRegistry.addDeviceInternal:(Lcom/sun/glass/ui/monocle/LinuxInputDevice;Ljava/lang/String;)Lcom/sun/glass/ui/monocle/LinuxInputDevice;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/monocle/EPDInputDeviceRegistry;
0 4 1 devNode Ljava/io/File;
0 4 2 sysPath Ljava/io/File;
0 4 3 udevManifest Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 4 4 system Lcom/sun/glass/ui/monocle/LinuxSystem;
3 4 5 device Lcom/sun/glass/ui/monocle/LinuxInputDevice;
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/File;Ljava/io/File;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lcom/sun/glass/ui/monocle/LinuxInputDevice;
MethodParameters:
Name Flags
devNode
sysPath
udevManifest
private com.sun.glass.ui.monocle.LinuxInputDevice addDeviceInternal(com.sun.glass.ui.monocle.LinuxInputDevice, java.lang.String);
descriptor: (Lcom/sun/glass/ui/monocle/LinuxInputDevice;Ljava/lang/String;)Lcom/sun/glass/ui/monocle/LinuxInputDevice;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 2
ldc "event0"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 4
2: new com.sun.glass.ui.monocle.LinuxKeyProcessor
dup
invokespecial com.sun.glass.ui.monocle.LinuxKeyProcessor.<init>:()V
astore 3
3: goto 6
StackMap locals: com.sun.glass.ui.monocle.LinuxInputProcessor
StackMap stack:
4: aload 2
ldc "event1"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 6
5: new com.sun.glass.ui.monocle.LinuxSimpleTouchProcessor
dup
aload 1
invokespecial com.sun.glass.ui.monocle.LinuxSimpleTouchProcessor.<init>:(Lcom/sun/glass/ui/monocle/LinuxInputDevice;)V
astore 3
6: StackMap locals:
StackMap stack:
aload 3
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.setInputProcessor:(Lcom/sun/glass/ui/monocle/LinuxInputProcessor;)V
9: new java.lang.Thread
dup
aload 1
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
astore 4
start local 4 10: aload 4
aload 2
invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
11: aload 4
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
12: aload 4
invokevirtual java.lang.Thread.start:()V
13: aload 0
getfield com.sun.glass.ui.monocle.EPDInputDeviceRegistry.devices:Ljavafx/collections/ObservableSet;
aload 1
invokeinterface javafx.collections.ObservableSet.add:(Ljava/lang/Object;)Z
pop
14: aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/glass/ui/monocle/EPDInputDeviceRegistry;
0 15 1 device Lcom/sun/glass/ui/monocle/LinuxInputDevice;
0 15 2 name Ljava/lang/String;
1 15 3 processor Lcom/sun/glass/ui/monocle/LinuxInputProcessor;
10 15 4 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
device
name
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "{0}[devices={1}]"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield com.sun.glass.ui.monocle.EPDInputDeviceRegistry.devices:Ljavafx/collections/ObservableSet;
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/EPDInputDeviceRegistry;
private void lambda$0(java.util.Map, java.lang.String, java.util.Map);
descriptor: (Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 2 start local 3 0: aload 3
ldc "SUBSYSTEM"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 1: aload 3
ldc "DEVPATH"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 2: aload 3
ldc "DEVNAME"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 3: aload 4
ifnull 24
aload 4
ldc "input"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
4: aload 5
ifnull 24
aload 6
ifnull 24
5: new java.io.File
dup
ldc "/sys"
aload 5
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 6: aload 2
ldc "add"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
7: aload 2
ldc "change"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
8: aload 1
aload 7
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 16
9: StackMap locals: com.sun.glass.ui.monocle.EPDInputDeviceRegistry java.util.Map java.lang.String java.util.Map java.lang.String java.lang.String java.lang.String java.io.File
StackMap stack:
new java.io.File
dup
aload 6
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 10: aload 0
11: aload 8
aload 7
aload 3
12: invokevirtual com.sun.glass.ui.monocle.EPDInputDeviceRegistry.createDevice:(Ljava/io/File;Ljava/io/File;Ljava/util/Map;)Lcom/sun/glass/ui/monocle/LinuxInputDevice;
astore 9
start local 9 13: aload 9
ifnull 24
14: aload 1
aload 7
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 15: goto 24
StackMap locals:
StackMap stack:
16: aload 2
ldc "remove"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
17: aload 1
aload 7
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.glass.ui.monocle.LinuxInputDevice
astore 8
start local 8 18: aload 1
aload 7
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 8
ifnull 24
20: aload 0
getfield com.sun.glass.ui.monocle.EPDInputDeviceRegistry.devices:Ljavafx/collections/ObservableSet;
aload 8
invokeinterface javafx.collections.ObservableSet.remove:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 21: goto 24
StackMap locals: com.sun.glass.ui.monocle.EPDInputDeviceRegistry java.util.Map java.lang.String java.util.Map java.lang.String java.lang.String java.lang.String
StackMap stack: java.io.IOException
22: astore 7
start local 7 23: aload 7
invokevirtual java.io.IOException.printStackTrace:()V
end local 7 end local 6 end local 5 end local 4 24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/glass/ui/monocle/EPDInputDeviceRegistry;
0 25 2 action Ljava/lang/String;
0 25 3 event Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 24 4 subsystem Ljava/lang/String;
2 24 5 devPath Ljava/lang/String;
3 24 6 devName Ljava/lang/String;
6 21 7 sysPath Ljava/io/File;
10 15 8 devNode Ljava/io/File;
13 15 9 device Lcom/sun/glass/ui/monocle/LinuxInputDevice;
18 21 8 device Lcom/sun/glass/ui/monocle/LinuxInputDevice;
23 24 7 e Ljava/io/IOException;
Exception table:
from to target type
5 21 22 Class java.io.IOException
}
SourceFile: "EPDInputDeviceRegistry.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles