public class
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.MenuSelectionManager
super_class: java.lang.Object
{
private java.util.Vector<javax.swing.MenuElement> ;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Ljavax/swing/MenuElement;>;
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final java.lang.StringBuilder ;
descriptor: Ljava/lang/StringBuilder;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected transient javax.swing.event.ChangeEvent ;
descriptor: Ljavax/swing/event/ChangeEvent;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected javax.swing.event.EventListenerList ;
descriptor: Ljavax/swing/event/EventListenerList;
flags: (0x0004) ACC_PROTECTED
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.StringBuilder
dup
ldc "javax.swing.MenuSelectionManager"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: putstatic javax.swing.MenuSelectionManager.MENU_SELECTION_MANAGER_KEY:Ljava/lang/StringBuilder;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
2: aload 0
aconst_null
putfield javax.swing.MenuSelectionManager.changeEvent:Ljavax/swing/event/ChangeEvent;
3: aload 0
new javax.swing.event.EventListenerList
dup
invokespecial javax.swing.event.EventListenerList.<init>:()V
putfield javax.swing.MenuSelectionManager.listenerList:Ljavax/swing/event/EventListenerList;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/MenuSelectionManager;
public static javax.swing.MenuSelectionManager ();
descriptor: ()Ljavax/swing/MenuSelectionManager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=0
0: getstatic javax.swing.MenuSelectionManager.MENU_SELECTION_MANAGER_KEY:Ljava/lang/StringBuilder;
dup
astore 0
monitorenter
1: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 1
start local 1 2: aload 1
3: getstatic javax.swing.MenuSelectionManager.MENU_SELECTION_MANAGER_KEY:Ljava/lang/StringBuilder;
4: invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.MenuSelectionManager
astore 2
start local 2 5: aload 2
ifnonnull 11
6: new javax.swing.MenuSelectionManager
dup
invokespecial javax.swing.MenuSelectionManager.<init>:()V
astore 2
7: aload 1
getstatic javax.swing.MenuSelectionManager.MENU_SELECTION_MANAGER_KEY:Ljava/lang/StringBuilder;
aload 2
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 1
getstatic sun.swing.SwingUtilities2.MENU_SELECTION_MANAGER_LISTENER_KEY:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 9: aload 3
ifnull 11
aload 3
instanceof javax.swing.event.ChangeListener
ifeq 11
10: aload 2
aload 3
checkcast javax.swing.event.ChangeListener
invokevirtual javax.swing.MenuSelectionManager.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 3 11: StackMap locals: java.lang.StringBuilder sun.awt.AppContext javax.swing.MenuSelectionManager
StackMap stack:
aload 2
aload 0
monitorexit
12: areturn
end local 2 end local 1 13: StackMap locals: java.lang.StringBuilder
StackMap stack: java.lang.Throwable
aload 0
monitorexit
14: athrow
LocalVariableTable:
Start End Slot Name Signature
2 13 1 context Lsun/awt/AppContext;
5 13 2 msm Ljavax/swing/MenuSelectionManager;
9 11 3 o Ljava/lang/Object;
Exception table:
from to target type
1 12 13 any
13 14 13 any
public void (javax.swing.MenuElement[]);
descriptor: ([Ljavax/swing/MenuElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 4
start local 4 1: iconst_0
istore 5
start local 5 2: aload 1
ifnonnull 4
3: iconst_0
anewarray javax.swing.MenuElement
astore 1
4: StackMap locals: javax.swing.MenuSelectionManager javax.swing.MenuElement[] top top int int
StackMap stack:
iconst_0
istore 2
start local 2 5: aload 1
arraylength
istore 3
start local 3 6: goto 10
7: StackMap locals: javax.swing.MenuSelectionManager javax.swing.MenuElement[] int int int int
StackMap stack:
iload 2
iload 4
if_icmpge 11
aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
aload 1
iload 2
aaload
if_acmpne 11
8: iinc 5 1
9: iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
iload 3
if_icmplt 7
11: StackMap locals:
StackMap stack:
iload 4
iconst_1
isub
istore 2
goto 16
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.MenuElement
astore 6
start local 6 13: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.removeElementAt:(I)V
14: aload 6
iconst_0
invokeinterface javax.swing.MenuElement.menuSelectionChanged:(Z)V
end local 6 15: iinc 2 -1
StackMap locals:
StackMap stack:
16: iload 2
iload 5
if_icmpge 12
17: iload 5
istore 2
aload 1
arraylength
istore 3
goto 22
18: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ifnull 21
19: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
aload 1
iload 2
aaload
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
20: aload 1
iload 2
aaload
iconst_1
invokeinterface javax.swing.MenuElement.menuSelectionChanged:(Z)V
21: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
22: iload 2
iload 3
if_icmplt 18
23: aload 0
invokevirtual javax.swing.MenuSelectionManager.fireStateChanged:()V
24: return
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 25 0 this Ljavax/swing/MenuSelectionManager;
0 25 1 path [Ljavax/swing/MenuElement;
5 25 2 i I
6 25 3 c I
1 25 4 currentSelectionCount I
2 25 5 firstDifference I
13 15 6 me Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
path
public javax.swing.MenuElement[] ();
descriptor: ()[Ljavax/swing/MenuElement;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
anewarray javax.swing.MenuElement
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 3
start local 3 3: goto 6
4: StackMap locals: javax.swing.MenuElement[] int int
StackMap stack:
aload 1
iload 2
aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.MenuElement
aastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 3
if_icmplt 4
7: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/MenuSelectionManager;
1 8 1 res [Ljavax/swing/MenuElement;
2 8 2 i I
3 8 3 c I
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifle 2
1: aload 0
aconst_null
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/MenuSelectionManager;
public void (javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.MenuSelectionManager.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.add:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/MenuSelectionManager;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public void (javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.MenuSelectionManager.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.remove:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/MenuSelectionManager;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public javax.swing.event.ChangeListener[] ();
descriptor: ()[Ljavax/swing/event/ChangeListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.MenuSelectionManager.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast javax.swing.event.ChangeListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/MenuSelectionManager;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.MenuSelectionManager.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 1
start local 1 1: aload 1
arraylength
iconst_2
isub
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aaload
ldc Ljavax/swing/event/ChangeListener;
if_acmpne 7
4: aload 0
getfield javax.swing.MenuSelectionManager.changeEvent:Ljavax/swing/event/ChangeEvent;
ifnonnull 6
5: aload 0
new javax.swing.event.ChangeEvent
dup
aload 0
invokespecial javax.swing.event.ChangeEvent.<init>:(Ljava/lang/Object;)V
putfield javax.swing.MenuSelectionManager.changeEvent:Ljavax/swing/event/ChangeEvent;
6: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_1
iadd
aaload
checkcast javax.swing.event.ChangeListener
aload 0
getfield javax.swing.MenuSelectionManager.changeEvent:Ljavax/swing/event/ChangeEvent;
invokeinterface javax.swing.event.ChangeListener.stateChanged:(Ljavax/swing/event/ChangeEvent;)V
7: StackMap locals:
StackMap stack:
iinc 2 -2
StackMap locals:
StackMap stack:
8: iload 2
ifge 3
end local 2 9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/MenuSelectionManager;
1 10 1 listeners [Ljava/lang/Object;
2 9 2 i I
public void (java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=14, locals=26, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getPoint:()Ljava/awt/Point;
astore 4
start local 4 1: aload 1
invokevirtual java.awt.event.MouseEvent.getComponent:()Ljava/awt/Component;
astore 16
start local 16 2: aload 16
ifnull 4
aload 16
invokevirtual java.awt.Component.isShowing:()Z
ifne 4
3: return
4: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.MouseEvent top top java.awt.Point top top top top top top top top top top top java.awt.Component
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseEvent.getID:()I
istore 17
start local 17 5: aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
istore 18
start local 18 6: iload 17
sipush 504
if_icmpeq 8
7: iload 17
sipush 505
if_icmpne 10
8: StackMap locals: int int
StackMap stack:
iload 18
bipush 28
iand
ifeq 10
9: return
10: StackMap locals:
StackMap stack:
aload 16
ifnull 12
11: aload 4
aload 16
invokestatic javax.swing.SwingUtilities.convertPointToScreen:(Ljava/awt/Point;Ljava/awt/Component;)V
12: StackMap locals:
StackMap stack:
aload 4
getfield java.awt.Point.x:I
istore 2
start local 2 13: aload 4
getfield java.awt.Point.y:I
istore 3
start local 3 14: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
invokevirtual java.util.Vector.clone:()Ljava/lang/Object;
checkcast java.util.Vector
astore 19
start local 19 15: aload 19
invokevirtual java.util.Vector.size:()I
istore 15
start local 15 16: iconst_0
istore 20
start local 20 17: iload 15
iconst_1
isub
istore 5
start local 5 18: goto 94
19: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.MouseEvent int int java.awt.Point int top top top top top top top top top int java.awt.Component int int java.util.Vector int
StackMap stack:
aload 19
iload 5
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.MenuElement
astore 12
start local 12 20: aload 12
invokeinterface javax.swing.MenuElement.getSubElements:()[Ljavax/swing/MenuElement;
astore 13
start local 13 21: aconst_null
astore 14
start local 14 22: iconst_0
istore 6
start local 6 23: aload 13
arraylength
istore 7
start local 7 24: goto 92
25: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.MouseEvent int int java.awt.Point int int int top top top top javax.swing.MenuElement javax.swing.MenuElement[] javax.swing.MenuElement[] int java.awt.Component int int java.util.Vector int
StackMap stack:
aload 13
iload 6
aaload
ifnonnull 27
26: goto 91
27: StackMap locals:
StackMap stack:
aload 13
iload 6
aaload
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
astore 8
start local 8 28: aload 8
invokevirtual java.awt.Component.isShowing:()Z
ifne 30
29: goto 91
30: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.MouseEvent int int java.awt.Point int int int java.awt.Component top top top javax.swing.MenuElement javax.swing.MenuElement[] javax.swing.MenuElement[] int java.awt.Component int int java.util.Vector int
StackMap stack:
aload 8
instanceof javax.swing.JComponent
ifeq 34
31: aload 8
invokevirtual java.awt.Component.getWidth:()I
istore 10
start local 10 32: aload 8
invokevirtual java.awt.Component.getHeight:()I
istore 11
start local 11 33: goto 37
end local 11 end local 10 34: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 9
start local 9 35: aload 9
getfield java.awt.Rectangle.width:I
istore 10
start local 10 36: aload 9
getfield java.awt.Rectangle.height:I
istore 11
end local 9 start local 11 37: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.MouseEvent int int java.awt.Point int int int java.awt.Component top int int javax.swing.MenuElement javax.swing.MenuElement[] javax.swing.MenuElement[] int java.awt.Component int int java.util.Vector int
StackMap stack:
aload 4
iload 2
putfield java.awt.Point.x:I
38: aload 4
iload 3
putfield java.awt.Point.y:I
39: aload 4
aload 8
invokestatic javax.swing.SwingUtilities.convertPointFromScreen:(Ljava/awt/Point;Ljava/awt/Component;)V
40: aload 4
getfield java.awt.Point.x:I
iflt 91
aload 4
getfield java.awt.Point.x:I
iload 10
if_icmpge 91
aload 4
getfield java.awt.Point.y:I
iflt 91
aload 4
getfield java.awt.Point.y:I
iload 11
if_icmpge 91
41: aload 14
ifnonnull 48
42: iload 5
iconst_2
iadd
anewarray javax.swing.MenuElement
astore 14
43: iconst_0
istore 21
start local 21 44: goto 47
45: StackMap locals: int
StackMap stack:
aload 14
iload 21
aload 19
iload 21
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.MenuElement
aastore
46: iinc 21 1
StackMap locals:
StackMap stack:
47: iload 21
iload 5
if_icmple 45
end local 21 48: StackMap locals:
StackMap stack:
aload 14
iload 5
iconst_1
iadd
aload 13
iload 6
aaload
aastore
49: aload 0
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 22
start local 22 50: aload 22
aload 22
arraylength
iconst_1
isub
aaload
51: aload 14
iload 5
iconst_1
iadd
aaload
52: if_acmpeq 80
53: aload 22
arraylength
iconst_2
if_icmplt 57
54: aload 22
aload 22
arraylength
iconst_2
isub
aaload
55: aload 14
iload 5
iconst_1
iadd
aaload
56: if_acmpeq 80
57: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.MouseEvent int int java.awt.Point int int int java.awt.Component top int int javax.swing.MenuElement javax.swing.MenuElement[] javax.swing.MenuElement[] int java.awt.Component int int java.util.Vector int top javax.swing.MenuElement[]
StackMap stack:
aload 22
aload 22
arraylength
iconst_1
isub
aaload
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
astore 23
start local 23 58: new java.awt.event.MouseEvent
dup
aload 23
sipush 505
59: aload 1
invokevirtual java.awt.event.MouseEvent.getWhen:()J
60: aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
aload 4
getfield java.awt.Point.x:I
aload 4
getfield java.awt.Point.y:I
61: aload 1
invokevirtual java.awt.event.MouseEvent.getXOnScreen:()I
62: aload 1
invokevirtual java.awt.event.MouseEvent.getYOnScreen:()I
63: aload 1
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
64: aload 1
invokevirtual java.awt.event.MouseEvent.isPopupTrigger:()Z
65: iconst_0
66: invokespecial java.awt.event.MouseEvent.<init>:(Ljava/awt/Component;IJIIIIIIZI)V
astore 24
start local 24 67: aload 22
aload 22
arraylength
iconst_1
isub
aaload
68: aload 24
aload 14
aload 0
invokeinterface javax.swing.MenuElement.processMouseEvent:(Ljava/awt/event/MouseEvent;[Ljavax/swing/MenuElement;Ljavax/swing/MenuSelectionManager;)V
69: new java.awt.event.MouseEvent
dup
aload 8
70: sipush 504
71: aload 1
invokevirtual java.awt.event.MouseEvent.getWhen:()J
72: aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
aload 4
getfield java.awt.Point.x:I
aload 4
getfield java.awt.Point.y:I
73: aload 1
invokevirtual java.awt.event.MouseEvent.getXOnScreen:()I
74: aload 1
invokevirtual java.awt.event.MouseEvent.getYOnScreen:()I
75: aload 1
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
76: aload 1
invokevirtual java.awt.event.MouseEvent.isPopupTrigger:()Z
77: iconst_0
78: invokespecial java.awt.event.MouseEvent.<init>:(Ljava/awt/Component;IJIIIIIIZI)V
astore 25
start local 25 79: aload 13
iload 6
aaload
aload 25
aload 14
aload 0
invokeinterface javax.swing.MenuElement.processMouseEvent:(Ljava/awt/event/MouseEvent;[Ljavax/swing/MenuElement;Ljavax/swing/MenuSelectionManager;)V
end local 25 end local 24 end local 23 80: StackMap locals:
StackMap stack:
new java.awt.event.MouseEvent
dup
aload 8
aload 1
invokevirtual java.awt.event.MouseEvent.getID:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getWhen:()J
81: aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
aload 4
getfield java.awt.Point.x:I
aload 4
getfield java.awt.Point.y:I
82: aload 1
invokevirtual java.awt.event.MouseEvent.getXOnScreen:()I
83: aload 1
invokevirtual java.awt.event.MouseEvent.getYOnScreen:()I
84: aload 1
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
85: aload 1
invokevirtual java.awt.event.MouseEvent.isPopupTrigger:()Z
86: iconst_0
87: invokespecial java.awt.event.MouseEvent.<init>:(Ljava/awt/Component;IJIIIIIIZI)V
astore 23
start local 23 88: aload 13
iload 6
aaload
aload 23
aload 14
aload 0
invokeinterface javax.swing.MenuElement.processMouseEvent:(Ljava/awt/event/MouseEvent;[Ljavax/swing/MenuElement;Ljavax/swing/MenuSelectionManager;)V
89: iconst_1
istore 20
90: aload 1
invokevirtual java.awt.event.MouseEvent.consume:()V
end local 23 end local 22 end local 11 end local 10 end local 8 91: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.MouseEvent int int java.awt.Point int int int top top top top javax.swing.MenuElement javax.swing.MenuElement[] javax.swing.MenuElement[] int java.awt.Component int int java.util.Vector int
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
92: iload 6
iload 7
if_icmpge 93
iload 20
ifeq 25
93: StackMap locals:
StackMap stack:
iinc 5 -1
end local 14 end local 13 end local 12 end local 7 end local 6 StackMap locals: javax.swing.MenuSelectionManager java.awt.event.MouseEvent int int java.awt.Point int top top top top top top top top top int java.awt.Component int int java.util.Vector int
StackMap stack:
94: iload 5
iflt 95
iload 20
ifeq 19
95: StackMap locals:
StackMap stack:
return
end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 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 96 0 this Ljavax/swing/MenuSelectionManager;
0 96 1 event Ljava/awt/event/MouseEvent;
13 96 2 screenX I
14 96 3 screenY I
1 96 4 p Ljava/awt/Point;
18 96 5 i I
23 94 6 j I
24 94 7 d I
28 91 8 mc Ljava/awt/Component;
35 37 9 r2 Ljava/awt/Rectangle;
32 34 10 cWidth I
36 91 10 cWidth I
33 34 11 cHeight I
37 91 11 cHeight I
20 94 12 menuElement Ljavax/swing/MenuElement;
21 94 13 subElements [Ljavax/swing/MenuElement;
22 94 14 path [Ljavax/swing/MenuElement;
16 96 15 selectionSize I
2 96 16 source Ljava/awt/Component;
5 96 17 type I
6 96 18 modifiers I
15 96 19 tmp Ljava/util/Vector<Ljavax/swing/MenuElement;>;
17 96 20 success Z
44 48 21 k I
50 91 22 currentSelection [Ljavax/swing/MenuElement;
58 80 23 oldMC Ljava/awt/Component;
67 80 24 exitEvent Ljava/awt/event/MouseEvent;
79 80 25 enterEvent Ljava/awt/event/MouseEvent;
88 91 23 mouseEvent Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
event
private void (javax.swing.MenuElement[]);
descriptor: ([Ljavax/swing/MenuElement;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual javax.swing.MenuSelectionManager.printMenuElementArray:([Ljavax/swing/MenuElement;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/MenuSelectionManager;
0 2 1 path [Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
path
private void (javax.swing.MenuElement[], boolean);
descriptor: ([Ljavax/swing/MenuElement;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Path is("
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: iconst_0
istore 3
start local 3 2: aload 1
arraylength
istore 4
start local 4 3: goto 24
4: StackMap locals: int int
StackMap stack:
iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: int
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 3
if_icmple 6
end local 5 9: aload 1
iload 3
aaload
astore 5
start local 5 10: aload 5
instanceof javax.swing.JMenuItem
ifeq 13
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 5
checkcast javax.swing.JMenuItem
invokevirtual javax.swing.JMenuItem.getText:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", "
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
12: goto 23
StackMap locals: javax.swing.MenuSelectionManager javax.swing.MenuElement[] int int int javax.swing.MenuElement
StackMap stack:
13: aload 5
instanceof javax.swing.JMenuBar
ifeq 16
14: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "JMenuBar, "
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
15: goto 23
StackMap locals:
StackMap stack:
16: aload 5
instanceof javax.swing.JPopupMenu
ifeq 19
17: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "JPopupMenu, "
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: goto 23
StackMap locals:
StackMap stack:
19: aload 5
ifnonnull 22
20: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "NULL , "
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
21: goto 23
22: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
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
end local 5 23: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
24: iload 3
iload 4
if_icmplt 4
25: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc ")"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
26: iload 2
ifeq 28
27: invokestatic java.lang.Thread.dumpStack:()V
28: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljavax/swing/MenuSelectionManager;
0 29 1 path [Ljavax/swing/MenuElement;
0 29 2 dumpStack Z
2 29 3 i I
3 29 4 j I
5 9 5 k I
10 23 5 me Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
path
dumpStack
public java.awt.Component (java.awt.Component, java.awt.Point);
descriptor: (Ljava/awt/Component;Ljava/awt/Point;)Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=17, args_size=3
start local 0 start local 1 start local 2 0: aload 2
astore 5
start local 5 1: aload 5
aload 1
invokestatic javax.swing.SwingUtilities.convertPointToScreen:(Ljava/awt/Point;Ljava/awt/Component;)V
2: aload 5
getfield java.awt.Point.x:I
istore 3
start local 3 3: aload 5
getfield java.awt.Point.y:I
istore 4
start local 4 4: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
invokevirtual java.util.Vector.clone:()Ljava/lang/Object;
checkcast java.util.Vector
astore 16
start local 16 5: aload 16
invokevirtual java.util.Vector.size:()I
istore 15
start local 15 6: iload 15
iconst_1
isub
istore 6
start local 6 7: goto 33
8: StackMap locals: javax.swing.MenuSelectionManager java.awt.Component java.awt.Point int int java.awt.Point int top top top top top top top top int java.util.Vector
StackMap stack:
aload 16
iload 6
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.MenuElement
astore 13
start local 13 9: aload 13
invokeinterface javax.swing.MenuElement.getSubElements:()[Ljavax/swing/MenuElement;
astore 14
start local 14 10: iconst_0
istore 7
start local 7 11: aload 14
arraylength
istore 8
start local 8 12: goto 31
13: StackMap locals: javax.swing.MenuSelectionManager java.awt.Component java.awt.Point int int java.awt.Point int int int top top top top javax.swing.MenuElement javax.swing.MenuElement[] int java.util.Vector
StackMap stack:
aload 14
iload 7
aaload
ifnonnull 15
14: goto 30
15: StackMap locals:
StackMap stack:
aload 14
iload 7
aaload
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
astore 9
start local 9 16: aload 9
invokevirtual java.awt.Component.isShowing:()Z
ifne 18
17: goto 30
18: StackMap locals: javax.swing.MenuSelectionManager java.awt.Component java.awt.Point int int java.awt.Point int int int java.awt.Component top top top javax.swing.MenuElement javax.swing.MenuElement[] int java.util.Vector
StackMap stack:
aload 9
instanceof javax.swing.JComponent
ifeq 22
19: aload 9
invokevirtual java.awt.Component.getWidth:()I
istore 11
start local 11 20: aload 9
invokevirtual java.awt.Component.getHeight:()I
istore 12
start local 12 21: goto 25
end local 12 end local 11 22: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 10
start local 10 23: aload 10
getfield java.awt.Rectangle.width:I
istore 11
start local 11 24: aload 10
getfield java.awt.Rectangle.height:I
istore 12
end local 10 start local 12 25: StackMap locals: javax.swing.MenuSelectionManager java.awt.Component java.awt.Point int int java.awt.Point int int int java.awt.Component top int int javax.swing.MenuElement javax.swing.MenuElement[] int java.util.Vector
StackMap stack:
aload 5
iload 3
putfield java.awt.Point.x:I
26: aload 5
iload 4
putfield java.awt.Point.y:I
27: aload 5
aload 9
invokestatic javax.swing.SwingUtilities.convertPointFromScreen:(Ljava/awt/Point;Ljava/awt/Component;)V
28: aload 5
getfield java.awt.Point.x:I
iflt 30
aload 5
getfield java.awt.Point.x:I
iload 11
if_icmpge 30
aload 5
getfield java.awt.Point.y:I
iflt 30
aload 5
getfield java.awt.Point.y:I
iload 12
if_icmpge 30
29: aload 9
areturn
end local 12 end local 11 end local 9 30: StackMap locals: javax.swing.MenuSelectionManager java.awt.Component java.awt.Point int int java.awt.Point int int int top top top top javax.swing.MenuElement javax.swing.MenuElement[] int java.util.Vector
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
31: iload 7
iload 8
if_icmplt 13
32: iinc 6 -1
end local 14 end local 13 end local 8 end local 7 StackMap locals: javax.swing.MenuSelectionManager java.awt.Component java.awt.Point int int java.awt.Point int top top top top top top top top int java.util.Vector
StackMap stack:
33: iload 6
ifge 8
34: aconst_null
areturn
end local 16 end local 15 end local 6 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 35 0 this Ljavax/swing/MenuSelectionManager;
0 35 1 source Ljava/awt/Component;
0 35 2 sourcePoint Ljava/awt/Point;
3 35 3 screenX I
4 35 4 screenY I
1 35 5 p Ljava/awt/Point;
7 35 6 i I
11 33 7 j I
12 33 8 d I
16 30 9 mc Ljava/awt/Component;
23 25 10 r2 Ljava/awt/Rectangle;
20 22 11 cWidth I
24 30 11 cWidth I
21 22 12 cHeight I
25 30 12 cHeight I
9 33 13 menuElement Ljavax/swing/MenuElement;
10 33 14 subElements [Ljavax/swing/MenuElement;
6 35 15 selectionSize I
5 35 16 tmp Ljava/util/Vector<Ljavax/swing/MenuElement;>;
MethodParameters:
Name Flags
source
sourcePoint
public void (java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: iconst_0
anewarray javax.swing.MenuElement
astore 2
start local 2 1: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
aload 2
invokevirtual java.util.Vector.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.swing.MenuElement[]
astore 2
2: aload 2
arraylength
istore 3
start local 3 3: iload 3
iconst_1
if_icmpge 5
4: return
5: StackMap locals: javax.swing.MenuElement[] int
StackMap stack:
iload 3
iconst_1
isub
istore 5
start local 5 6: goto 25
7: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.KeyEvent javax.swing.MenuElement[] int top int
StackMap stack:
aload 2
iload 5
aaload
astore 6
start local 6 8: aload 6
invokeinterface javax.swing.MenuElement.getSubElements:()[Ljavax/swing/MenuElement;
astore 7
start local 7 9: aconst_null
astore 4
start local 4 10: iconst_0
istore 8
start local 8 11: goto 23
12: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.KeyEvent javax.swing.MenuElement[] int javax.swing.MenuElement[] int javax.swing.MenuElement javax.swing.MenuElement[] int
StackMap stack:
aload 7
iload 8
aaload
ifnull 22
aload 7
iload 8
aaload
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
invokevirtual java.awt.Component.isShowing:()Z
ifeq 22
13: aload 7
iload 8
aaload
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
invokevirtual java.awt.Component.isEnabled:()Z
ifne 15
14: goto 22
15: StackMap locals:
StackMap stack:
aload 4
ifnonnull 18
16: iload 5
iconst_2
iadd
anewarray javax.swing.MenuElement
astore 4
17: aload 2
iconst_0
aload 4
iconst_0
iload 5
iconst_1
iadd
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: StackMap locals:
StackMap stack:
aload 4
iload 5
iconst_1
iadd
aload 7
iload 8
aaload
aastore
19: aload 7
iload 8
aaload
aload 1
aload 4
aload 0
invokeinterface javax.swing.MenuElement.processKeyEvent:(Ljava/awt/event/KeyEvent;[Ljavax/swing/MenuElement;Ljavax/swing/MenuSelectionManager;)V
20: aload 1
invokevirtual java.awt.event.KeyEvent.isConsumed:()Z
ifeq 22
21: return
22: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
23: iload 8
aload 7
arraylength
if_icmplt 12
end local 8 end local 7 end local 6 24: iinc 5 -1
end local 4 StackMap locals: javax.swing.MenuSelectionManager java.awt.event.KeyEvent javax.swing.MenuElement[] int top int
StackMap stack:
25: iload 5
ifge 7
end local 5 26: iconst_1
anewarray javax.swing.MenuElement
astore 4
start local 4 27: aload 4
iconst_0
aload 2
iconst_0
aaload
aastore
28: aload 4
iconst_0
aaload
aload 1
aload 4
aload 0
invokeinterface javax.swing.MenuElement.processKeyEvent:(Ljava/awt/event/KeyEvent;[Ljavax/swing/MenuElement;Ljavax/swing/MenuSelectionManager;)V
29: aload 1
invokevirtual java.awt.event.KeyEvent.isConsumed:()Z
ifeq 31
30: return
31: StackMap locals: javax.swing.MenuSelectionManager java.awt.event.KeyEvent javax.swing.MenuElement[] int javax.swing.MenuElement[]
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljavax/swing/MenuSelectionManager;
0 32 1 e Ljava/awt/event/KeyEvent;
1 32 2 sel2 [Ljavax/swing/MenuElement;
3 32 3 selSize I
10 25 4 path [Ljavax/swing/MenuElement;
27 32 4 path [Ljavax/swing/MenuElement;
6 26 5 i I
8 24 6 elem Ljavax/swing/MenuElement;
9 24 7 subs [Ljavax/swing/MenuElement;
11 24 8 j I
MethodParameters:
Name Flags
e
public boolean (java.awt.Component);
descriptor: (Ljava/awt/Component;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifle 3
1: aload 0
getfield javax.swing.MenuSelectionManager.selection:Ljava/util/Vector;
iconst_0
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.MenuElement
astore 2
start local 2 2: aload 0
aload 2
aload 1
invokevirtual javax.swing.MenuSelectionManager.isComponentPartOfCurrentMenu:(Ljavax/swing/MenuElement;Ljava/awt/Component;)Z
ireturn
end local 2 3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/MenuSelectionManager;
0 4 1 c Ljava/awt/Component;
2 3 2 me Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
c
private boolean (javax.swing.MenuElement, java.awt.Component);
descriptor: (Ljavax/swing/MenuElement;Ljava/awt/Component;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
aload 2
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.MenuElement.getSubElements:()[Ljavax/swing/MenuElement;
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: aload 3
arraylength
istore 5
start local 5 7: goto 11
8: StackMap locals: javax.swing.MenuElement[] int int
StackMap stack:
aload 0
aload 3
iload 4
aaload
aload 2
invokevirtual javax.swing.MenuSelectionManager.isComponentPartOfCurrentMenu:(Ljavax/swing/MenuElement;Ljava/awt/Component;)Z
ifeq 10
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 8
12: iconst_0
ireturn
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 13 0 this Ljavax/swing/MenuSelectionManager;
0 13 1 root Ljavax/swing/MenuElement;
0 13 2 c Ljava/awt/Component;
5 13 3 children [Ljavax/swing/MenuElement;
6 13 4 i I
7 13 5 d I
MethodParameters:
Name Flags
root
c
}
SourceFile: "MenuSelectionManager.java"