class com.sun.glass.ui.monocle.TouchPipeline
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.TouchPipeline
super_class: java.lang.Object
{
private com.sun.glass.ui.monocle.TouchInput touch;
descriptor: Lcom/sun/glass/ui/monocle/TouchInput;
flags: (0x0002) ACC_PRIVATE
private java.util.ArrayList<com.sun.glass.ui.monocle.TouchFilter> filters;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Lcom/sun/glass/ui/monocle/TouchFilter;>;
private com.sun.glass.ui.monocle.TouchState flushState;
descriptor: Lcom/sun/glass/ui/monocle/TouchState;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic com.sun.glass.ui.monocle.TouchInput.getInstance:()Lcom/sun/glass/ui/monocle/TouchInput;
putfield com.sun.glass.ui.monocle.TouchPipeline.touch:Lcom/sun/glass/ui/monocle/TouchInput;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
3: aload 0
new com.sun.glass.ui.monocle.TouchState
dup
invokespecial com.sun.glass.ui.monocle.TouchState.<init>:()V
putfield com.sun.glass.ui.monocle.TouchPipeline.flushState:Lcom/sun/glass/ui/monocle/TouchState;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/monocle/TouchPipeline;
void add(com.sun.glass.ui.monocle.TouchPipeline);
descriptor: (Lcom/sun/glass/ui/monocle/TouchPipeline;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast com.sun.glass.ui.monocle.TouchFilter
invokevirtual com.sun.glass.ui.monocle.TouchPipeline.addFilter:(Lcom/sun/glass/ui/monocle/TouchFilter;)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 1
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/glass/ui/monocle/TouchPipeline;
0 6 1 pipeline Lcom/sun/glass/ui/monocle/TouchPipeline;
1 5 2 i I
MethodParameters:
Name Flags
pipeline
void addNamedFilters(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 9
2: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: com.sun.glass.ui.monocle.TouchPipeline java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 7
start local 7 5: aload 7
invokevirtual java.lang.String.length:()I
ifle 7
6: aload 0
aload 7
invokevirtual com.sun.glass.ui.monocle.TouchPipeline.addNamedFilter:(Ljava/lang/String;)V
end local 7 end local 3 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 3
9: StackMap locals: com.sun.glass.ui.monocle.TouchPipeline java.lang.String java.lang.String[]
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/monocle/TouchPipeline;
0 10 1 filterNameList Ljava/lang/String;
1 10 2 touchFilterNames [Ljava/lang/String;
4 7 3 touchFilterName Ljava/lang/String;
5 7 7 s Ljava/lang/String;
MethodParameters:
Name Flags
filterNameList
void addNamedFilter(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "SmallMove"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
new com.sun.glass.ui.monocle.SmallMoveTouchFilter
dup
invokespecial com.sun.glass.ui.monocle.SmallMoveTouchFilter.<init>:()V
invokevirtual com.sun.glass.ui.monocle.TouchPipeline.addFilter:(Lcom/sun/glass/ui/monocle/TouchFilter;)V
2: goto 21
StackMap locals:
StackMap stack:
3: aload 1
ldc "NearbyPoints"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
new com.sun.glass.ui.monocle.NearbyPointsTouchFilter
dup
invokespecial com.sun.glass.ui.monocle.NearbyPointsTouchFilter.<init>:()V
invokevirtual com.sun.glass.ui.monocle.TouchPipeline.addFilter:(Lcom/sun/glass/ui/monocle/TouchFilter;)V
5: goto 21
StackMap locals:
StackMap stack:
6: aload 1
ldc "AssignPointID"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
new com.sun.glass.ui.monocle.AssignPointIDTouchFilter
dup
invokespecial com.sun.glass.ui.monocle.AssignPointIDTouchFilter.<init>:()V
invokevirtual com.sun.glass.ui.monocle.TouchPipeline.addFilter:(Lcom/sun/glass/ui/monocle/TouchFilter;)V
8: goto 21
9: StackMap locals:
StackMap stack:
aload 1
ldc "."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 13
10: new java.lang.StringBuilder
dup
ldc "com.sun.glass.ui.monocle."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "TouchFilter"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
13: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 14: aload 0
aload 2
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast com.sun.glass.ui.monocle.TouchFilter
invokevirtual com.sun.glass.ui.monocle.TouchPipeline.addFilter:(Lcom/sun/glass/ui/monocle/TouchFilter;)V
end local 2 15: goto 21
StackMap locals:
StackMap stack: java.lang.Exception
16: astore 2
start local 2 17: getstatic java.lang.System.err:Ljava/io/PrintStream;
18: new java.lang.StringBuilder
dup
ldc "Cannot install touch filter '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
20: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/glass/ui/monocle/TouchPipeline;
0 22 1 filterName Ljava/lang/String;
14 15 2 loader Ljava/lang/ClassLoader;
17 21 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 15 16 Class java.lang.Exception
MethodParameters:
Name Flags
filterName
void addFilter(com.sun.glass.ui.monocle.TouchFilter);
descriptor: (Lcom/sun/glass/ui/monocle/TouchFilter;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.glass.ui.monocle.TouchFilter.getPriority:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 8
3: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast com.sun.glass.ui.monocle.TouchFilter
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast com.sun.glass.ui.monocle.TouchFilter
invokeinterface com.sun.glass.ui.monocle.TouchFilter.getPriority:()I
iload 2
if_icmpge 7
6: goto 9
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 3
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
iload 3
aload 1
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/glass/ui/monocle/TouchPipeline;
0 11 1 filter Lcom/sun/glass/ui/monocle/TouchFilter;
1 11 2 priority I
2 11 3 i I
MethodParameters:
Name Flags
filter
boolean filter(com.sun.glass.ui.monocle.TouchState);
descriptor: (Lcom/sun/glass/ui/monocle/TouchState;)Z
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 8
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast com.sun.glass.ui.monocle.TouchFilter
astore 3
start local 3 3: getstatic com.sun.glass.ui.monocle.MonocleSettings.settings:Lcom/sun/glass/ui/monocle/MonocleSettings;
getfield com.sun.glass.ui.monocle.MonocleSettings.traceEventsVerbose:Z
ifeq 5
4: ldc "Applying %s to %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 1
aastore
invokestatic com.sun.glass.ui.monocle.MonocleTrace.traceEvent:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals: com.sun.glass.ui.monocle.TouchFilter
StackMap stack:
aload 3
aload 1
invokeinterface com.sun.glass.ui.monocle.TouchFilter.filter:(Lcom/sun/glass/ui/monocle/TouchState;)Z
ifeq 7
6: iconst_1
ireturn
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 2
end local 2 9: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/monocle/TouchPipeline;
0 10 1 state Lcom/sun/glass/ui/monocle/TouchState;
1 9 2 i I
3 7 3 filter Lcom/sun/glass/ui/monocle/TouchFilter;
MethodParameters:
Name Flags
state
void pushState(com.sun.glass.ui.monocle.TouchState);
descriptor: (Lcom/sun/glass/ui/monocle/TouchState;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.glass.ui.monocle.MonocleSettings.settings:Lcom/sun/glass/ui/monocle/MonocleSettings;
getfield com.sun.glass.ui.monocle.MonocleSettings.traceEventsVerbose:Z
ifeq 2
1: ldc "Pushing %s to %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
aastore
invokestatic com.sun.glass.ui.monocle.MonocleTrace.traceEvent:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.glass.ui.monocle.TouchPipeline.filter:(Lcom/sun/glass/ui/monocle/TouchState;)Z
ifne 4
3: aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.touch:Lcom/sun/glass/ui/monocle/TouchInput;
aload 1
invokevirtual com.sun.glass.ui.monocle.TouchInput.setState:(Lcom/sun/glass/ui/monocle/TouchState;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/monocle/TouchPipeline;
0 5 1 state Lcom/sun/glass/ui/monocle/TouchState;
MethodParameters:
Name Flags
state
void flush();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 16
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast com.sun.glass.ui.monocle.TouchFilter
astore 2
start local 2 3: goto 14
4: StackMap locals: com.sun.glass.ui.monocle.TouchFilter
StackMap stack:
getstatic com.sun.glass.ui.monocle.MonocleSettings.settings:Lcom/sun/glass/ui/monocle/MonocleSettings;
getfield com.sun.glass.ui.monocle.MonocleSettings.traceEventsVerbose:Z
ifeq 6
5: ldc "Flushing %s from %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.flushState:Lcom/sun/glass/ui/monocle/TouchState;
aastore
dup
iconst_1
aload 2
aastore
invokestatic com.sun.glass.ui.monocle.MonocleTrace.traceEvent:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 7: iload 1
iconst_1
iadd
istore 4
start local 4 8: goto 11
9: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast com.sun.glass.ui.monocle.TouchFilter
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.flushState:Lcom/sun/glass/ui/monocle/TouchState;
invokeinterface com.sun.glass.ui.monocle.TouchFilter.filter:(Lcom/sun/glass/ui/monocle/TouchState;)Z
istore 3
10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmpge 12
iload 3
ifeq 9
end local 4 12: StackMap locals:
StackMap stack:
iload 3
ifne 14
13: aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.touch:Lcom/sun/glass/ui/monocle/TouchInput;
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.flushState:Lcom/sun/glass/ui/monocle/TouchState;
invokevirtual com.sun.glass.ui.monocle.TouchInput.setState:(Lcom/sun/glass/ui/monocle/TouchState;)V
end local 3 14: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.flushState:Lcom/sun/glass/ui/monocle/TouchState;
invokeinterface com.sun.glass.ui.monocle.TouchFilter.flush:(Lcom/sun/glass/ui/monocle/TouchState;)Z
ifne 4
end local 2 15: iinc 1 1
StackMap locals:
StackMap stack:
16: iload 1
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 2
end local 1 17: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/glass/ui/monocle/TouchPipeline;
1 17 1 i I
3 15 2 filter Lcom/sun/glass/ui/monocle/TouchFilter;
7 14 3 consumed Z
8 12 4 j I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
ldc "TouchPipeline["
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 1
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/Object;)Ljava/lang/StringBuffer;
pop
4: iload 2
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
if_icmpge 6
5: aload 1
ldc " -> "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield com.sun.glass.ui.monocle.TouchPipeline.filters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 3
end local 2 8: aload 1
ldc "]"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
9: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/monocle/TouchPipeline;
1 10 1 sb Ljava/lang/StringBuffer;
2 8 2 i I
}
SourceFile: "TouchPipeline.java"