public class extends javax.swing.plaf.PopupMenuUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicPopupMenuUI
super_class: javax.swing.plaf.PopupMenuUI
{
static final java.lang.StringBuilder ;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.StringBuilder ;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected javax.swing.JPopupMenu ;
descriptor: Ljavax/swing/JPopupMenu;
flags: (0x0004) ACC_PROTECTED
private transient javax.swing.event.PopupMenuListener ;
descriptor: Ljavax/swing/event/PopupMenuListener;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private javax.swing.event.MenuKeyListener ;
descriptor: Ljavax/swing/event/MenuKeyListener;
flags: (0x0002) ACC_PRIVATE
private static boolean ;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean ;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.StringBuilder
dup
1: ldc "javax.swing.plaf.basic.BasicPopupMenuUI.MouseGrabber"
2: invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
putstatic javax.swing.plaf.basic.BasicPopupMenuUI.MOUSE_GRABBER_KEY:Ljava/lang/StringBuilder;
3: new java.lang.StringBuilder
dup
4: ldc "javax.swing.plaf.basic.BasicPopupMenuUI.MenuKeyboardHelper"
5: invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
putstatic javax.swing.plaf.basic.BasicPopupMenuUI.MENU_KEYBOARD_HELPER_KEY:Ljava/lang/StringBuilder;
6: return
LocalVariableTable:
Start End Slot Name Signature
public static javax.swing.plaf.ComponentUI (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.plaf.basic.BasicPopupMenuUI
dup
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x Ljavax/swing/JComponent;
MethodParameters:
Name Flags
x
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.PopupMenuUI.<init>:()V
1: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
2: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenuListener:Ljavax/swing/event/PopupMenuListener;
3: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicPopupMenuUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
4: iconst_1
putstatic javax.swing.plaf.basic.BasicLookAndFeel.needsEventHelper:Z
5: invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
astore 1
start local 1 6: aload 1
instanceof javax.swing.plaf.basic.BasicLookAndFeel
ifeq 8
7: aload 1
checkcast javax.swing.plaf.basic.BasicLookAndFeel
invokevirtual javax.swing.plaf.basic.BasicLookAndFeel.installAWTEventListener:()V
8: StackMap locals: javax.swing.plaf.basic.BasicPopupMenuUI javax.swing.LookAndFeel
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
6 9 1 laf Ljavax/swing/LookAndFeel;
public void (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast javax.swing.JPopupMenu
putfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI.installDefaults:()V
2: aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI.installListeners:()V
3: aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI.installKeyboardActions:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
0 5 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
invokevirtual javax.swing.JPopupMenu.getLayout:()Ljava/awt/LayoutManager;
ifnull 2
1: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
invokevirtual javax.swing.JPopupMenu.getLayout:()Ljava/awt/LayoutManager;
instanceof javax.swing.plaf.UIResource
ifeq 3
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
new javax.swing.plaf.basic.DefaultMenuLayout
dup
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
iconst_1
invokespecial javax.swing.plaf.basic.DefaultMenuLayout.<init>:(Ljava/awt/Container;I)V
invokevirtual javax.swing.JPopupMenu.setLayout:(Ljava/awt/LayoutManager;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
ldc "opaque"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
4: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
ldc "PopupMenu.border"
invokestatic javax.swing.LookAndFeel.installBorder:(Ljavax/swing/JComponent;Ljava/lang/String;)V
5: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
6: ldc "PopupMenu.background"
7: ldc "PopupMenu.foreground"
8: ldc "PopupMenu.font"
9: invokestatic javax.swing.LookAndFeel.installColorsAndFont:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenuListener:Ljavax/swing/event/PopupMenuListener;
ifnonnull 2
1: aload 0
new javax.swing.plaf.basic.BasicPopupMenuUI$BasicPopupMenuListener
dup
aload 0
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$BasicPopupMenuListener.<init>:(Ljavax/swing/plaf/basic/BasicPopupMenuUI;)V
putfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenuListener:Ljavax/swing/event/PopupMenuListener;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenuListener:Ljavax/swing/event/PopupMenuListener;
invokevirtual javax.swing.JPopupMenu.addPopupMenuListener:(Ljavax/swing/event/PopupMenuListener;)V
3: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
ifnonnull 5
4: aload 0
new javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener
dup
aload 0
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener.<init>:(Ljavax/swing/plaf/basic/BasicPopupMenuUI;)V
putfield javax.swing.plaf.basic.BasicPopupMenuUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
invokevirtual javax.swing.JPopupMenu.addMenuKeyListener:(Ljavax/swing/event/MenuKeyListener;)V
6: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 1
start local 1 7: getstatic javax.swing.plaf.basic.BasicPopupMenuUI.MOUSE_GRABBER_KEY:Ljava/lang/StringBuilder;
dup
astore 2
monitorenter
8: aload 1
9: getstatic javax.swing.plaf.basic.BasicPopupMenuUI.MOUSE_GRABBER_KEY:Ljava/lang/StringBuilder;
10: invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber
astore 3
start local 3 11: aload 3
ifnonnull 14
12: new javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber
dup
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.<init>:()V
astore 3
13: aload 1
getstatic javax.swing.plaf.basic.BasicPopupMenuUI.MOUSE_GRABBER_KEY:Ljava/lang/StringBuilder;
aload 3
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 14: StackMap locals: sun.awt.AppContext java.lang.StringBuilder
StackMap stack:
aload 2
monitorexit
15: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
16: aload 2
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
getstatic javax.swing.plaf.basic.BasicPopupMenuUI.MENU_KEYBOARD_HELPER_KEY:Ljava/lang/StringBuilder;
dup
astore 2
monitorenter
19: aload 1
getstatic javax.swing.plaf.basic.BasicPopupMenuUI.MENU_KEYBOARD_HELPER_KEY:Ljava/lang/StringBuilder;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.plaf.basic.BasicPopupMenuUI$MenuKeyboardHelper
20: astore 3
start local 3 21: aload 3
ifnonnull 26
22: new javax.swing.plaf.basic.BasicPopupMenuUI$MenuKeyboardHelper
dup
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$MenuKeyboardHelper.<init>:()V
astore 3
23: aload 1
getstatic javax.swing.plaf.basic.BasicPopupMenuUI.MENU_KEYBOARD_HELPER_KEY:Ljava/lang/StringBuilder;
aload 3
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 4
start local 4 25: aload 4
aload 3
invokevirtual javax.swing.MenuSelectionManager.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 4 end local 3 26: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 2
monitorexit
27: goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
28: aload 2
monitorexit
29: athrow
30: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
7 31 1 context Lsun/awt/AppContext;
11 14 3 mouseGrabber Ljavax/swing/plaf/basic/BasicPopupMenuUI$MouseGrabber;
21 26 3 helper Ljavax/swing/plaf/basic/BasicPopupMenuUI$MenuKeyboardHelper;
25 26 4 msm Ljavax/swing/MenuSelectionManager;
Exception table:
from to target type
8 15 16 any
16 17 16 any
19 27 28 any
28 29 28 any
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
static javax.swing.InputMap (javax.swing.JPopupMenu, javax.swing.JComponent);
descriptor: (Ljavax/swing/JPopupMenu;Ljavax/swing/JComponent;)Ljavax/swing/InputMap;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: ldc "PopupMenu.selectedWindowInputMapBindings"
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 3
start local 3 2: aload 3
ifnull 10
3: aload 1
aload 3
invokestatic javax.swing.LookAndFeel.makeComponentInputMap:(Ljavax/swing/JComponent;[Ljava/lang/Object;)Ljavax/swing/ComponentInputMap;
astore 2
4: aload 0
invokevirtual javax.swing.JPopupMenu.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifne 10
5: ldc "PopupMenu.selectedWindowInputMapBindings.RightToLeft"
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 4
start local 4 6: aload 4
ifnull 10
7: aload 1
aload 4
invokestatic javax.swing.LookAndFeel.makeComponentInputMap:(Ljavax/swing/JComponent;[Ljava/lang/Object;)Ljavax/swing/ComponentInputMap;
astore 5
start local 5 8: aload 5
aload 2
invokevirtual javax.swing.InputMap.setParent:(Ljavax/swing/InputMap;)V
9: aload 5
astore 2
end local 5 end local 4 10: StackMap locals: javax.swing.InputMap java.lang.Object[]
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 popup Ljavax/swing/JPopupMenu;
0 11 1 c Ljavax/swing/JComponent;
1 11 2 windowInputMap Ljavax/swing/InputMap;
2 11 3 bindings [Ljava/lang/Object;
6 10 4 km [Ljava/lang/Object;
8 10 5 rightToLeftInputMap Ljavax/swing/InputMap;
MethodParameters:
Name Flags
popup
c
static javax.swing.ActionMap ();
descriptor: ()Ljavax/swing/ActionMap;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljavax/swing/plaf/basic/BasicPopupMenuUI;
1: ldc "PopupMenu.actionMap"
2: invokestatic javax.swing.plaf.basic.LazyActionMap.getActionMap:(Ljava/lang/Class;Ljava/lang/String;)Ljavax/swing/ActionMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
static void (javax.swing.plaf.basic.LazyActionMap);
descriptor: (Ljavax/swing/plaf/basic/LazyActionMap;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new javax.swing.plaf.basic.BasicPopupMenuUI$Actions
dup
ldc "cancel"
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$Actions.<init>:(Ljava/lang/String;)V
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljavax/swing/Action;)V
1: aload 0
new javax.swing.plaf.basic.BasicPopupMenuUI$Actions
dup
ldc "selectNext"
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$Actions.<init>:(Ljava/lang/String;)V
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljavax/swing/Action;)V
2: aload 0
new javax.swing.plaf.basic.BasicPopupMenuUI$Actions
dup
ldc "selectPrevious"
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$Actions.<init>:(Ljava/lang/String;)V
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljavax/swing/Action;)V
3: aload 0
new javax.swing.plaf.basic.BasicPopupMenuUI$Actions
dup
ldc "selectParent"
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$Actions.<init>:(Ljava/lang/String;)V
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljavax/swing/Action;)V
4: aload 0
new javax.swing.plaf.basic.BasicPopupMenuUI$Actions
dup
ldc "selectChild"
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$Actions.<init>:(Ljava/lang/String;)V
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljavax/swing/Action;)V
5: aload 0
new javax.swing.plaf.basic.BasicPopupMenuUI$Actions
dup
ldc "return"
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI$Actions.<init>:(Ljava/lang/String;)V
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljavax/swing/Action;)V
6: aload 0
invokestatic javax.swing.plaf.basic.BasicLookAndFeel.installAudioActionMap:(Ljavax/swing/ActionMap;)V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 map Ljavax/swing/plaf/basic/LazyActionMap;
MethodParameters:
Name Flags
map
public void (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI.uninstallDefaults:()V
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI.uninstallListeners:()V
2: aload 0
invokevirtual javax.swing.plaf.basic.BasicPopupMenuUI.uninstallKeyboardActions:()V
3: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
0 5 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
invokestatic javax.swing.LookAndFeel.uninstallBorder:(Ljavax/swing/JComponent;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenuListener:Ljavax/swing/event/PopupMenuListener;
ifnull 2
1: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenuListener:Ljavax/swing/event/PopupMenuListener;
invokevirtual javax.swing.JPopupMenu.removePopupMenuListener:(Ljavax/swing/event/PopupMenuListener;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
ifnull 4
3: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
invokevirtual javax.swing.JPopupMenu.removeMenuKeyListener:(Ljavax/swing/event/MenuKeyListener;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
aconst_null
invokestatic javax.swing.SwingUtilities.replaceUIActionMap:(Ljavax/swing/JComponent;Ljavax/swing/ActionMap;)V
1: aload 0
getfield javax.swing.plaf.basic.BasicPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
2: iconst_2
aconst_null
3: invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
static javax.swing.MenuElement ();
descriptor: ()Ljavax/swing/MenuElement;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=0
0: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 0
start local 0 1: aload 0
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: javax.swing.MenuSelectionManager javax.swing.MenuElement[] javax.swing.MenuElement int
StackMap stack:
aload 1
iload 3
aaload
instanceof javax.swing.JPopupMenu
ifeq 7
6: aload 1
iload 3
aaload
astore 2
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: aload 2
ifnonnull 9
iload 3
aload 1
arraylength
if_icmplt 5
end local 3 9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 msm Ljavax/swing/MenuSelectionManager;
2 10 1 p [Ljavax/swing/MenuElement;
3 10 2 me Ljavax/swing/MenuElement;
4 9 3 i I
static javax.swing.JPopupMenu ();
descriptor: ()Ljavax/swing/JPopupMenu;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=0
0: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 0
start local 0 1: aload 0
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: aload 1
arraylength
iconst_1
isub
istore 3
start local 3 4: goto 8
5: StackMap locals: javax.swing.MenuSelectionManager javax.swing.MenuElement[] javax.swing.JPopupMenu int
StackMap stack:
aload 1
iload 3
aaload
instanceof javax.swing.JPopupMenu
ifeq 7
6: aload 1
iload 3
aaload
checkcast javax.swing.JPopupMenu
astore 2
7: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
8: aload 2
ifnonnull 9
iload 3
ifge 5
end local 3 9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 msm Ljavax/swing/MenuSelectionManager;
2 10 1 p [Ljavax/swing/MenuElement;
3 10 2 popup Ljavax/swing/JPopupMenu;
4 9 3 i I
static java.util.List<javax.swing.JPopupMenu> getPopups();
descriptor: ()Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=0
0: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 0
start local 0 1: aload 0
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 1
start local 1 2: new java.util.ArrayList
dup
aload 1
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 3: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: javax.swing.MenuSelectionManager javax.swing.MenuElement[] java.util.List top int int javax.swing.MenuElement[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
instanceof javax.swing.JPopupMenu
ifeq 7
6: aload 2
aload 3
checkcast javax.swing.JPopupMenu
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 4
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 msm Ljavax/swing/MenuSelectionManager;
2 10 1 p [Ljavax/swing/MenuElement;
3 10 2 list Ljava/util/List<Ljavax/swing/JPopupMenu;>;
5 7 3 element Ljavax/swing/MenuElement;
Signature: ()Ljava/util/List<Ljavax/swing/JPopupMenu;>;
public boolean (java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getID:()I
sipush 502
if_icmpne 3
1: aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
iconst_4
iand
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicPopupMenuUI;
0 4 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
private static boolean (javax.swing.MenuElement, javax.swing.MenuElement);
descriptor: (Ljavax/swing/MenuElement;Ljavax/swing/MenuElement;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
astore 2
start local 2 1: aload 1
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
astore 3
start local 3 2: aload 2
instanceof javax.swing.JPopupMenu
ifeq 4
3: aload 2
checkcast javax.swing.JPopupMenu
invokevirtual javax.swing.JPopupMenu.getInvoker:()Ljava/awt/Component;
astore 2
4: StackMap locals: java.awt.Component java.awt.Component
StackMap stack:
aload 3
instanceof javax.swing.JPopupMenu
ifeq 6
5: aload 3
checkcast javax.swing.JPopupMenu
invokevirtual javax.swing.JPopupMenu.getInvoker:()Ljava/awt/Component;
astore 3
6: StackMap locals:
StackMap stack:
aload 2
aload 3
if_acmpne 7
iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 present Ljavax/swing/MenuElement;
0 8 1 last Ljavax/swing/MenuElement;
1 8 2 invokerPresent Ljava/awt/Component;
2 8 3 invokerLast Ljava/awt/Component;
MethodParameters:
Name Flags
present
last
private static javax.swing.MenuElement (javax.swing.MenuElement[], int, int);
descriptor: ([Ljavax/swing/MenuElement;II)Ljavax/swing/MenuElement;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 0
iload 3
aaload
ifnull 8
3: aload 0
iload 3
aaload
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
astore 4
start local 4 4: aload 4
ifnull 8
5: aload 4
invokevirtual java.awt.Component.isEnabled:()Z
ifne 6
ldc "MenuItem.disabledAreNavigable"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifeq 8
6: StackMap locals: java.awt.Component
StackMap stack:
aload 4
invokevirtual java.awt.Component.isVisible:()Z
ifeq 8
7: aload 0
iload 3
aaload
areturn
end local 4 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmple 2
end local 3 10: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 e [Ljavax/swing/MenuElement;
0 11 1 fromIndex I
0 11 2 toIndex I
1 10 3 i I
4 8 4 comp Ljava/awt/Component;
MethodParameters:
Name Flags
e
fromIndex
toIndex
private static javax.swing.MenuElement (javax.swing.MenuElement[], int, int);
descriptor: ([Ljavax/swing/MenuElement;II)Ljavax/swing/MenuElement;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 0
iload 3
aaload
ifnull 8
3: aload 0
iload 3
aaload
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
astore 4
start local 4 4: aload 4
ifnull 8
5: aload 4
invokevirtual java.awt.Component.isEnabled:()Z
ifne 6
ldc "MenuItem.disabledAreNavigable"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifeq 8
6: StackMap locals: java.awt.Component
StackMap stack:
aload 4
invokevirtual java.awt.Component.isVisible:()Z
ifeq 8
7: aload 0
iload 3
aaload
areturn
end local 4 8: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmpge 2
end local 3 10: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 e [Ljavax/swing/MenuElement;
0 11 1 fromIndex I
0 11 2 toIndex I
1 10 3 i I
4 8 4 comp Ljava/awt/Component;
MethodParameters:
Name Flags
e
fromIndex
toIndex
static javax.swing.MenuElement (javax.swing.MenuElement[], int, boolean);
descriptor: ([Ljavax/swing/MenuElement;IZ)Ljavax/swing/MenuElement;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 4
1: aload 0
iload 1
iconst_1
iadd
aload 0
arraylength
iconst_1
isub
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.nextEnabledChild:([Ljavax/swing/MenuElement;II)Ljavax/swing/MenuElement;
astore 3
start local 3 2: aload 3
ifnonnull 8
aload 0
iconst_0
iload 1
iconst_1
isub
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.nextEnabledChild:([Ljavax/swing/MenuElement;II)Ljavax/swing/MenuElement;
astore 3
3: goto 8
end local 3 4: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_1
isub
iconst_0
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.previousEnabledChild:([Ljavax/swing/MenuElement;II)Ljavax/swing/MenuElement;
astore 3
start local 3 5: aload 3
ifnonnull 8
aload 0
aload 0
arraylength
iconst_1
isub
6: iload 1
iconst_1
iadd
7: invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.previousEnabledChild:([Ljavax/swing/MenuElement;II)Ljavax/swing/MenuElement;
astore 3
8: StackMap locals: javax.swing.MenuElement
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 e [Ljavax/swing/MenuElement;
0 9 1 fromIndex I
0 9 2 forward Z
2 4 3 result Ljavax/swing/MenuElement;
5 9 3 result Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
e
fromIndex
forward
static javax.swing.MenuElement (javax.swing.MenuElement[], javax.swing.MenuElement, boolean);
descriptor: ([Ljavax/swing/MenuElement;Ljavax/swing/MenuElement;Z)Ljavax/swing/MenuElement;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 3
aaload
aload 1
if_acmpne 4
3: aload 0
iload 3
iload 2
invokestatic javax.swing.plaf.basic.BasicPopupMenuUI.findEnabledChild:([Ljavax/swing/MenuElement;IZ)Ljavax/swing/MenuElement;
areturn
4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
arraylength
if_icmplt 2
end local 3 6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 e [Ljavax/swing/MenuElement;
0 7 1 elem Ljavax/swing/MenuElement;
0 7 2 forward Z
1 6 3 i I
MethodParameters:
Name Flags
e
elem
forward
}
SourceFile: "BasicPopupMenuUI.java"
NestMembers:
javax.swing.plaf.basic.BasicPopupMenuUI$Actions javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener javax.swing.plaf.basic.BasicPopupMenuUI$BasicPopupMenuListener javax.swing.plaf.basic.BasicPopupMenuUI$MenuKeyboardHelper javax.swing.plaf.basic.BasicPopupMenuUI$MenuKeyboardHelper$1 javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber$1 javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber$2
InnerClasses:
private Actions = javax.swing.plaf.basic.BasicPopupMenuUI$Actions of javax.swing.plaf.basic.BasicPopupMenuUI
private BasicMenuKeyListener = javax.swing.plaf.basic.BasicPopupMenuUI$BasicMenuKeyListener of javax.swing.plaf.basic.BasicPopupMenuUI
private BasicPopupMenuListener = javax.swing.plaf.basic.BasicPopupMenuUI$BasicPopupMenuListener of javax.swing.plaf.basic.BasicPopupMenuUI
MenuKeyboardHelper = javax.swing.plaf.basic.BasicPopupMenuUI$MenuKeyboardHelper of javax.swing.plaf.basic.BasicPopupMenuUI
MouseGrabber = javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber of javax.swing.plaf.basic.BasicPopupMenuUI