class extends sun.swing.UIAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicMenuUI$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: "selectMenu"
private javax.swing.JMenu ;
descriptor: Ljavax/swing/JMenu;
flags: (0x0002) ACC_PRIVATE
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void (java.lang.String, javax.swing.JMenu, boolean);
descriptor: (Ljava/lang/String;Ljavax/swing/JMenu;Z)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial sun.swing.UIAction.<init>:(Ljava/lang/String;)V
1: aload 0
iconst_0
putfield javax.swing.plaf.basic.BasicMenuUI$Actions.force:Z
2: aload 0
aload 2
putfield javax.swing.plaf.basic.BasicMenuUI$Actions.menu:Ljavax/swing/JMenu;
3: aload 0
iload 3
putfield javax.swing.plaf.basic.BasicMenuUI$Actions.force:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuUI$Actions;
0 5 1 key Ljava/lang/String;
0 5 2 menu Ljavax/swing/JMenu;
0 5 3 shouldForce Z
MethodParameters:
Name Flags
key
menu
shouldForce
private javax.swing.JMenu (java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)Ljavax/swing/JMenu;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
instanceof javax.swing.JMenu
ifeq 2
1: aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JMenu
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI$Actions.menu:Ljavax/swing/JMenu;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuUI$Actions;
0 3 1 e Ljava/awt/event/ActionEvent;
MethodParameters:
Name Flags
e
public void (java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicMenuUI$Actions.getMenu:(Ljava/awt/event/ActionEvent;)Ljavax/swing/JMenu;
astore 2
start local 2 1: getstatic javax.swing.plaf.basic.BasicMenuUI.crossMenuMnemonic:Z
ifne 5
2: invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.getLastPopup:()Ljavax/swing/JPopupMenu;
astore 3
start local 3 3: aload 3
ifnull 5
aload 3
aload 2
invokevirtual javax.swing.JMenu.getParent:()Ljava/awt/Container;
if_acmpeq 5
4: return
end local 3 5: StackMap locals: javax.swing.JMenu
StackMap stack:
invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 3
start local 3 6: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI$Actions.force:Z
ifeq 23
7: aload 2
invokevirtual javax.swing.JMenu.getParent:()Ljava/awt/Container;
astore 4
start local 4 8: aload 4
ifnull 26
aload 4
instanceof javax.swing.JMenuBar
ifeq 26
9: aload 2
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
invokevirtual javax.swing.JPopupMenu.getSubElements:()[Ljavax/swing/MenuElement;
astore 6
start local 6 10: aload 6
arraylength
ifle 17
11: iconst_4
anewarray javax.swing.MenuElement
astore 5
start local 5 12: aload 5
iconst_0
aload 4
checkcast javax.swing.MenuElement
aastore
13: aload 5
iconst_1
aload 2
aastore
14: aload 5
iconst_2
aload 2
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
aastore
15: aload 5
iconst_3
aload 6
iconst_0
aaload
aastore
16: goto 21
end local 5 17: StackMap locals: javax.swing.plaf.basic.BasicMenuUI$Actions java.awt.event.ActionEvent javax.swing.JMenu javax.swing.MenuSelectionManager java.awt.Container top javax.swing.MenuElement[]
StackMap stack:
iconst_3
anewarray javax.swing.MenuElement
astore 5
start local 5 18: aload 5
iconst_0
aload 4
checkcast javax.swing.MenuElement
aastore
19: aload 5
iconst_1
aload 2
aastore
20: aload 5
iconst_2
aload 2
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
aastore
21: StackMap locals: javax.swing.plaf.basic.BasicMenuUI$Actions java.awt.event.ActionEvent javax.swing.JMenu javax.swing.MenuSelectionManager java.awt.Container javax.swing.MenuElement[] javax.swing.MenuElement[]
StackMap stack:
aload 3
aload 5
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 6 end local 5 end local 4 22: goto 26
23: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 4
start local 4 24: aload 4
arraylength
ifle 26
aload 4
aload 4
arraylength
iconst_1
isub
aaload
aload 2
if_acmpne 26
25: aload 4
aload 2
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
invokestatic javax.swing.plaf.basic.BasicMenuUI.appendPath:([Ljavax/swing/MenuElement;Ljavax/swing/MenuElement;)V
end local 4 26: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/plaf/basic/BasicMenuUI$Actions;
0 27 1 e Ljava/awt/event/ActionEvent;
1 27 2 menu Ljavax/swing/JMenu;
3 5 3 pm Ljavax/swing/JPopupMenu;
6 27 3 defaultManager Ljavax/swing/MenuSelectionManager;
8 22 4 cnt Ljava/awt/Container;
12 17 5 me [Ljavax/swing/MenuElement;
18 22 5 me [Ljavax/swing/MenuElement;
10 22 6 subElements [Ljavax/swing/MenuElement;
24 26 4 path [Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
e
public boolean (java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.swing.JMenu
ifeq 2
1: aload 1
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.isEnabled:()Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuUI$Actions;
0 3 1 c Ljava/lang/Object;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicMenuUI.java"
NestHost: javax.swing.plaf.basic.BasicMenuUI
InnerClasses:
private Actions = javax.swing.plaf.basic.BasicMenuUI$Actions of javax.swing.plaf.basic.BasicMenuUI