class implements javax.swing.event.MenuKeyListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener
super_class: java.lang.Object
{
javax.swing.MenuElement ;
descriptor: Ljavax/swing/MenuElement;
flags: (0x0000)
final javax.swing.plaf.basic.BasicPopupMenuUI ;
descriptor: Ljavax/swing/plaf/basic/BasicPopupMenuUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void (javax.swing.plaf.basic.BasicPopupMenuUI);
descriptor: (Ljavax/swing/plaf/basic/BasicPopupMenuUI;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.this$0:Ljavax/swing/plaf/basic/BasicPopupMenuUI;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.menuToOpen:Ljavax/swing/MenuElement;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$BasicMenuKeyListener;
MethodParameters:
Name Flags
this$0 final
public void (javax.swing.event.MenuKeyEvent);
descriptor: (Ljavax/swing/event/MenuKeyEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.menuToOpen:Ljavax/swing/MenuElement;
ifnull 13
1: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.menuToOpen:Ljavax/swing/MenuElement;
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
astore 2
start local 2 2: aload 2
invokevirtual javax.swing.JPopupMenu.getSubElements:()[Ljavax/swing/MenuElement;
iconst_m1
iconst_1
3: invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;IZ)Ljavax/swing/MenuElement;
astore 3
start local 3 4: new java.util.ArrayList
dup
aload 1
invokevirtual javax.swing.event.MenuKeyEvent.getPath:()[Ljavax/swing/MenuElement;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 5: aload 4
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.menuToOpen:Ljavax/swing/MenuElement;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
6: aload 4
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
7: aload 3
ifnull 9
8: aload 4
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals: javax.swing.JPopupMenu javax.swing.MenuElement java.util.ArrayList
StackMap stack:
iconst_0
anewarray javax.swing.MenuElement
astore 5
start local 5 10: aload 4
aload 5
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.swing.MenuElement[]
astore 5
11: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
aload 5
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
12: aload 1
invokevirtual javax.swing.event.MenuKeyEvent.consume:()V
end local 5 end local 4 end local 3 end local 2 13: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.menuToOpen:Ljavax/swing/MenuElement;
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$BasicMenuKeyListener;
0 15 1 e Ljavax/swing/event/MenuKeyEvent;
2 13 2 subpopup Ljavax/swing/JPopupMenu;
4 13 3 subitem Ljavax/swing/MenuElement;
5 13 4 lst Ljava/util/ArrayList<Ljavax/swing/MenuElement;>;
10 13 5 newPath [Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
e
public void (javax.swing.event.MenuKeyEvent);
descriptor: (Ljavax/swing/event/MenuKeyEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.event.MenuKeyEvent.getKeyChar:()C
istore 2
start local 2 1: iload 2
invokestatic java.lang.Character.isLetterOrDigit:(C)Z
ifne 3
2: return
3: StackMap locals: int
StackMap stack:
aload 1
invokevirtual javax.swing.event.MenuKeyEvent.getMenuSelectionManager:()Ljavax/swing/MenuSelectionManager;
astore 3
start local 3 4: aload 1
invokevirtual javax.swing.event.MenuKeyEvent.getPath:()[Ljavax/swing/MenuElement;
astore 4
start local 4 5: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.this$0:Ljavax/swing/plaf/basic/BasicPopupMenuUI;
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
invokevirtual javax.swing.JPopupMenu.getSubElements:()[Ljavax/swing/MenuElement;
astore 5
start local 5 6: iconst_m1
istore 6
start local 6 7: iconst_0
istore 7
start local 7 8: iconst_m1
istore 8
start local 8 9: aconst_null
astore 9
start local 9 10: iconst_0
istore 10
start local 10 11: goto 29
12: StackMap locals: javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener javax.swing.event.MenuKeyEvent int javax.swing.MenuSelectionManager javax.swing.MenuElement[] javax.swing.MenuElement[] int int int int[] int
StackMap stack:
aload 5
iload 10
aaload
instanceof javax.swing.JMenuItem
ifne 14
13: goto 28
14: StackMap locals:
StackMap stack:
aload 5
iload 10
aaload
checkcast javax.swing.JMenuItem
astore 11
start local 11 15: aload 11
invokevirtual javax.swing.JMenuItem.getMnemonic:()I
istore 12
start local 12 16: aload 11
invokevirtual javax.swing.JMenuItem.isEnabled:()Z
ifeq 26
17: aload 11
invokevirtual javax.swing.JMenuItem.isVisible:()Z
ifeq 26
aload 0
iload 2
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.lower:(C)C
aload 0
iload 12
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.lower:(I)C
if_icmpne 26
18: iload 7
ifne 22
19: iload 10
istore 8
20: iinc 7 1
21: goto 26
22: StackMap locals: javax.swing.JMenuItem int
StackMap stack:
aload 9
ifnonnull 25
23: aload 5
arraylength
newarray 10
astore 9
24: aload 9
iconst_0
iload 8
iastore
25: StackMap locals:
StackMap stack:
aload 9
iload 7
iinc 7 1
iload 10
iastore
26: StackMap locals:
StackMap stack:
aload 11
invokevirtual javax.swing.JMenuItem.isArmed:()Z
ifne 27
aload 11
invokevirtual javax.swing.JMenuItem.isSelected:()Z
ifeq 28
27: StackMap locals:
StackMap stack:
iload 7
iconst_1
isub
istore 6
end local 12 end local 11 28: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
29: iload 10
aload 5
arraylength
if_icmplt 12
end local 10 30: iload 7
ifeq 47
31: iload 7
iconst_1
if_icmpne 41
32: aload 5
iload 8
aaload
checkcast javax.swing.JMenuItem
astore 10
start local 10 33: aload 10
instanceof javax.swing.JMenu
ifeq 36
34: aload 0
aload 10
putfield javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.menuToOpen:Ljavax/swing/MenuElement;
35: goto 39
StackMap locals: javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener javax.swing.event.MenuKeyEvent int javax.swing.MenuSelectionManager javax.swing.MenuElement[] javax.swing.MenuElement[] int int int int[] javax.swing.JMenuItem
StackMap stack:
36: aload 10
invokevirtual javax.swing.JMenuItem.isEnabled:()Z
ifeq 39
37: aload 3
invokevirtual javax.swing.MenuSelectionManager.clearSelectedPath:()V
38: aload 10
invokevirtual javax.swing.JMenuItem.doClick:()V
39: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.event.MenuKeyEvent.consume:()V
end local 10 40: goto 47
41: StackMap locals:
StackMap stack:
aload 5
aload 9
iload 6
iconst_1
iadd
iload 7
irem
iaload
aaload
astore 10
start local 10 42: aload 4
arraylength
iconst_1
iadd
anewarray javax.swing.MenuElement
astore 11
start local 11 43: aload 4
iconst_0
aload 11
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
44: aload 11
aload 4
arraylength
aload 10
aastore
45: aload 3
aload 11
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
46: aload 1
invokevirtual javax.swing.event.MenuKeyEvent.consume:()V
end local 11 end local 10 47: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 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 48 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$BasicMenuKeyListener;
0 48 1 e Ljavax/swing/event/MenuKeyEvent;
1 48 2 keyChar C
4 48 3 manager Ljavax/swing/MenuSelectionManager;
5 48 4 path [Ljavax/swing/MenuElement;
6 48 5 items [Ljavax/swing/MenuElement;
7 48 6 currentIndex I
8 48 7 matches I
9 48 8 firstMatch I
10 48 9 indexes [I
11 30 10 j I
15 28 11 item Ljavax/swing/JMenuItem;
16 28 12 mnemonic I
33 40 10 item Ljavax/swing/JMenuItem;
42 47 10 newItem Ljavax/swing/MenuElement;
43 47 11 newPath [Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
e
public void (javax.swing.event.MenuKeyEvent);
descriptor: (Ljavax/swing/event/MenuKeyEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$BasicMenuKeyListener;
0 1 1 e Ljavax/swing/event/MenuKeyEvent;
MethodParameters:
Name Flags
e
private char (char);
descriptor: (C)C
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic java.lang.Character.toLowerCase:(C)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$BasicMenuKeyListener;
0 1 1 keyChar C
MethodParameters:
Name Flags
keyChar
private char (int);
descriptor: (I)C
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
i2c
invokestatic java.lang.Character.toLowerCase:(C)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI$BasicMenuKeyListener;
0 1 1 mnemonic I
MethodParameters:
Name Flags
mnemonic
}
SourceFile: "BasicPopupMenuUI.java"
NestHost: javax.swing.plaf.basic.BasicPopupMenuUI
InnerClasses:
private BasicMenuKeyListener = javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener of javax.swing.plaf.basic.BasicPopupMenuUI