class extends sun.swing.UIAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicPopupMenuUI$Actions
super_class: sun.swing.UIAction
{
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cancel"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "selectNext"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "selectPrevious"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "selectParent"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "selectChild"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "return"
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
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: 1
void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.swing.UIAction.<init>:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$Actions;
0 2 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public void (java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$Actions.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "cancel"
if_acmpne 4
2: aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$Actions.cancel:()V
3: goto 18
4: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "selectNext"
if_acmpne 7
5: aload 0
iconst_1
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$Actions.selectItem:(Z)V
6: goto 18
7: StackMap locals:
StackMap stack:
aload 2
ldc "selectPrevious"
if_acmpne 10
8: aload 0
iconst_0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$Actions.selectItem:(Z)V
9: goto 18
10: StackMap locals:
StackMap stack:
aload 2
ldc "selectParent"
if_acmpne 13
11: aload 0
iconst_0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$Actions.selectParentChild:(Z)V
12: goto 18
13: StackMap locals:
StackMap stack:
aload 2
ldc "selectChild"
if_acmpne 16
14: aload 0
iconst_1
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$Actions.selectParentChild:(Z)V
15: goto 18
16: StackMap locals:
StackMap stack:
aload 2
ldc "return"
if_acmpne 18
17: aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$Actions.doReturn:()V
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$Actions;
0 19 1 e Ljava/awt/event/ActionEvent;
1 19 2 key Ljava/lang/String;
MethodParameters:
Name Flags
e
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: invokestatic java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager:()Ljava/awt/KeyboardFocusManager;
1: astore 1
start local 1 2: aload 1
invokevirtual java.awt.KeyboardFocusManager.getFocusOwner:()Ljava/awt/Component;
astore 2
start local 2 3: aload 2
ifnull 5
aload 2
instanceof javax.swing.JRootPane
ifne 5
4: return
5: StackMap locals: java.awt.KeyboardFocusManager java.awt.Component
StackMap stack:
invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 3
start local 3 6: aload 3
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 4
start local 4 7: aload 4
arraylength
ifle 22
8: aload 4
aload 4
arraylength
iconst_1
isub
aaload
astore 5
start local 5 9: aload 5
instanceof javax.swing.JMenu
ifeq 15
10: aload 4
arraylength
iconst_1
iadd
anewarray javax.swing.MenuElement
astore 6
start local 6 11: aload 4
iconst_0
aload 6
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 6
aload 4
arraylength
aload 5
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
aastore
13: aload 3
aload 6
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 6 14: goto 22
StackMap locals: javax.swing.MenuSelectionManager javax.swing.MenuElement[] javax.swing.MenuElement
StackMap stack:
15: aload 5
instanceof javax.swing.JMenuItem
ifeq 22
16: aload 5
checkcast javax.swing.JMenuItem
astore 6
start local 6 17: aload 6
invokevirtual javax.swing.JMenuItem.getUI:()Ljavax/swing/plaf/ButtonUI;
instanceof javax.swing.plaf.basic.BasicMenuItemUI
ifeq 20
18: aload 6
invokevirtual javax.swing.JMenuItem.getUI:()Ljavax/swing/plaf/ButtonUI;
checkcast javax.swing.plaf.basic.BasicMenuItemUI
aload 3
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.doClick:(Ljavax/swing/MenuSelectionManager;)V
19: goto 22
20: StackMap locals: javax.swing.JMenuItem
StackMap stack:
aload 3
invokevirtual javax.swing.MenuSelectionManager.clearSelectedPath:()V
21: aload 6
iconst_0
invokevirtual javax.swing.JMenuItem.doClick:(I)V
end local 6 end local 5 22: 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 23 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$Actions;
2 23 1 fmgr Ljava/awt/KeyboardFocusManager;
3 23 2 focusOwner Ljava/awt/Component;
6 23 3 msm Ljavax/swing/MenuSelectionManager;
7 23 4 path [Ljavax/swing/MenuElement;
9 22 5 lastElement Ljavax/swing/MenuElement;
11 14 6 newPath [Ljavax/swing/MenuElement;
17 22 6 mi Ljavax/swing/JMenuItem;
private void (boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 3
start local 3 2: aload 3
arraylength
istore 4
start local 4 3: iload 1
ifne 13
4: iload 4
iconst_1
isub
istore 5
start local 5 5: iload 4
iconst_2
if_icmple 28
6: aload 3
iload 5
aaload
instanceof javax.swing.JPopupMenu
ifne 8
7: aload 3
iinc 5 -1
iload 5
aaload
instanceof javax.swing.JPopupMenu
ifeq 28
8: StackMap locals: javax.swing.plaf.basic.BasicPopupMenuUI$Actions int javax.swing.MenuSelectionManager javax.swing.MenuElement[] int int
StackMap stack:
aload 3
iload 5
iconst_1
isub
aaload
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.isTopLevelMenu:()Z
ifne 28
9: iload 5
anewarray javax.swing.MenuElement
astore 6
start local 6 10: aload 3
iconst_0
aload 6
iconst_0
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 2
aload 6
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
12: return
end local 6 end local 5 13: StackMap locals:
StackMap stack:
iload 4
ifle 28
aload 3
iload 4
iconst_1
isub
aaload
instanceof javax.swing.JMenu
ifeq 28
14: aload 3
iload 4
iconst_1
isub
aaload
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.isTopLevelMenu:()Z
ifne 28
15: aload 3
iload 4
iconst_1
isub
aaload
checkcast javax.swing.JMenu
astore 5
start local 5 16: aload 5
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
astore 6
start local 6 17: aload 6
invokevirtual javax.swing.JPopupMenu.getSubElements:()[Ljavax/swing/MenuElement;
astore 7
start local 7 18: aload 7
iconst_m1
iconst_1
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;IZ)Ljavax/swing/MenuElement;
astore 8
start local 8 19: aload 8
ifnonnull 22
20: iload 4
iconst_1
iadd
anewarray javax.swing.MenuElement
astore 9
start local 9 21: goto 24
end local 9 22: StackMap locals: javax.swing.plaf.basic.BasicPopupMenuUI$Actions int javax.swing.MenuSelectionManager javax.swing.MenuElement[] int javax.swing.JMenu javax.swing.JPopupMenu javax.swing.MenuElement[] javax.swing.MenuElement
StackMap stack:
iload 4
iconst_2
iadd
anewarray javax.swing.MenuElement
astore 9
start local 9 23: aload 9
iload 4
iconst_1
iadd
aload 8
aastore
24: StackMap locals: javax.swing.MenuElement[]
StackMap stack:
aload 3
iconst_0
aload 9
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
25: aload 9
iload 4
aload 6
aastore
26: aload 2
aload 9
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
27: return
end local 9 end local 8 end local 7 end local 6 end local 5 28: StackMap locals: javax.swing.plaf.basic.BasicPopupMenuUI$Actions int javax.swing.MenuSelectionManager javax.swing.MenuElement[] int
StackMap stack:
iload 4
iconst_1
if_icmple 43
aload 3
iconst_0
aaload
instanceof javax.swing.JMenuBar
ifeq 43
29: aload 3
iconst_1
aaload
astore 5
start local 5 30: aload 3
iconst_0
aaload
invokeinterface javax.swing.MenuElement.getSubElements:()[Ljavax/swing/MenuElement;
aload 5
iload 1
31: invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;Ljavax/swing/MenuElement;Z)Ljavax/swing/MenuElement;
astore 6
start local 6 32: aload 6
ifnull 43
aload 6
aload 5
if_acmpeq 43
33: iload 4
iconst_2
if_icmpne 38
34: iconst_2
anewarray javax.swing.MenuElement
astore 7
start local 7 35: aload 7
iconst_0
aload 3
iconst_0
aaload
aastore
36: aload 7
iconst_1
aload 6
aastore
37: goto 42
end local 7 38: StackMap locals: javax.swing.MenuElement javax.swing.MenuElement
StackMap stack:
iconst_3
anewarray javax.swing.MenuElement
astore 7
start local 7 39: aload 7
iconst_0
aload 3
iconst_0
aaload
aastore
40: aload 7
iconst_1
aload 6
aastore
41: aload 7
iconst_2
aload 6
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
aastore
42: StackMap locals: javax.swing.MenuElement[]
StackMap stack:
aload 2
aload 7
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 7 end local 6 end local 5 43: 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 44 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$Actions;
0 44 1 direction Z
1 44 2 msm Ljavax/swing/MenuSelectionManager;
2 44 3 path [Ljavax/swing/MenuElement;
3 44 4 len I
5 13 5 popupIndex I
10 13 6 newPath [Ljavax/swing/MenuElement;
16 28 5 menu Ljavax/swing/JMenu;
17 28 6 popup Ljavax/swing/JPopupMenu;
18 28 7 subs [Ljavax/swing/MenuElement;
19 28 8 item Ljavax/swing/MenuElement;
21 22 9 newPath [Ljavax/swing/MenuElement;
23 28 9 newPath [Ljavax/swing/MenuElement;
30 43 5 currentMenu Ljavax/swing/MenuElement;
32 43 6 nextMenu Ljavax/swing/MenuElement;
35 38 7 newSelection [Ljavax/swing/MenuElement;
39 43 7 newSelection [Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
direction
private void (boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 3
start local 3 2: aload 3
arraylength
ifne 4
3: return
4: StackMap locals: javax.swing.MenuSelectionManager javax.swing.MenuElement[]
StackMap stack:
aload 3
arraylength
istore 4
start local 4 5: iload 4
iconst_1
if_icmpne 12
aload 3
iconst_0
aaload
instanceof javax.swing.JPopupMenu
ifeq 12
6: aload 3
iconst_0
aaload
checkcast javax.swing.JPopupMenu
astore 5
start local 5 7: iconst_2
anewarray javax.swing.MenuElement
astore 6
start local 6 8: aload 6
iconst_0
aload 5
aastore
9: aload 6
iconst_1
aload 5
invokevirtual javax.swing.JPopupMenu.getSubElements:()[Ljavax/swing/MenuElement;
iconst_m1
iload 1
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;IZ)Ljavax/swing/MenuElement;
aastore
10: aload 2
aload 6
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 6 end local 5 11: goto 57
StackMap locals: int
StackMap stack:
12: iload 4
iconst_2
if_icmpne 26
13: aload 3
iconst_0
aaload
instanceof javax.swing.JMenuBar
ifeq 26
aload 3
iconst_1
aaload
instanceof javax.swing.JMenu
ifeq 26
14: aload 3
iconst_1
aaload
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
astore 5
start local 5 15: aload 5
invokevirtual javax.swing.JPopupMenu.getSubElements:()[Ljavax/swing/MenuElement;
iconst_m1
iconst_1
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;IZ)Ljavax/swing/MenuElement;
16: astore 6
start local 6 17: aload 6
ifnull 21
18: iconst_4
anewarray javax.swing.MenuElement
astore 7
start local 7 19: aload 7
iconst_3
aload 6
aastore
20: goto 22
end local 7 21: StackMap locals: javax.swing.JPopupMenu javax.swing.MenuElement
StackMap stack:
iconst_3
anewarray javax.swing.MenuElement
astore 7
start local 7 22: StackMap locals: javax.swing.MenuElement[]
StackMap stack:
aload 3
iconst_0
aload 7
iconst_0
iconst_2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
23: aload 7
iconst_2
aload 5
aastore
24: aload 2
aload 7
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 7 end local 6 end local 5 25: goto 57
StackMap locals:
StackMap stack:
26: aload 3
iload 4
iconst_1
isub
aaload
instanceof javax.swing.JPopupMenu
ifeq 49
27: aload 3
iload 4
iconst_2
isub
aaload
instanceof javax.swing.JMenu
ifeq 49
28: aload 3
iload 4
iconst_2
isub
aaload
checkcast javax.swing.JMenu
astore 5
start local 5 29: aload 5
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
astore 6
start local 6 30: aload 6
invokevirtual javax.swing.JPopupMenu.getSubElements:()[Ljavax/swing/MenuElement;
iconst_m1
iload 1
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;IZ)Ljavax/swing/MenuElement;
31: astore 7
start local 7 32: aload 7
ifnull 38
33: iload 4
iconst_1
iadd
anewarray javax.swing.MenuElement
astore 8
start local 8 34: aload 3
iconst_0
aload 8
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
35: aload 8
iload 4
aload 7
aastore
36: aload 2
aload 8
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 8 37: goto 57
38: StackMap locals: javax.swing.JMenu javax.swing.JPopupMenu javax.swing.MenuElement
StackMap stack:
iload 4
iconst_2
if_icmple 57
aload 3
iload 4
iconst_3
isub
aaload
instanceof javax.swing.JPopupMenu
ifeq 57
39: aload 3
iload 4
iconst_3
isub
aaload
checkcast javax.swing.JPopupMenu
astore 6
40: aload 6
invokevirtual javax.swing.JPopupMenu.getSubElements:()[Ljavax/swing/MenuElement;
41: aload 5
iload 1
42: invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;Ljavax/swing/MenuElement;Z)Ljavax/swing/MenuElement;
astore 7
43: aload 7
ifnull 57
aload 7
aload 5
if_acmpeq 57
44: iload 4
iconst_1
isub
anewarray javax.swing.MenuElement
astore 8
start local 8 45: aload 3
iconst_0
aload 8
iconst_0
iload 4
iconst_2
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
46: aload 8
iload 4
iconst_2
isub
aload 7
aastore
47: aload 2
aload 8
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 8 end local 7 end local 6 end local 5 48: goto 57
49: StackMap locals:
StackMap stack:
aload 3
iload 4
iconst_2
isub
aaload
invokeinterface javax.swing.MenuElement.getSubElements:()[Ljavax/swing/MenuElement;
astore 5
start local 5 50: aload 5
aload 3
iload 4
iconst_1
isub
aaload
iload 1
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;Ljavax/swing/MenuElement;Z)Ljavax/swing/MenuElement;
51: astore 6
start local 6 52: aload 6
ifnonnull 54
53: aload 5
iconst_m1
iload 1
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;IZ)Ljavax/swing/MenuElement;
astore 6
54: StackMap locals: javax.swing.MenuElement[] javax.swing.MenuElement
StackMap stack:
aload 6
ifnull 57
55: aload 3
iload 4
iconst_1
isub
aload 6
aastore
56: aload 2
aload 3
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 6 end local 5 57: 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 58 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$Actions;
0 58 1 direction Z
1 58 2 msm Ljavax/swing/MenuSelectionManager;
2 58 3 path [Ljavax/swing/MenuElement;
5 58 4 len I
7 11 5 popup Ljavax/swing/JPopupMenu;
8 11 6 newPath [Ljavax/swing/MenuElement;
15 25 5 popup Ljavax/swing/JPopupMenu;
17 25 6 next Ljavax/swing/MenuElement;
19 21 7 newPath [Ljavax/swing/MenuElement;
22 25 7 newPath [Ljavax/swing/MenuElement;
29 48 5 menu Ljavax/swing/JMenu;
30 48 6 popup Ljavax/swing/JPopupMenu;
32 48 7 next Ljavax/swing/MenuElement;
34 37 8 newPath [Ljavax/swing/MenuElement;
45 48 8 newPath [Ljavax/swing/MenuElement;
50 57 5 subs [Ljavax/swing/MenuElement;
52 57 6 nextChild Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
direction
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.getLastPopup:()Ljavax/swing/JPopupMenu;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
ldc "JPopupMenu.firePopupMenuCanceled"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual javax.swing.JPopupMenu.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: javax.swing.JPopupMenu
StackMap stack:
ldc "Menu.cancelMode"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 4: ldc "hideMenuTree"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
invokevirtual javax.swing.MenuSelectionManager.clearSelectedPath:()V
6: goto 8
7: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$Actions.shortenSelectedPath:()V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$Actions;
1 9 1 lastPopup Ljavax/swing/JPopupMenu;
4 9 2 mode Ljava/lang/String;
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 1
start local 1 1: aload 1
arraylength
iconst_2
if_icmpgt 4
2: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
invokevirtual javax.swing.MenuSelectionManager.clearSelectedPath:()V
3: return
4: StackMap locals: javax.swing.MenuElement[]
StackMap stack:
iconst_2
istore 2
start local 2 5: aload 1
aload 1
arraylength
iconst_1
isub
aaload
astore 3
start local 3 6: invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.getLastPopup:()Ljavax/swing/JPopupMenu;
astore 4
start local 4 7: aload 3
aload 4
if_acmpne 15
8: aload 1
aload 1
arraylength
iconst_2
isub
aaload
astore 5
start local 5 9: aload 5
instanceof javax.swing.JMenu
ifeq 15
10: aload 5
checkcast javax.swing.JMenu
astore 6
start local 6 11: aload 6
invokevirtual javax.swing.JMenu.isEnabled:()Z
ifeq 14
aload 4
invokevirtual javax.swing.JPopupMenu.getComponentCount:()I
ifle 14
12: iconst_1
istore 2
13: goto 15
14: StackMap locals: javax.swing.plaf.basic.BasicPopupMenuUI$Actions javax.swing.MenuElement[] int javax.swing.MenuElement javax.swing.JPopupMenu javax.swing.MenuElement javax.swing.JMenu
StackMap stack:
iconst_3
istore 2
end local 6 end local 5 15: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 2
isub
iconst_2
if_icmpgt 18
16: ldc "Menu.preserveTopLevelSelection"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifne 18
17: aload 1
arraylength
istore 2
18: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 2
isub
anewarray javax.swing.MenuElement
astore 5
start local 5 19: aload 1
iconst_0
aload 5
iconst_0
aload 1
arraylength
iload 2
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
aload 5
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
21: 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 22 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$Actions;
1 22 1 path [Ljavax/swing/MenuElement;
5 22 2 value I
6 22 3 lastElement Ljavax/swing/MenuElement;
7 22 4 lastPopup Ljavax/swing/JPopupMenu;
9 15 5 previousElement Ljavax/swing/MenuElement;
11 15 6 lastMenu Ljavax/swing/JMenu;
19 22 5 newPath [Ljavax/swing/MenuElement;
}
SourceFile: "BasicPopupMenuUI.java"
NestHost: javax.swing.plaf.basic.BasicPopupMenuUI
InnerClasses:
private Actions = javax.swing.plaf.basic.BasicPopupMenuUI$Actions of javax.swing.plaf.basic.BasicPopupMenuUI