public class extends java.awt.MenuBar implements java.awt.event.ContainerListener, com.apple.laf.ScreenMenuPropertyHandler, java.awt.event.ComponentListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.ScreenMenuBar
super_class: java.awt.MenuBar
{
static boolean ;
descriptor: Z
flags: (0x0008) ACC_STATIC
javax.swing.JMenuBar ;
descriptor: Ljavax/swing/JMenuBar;
flags: (0x0000)
java.util.Hashtable<javax.swing.JMenu, com.apple.laf.ScreenMenu> ;
descriptor: Ljava/util/Hashtable;
flags: (0x0000)
Signature: Ljava/util/Hashtable<Ljavax/swing/JMenu;Lcom/apple/laf/ScreenMenu;>;
com.apple.laf.ScreenMenuPropertyListener ;
descriptor: Lcom/apple/laf/ScreenMenuPropertyListener;
flags: (0x0000)
com.apple.laf.ScreenMenuPropertyListener ;
descriptor: Lcom/apple/laf/ScreenMenuPropertyListener;
flags: (0x0000)
private static java.lang.reflect.Field[] ;
descriptor: [Ljava/lang/reflect/Field;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
putstatic com.apple.laf.ScreenMenuBar.sJMenuBarHasHelpMenus:Z
1: aconst_null
putstatic com.apple.laf.ScreenMenuBar.stolenFields:[Ljava/lang/reflect/Field;
2: new com.apple.laf.ScreenMenuBar$1
dup
invokespecial com.apple.laf.ScreenMenuBar$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Field[]
putstatic com.apple.laf.ScreenMenuBar.stolenFields:[Ljava/lang/reflect/Field;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void (javax.swing.JMenuBar);
descriptor: (Ljavax/swing/JMenuBar;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.awt.MenuBar.<init>:()V
1: aload 0
aload 1
putfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
2: aload 0
new java.util.Hashtable
dup
aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
invokespecial java.util.Hashtable.<init>:(I)V
putfield com.apple.laf.ScreenMenuBar.fSubmenus:Ljava/util/Hashtable;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/ScreenMenuBar;
0 4 1 swingBar Ljavax/swing/JMenuBar;
MethodParameters:
Name Flags
swingBar final
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokespecial java.awt.MenuBar.addNotify:()V
1: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
aload 0
invokevirtual javax.swing.JMenuBar.addContainerListener:(Ljava/awt/event/ContainerListener;)V
2: aload 0
new com.apple.laf.ScreenMenuPropertyListener
dup
aload 0
invokespecial com.apple.laf.ScreenMenuPropertyListener.<init>:(Lcom/apple/laf/ScreenMenuPropertyHandler;)V
putfield com.apple.laf.ScreenMenuBar.fPropertyListener:Lcom/apple/laf/ScreenMenuPropertyListener;
3: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
aload 0
getfield com.apple.laf.ScreenMenuBar.fPropertyListener:Lcom/apple/laf/ScreenMenuPropertyListener;
invokevirtual javax.swing.JMenuBar.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
4: aload 0
new com.apple.laf.ScreenMenuPropertyListener
dup
aload 0
invokespecial com.apple.laf.ScreenMenuPropertyListener.<init>:(Lcom/apple/laf/ScreenMenuPropertyHandler;)V
putfield com.apple.laf.ScreenMenuBar.fAccessibleListener:Lcom/apple/laf/ScreenMenuPropertyListener;
5: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 0
getfield com.apple.laf.ScreenMenuBar.fAccessibleListener:Lcom/apple/laf/ScreenMenuPropertyListener;
invokevirtual javax.accessibility.AccessibleContext.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
6: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
istore 1
start local 1 7: iconst_0
istore 2
start local 2 8: goto 13
9: StackMap locals: int int
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
iload 2
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
astore 3
start local 3 10: aload 3
ifnull 12
11: aload 0
aload 3
invokevirtual com.apple.laf.ScreenMenuBar.addSubmenu:(Ljavax/swing/JMenu;)Lcom/apple/laf/ScreenMenu;
pop
end local 3 12: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
13: iload 2
iload 1
if_icmplt 9
end local 2 14: aload 0
getfield com.apple.laf.ScreenMenuBar.fSubmenus:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.keys:()Ljava/util/Enumeration;
astore 2
start local 2 15: goto 19
16: StackMap locals: com.apple.laf.ScreenMenuBar int java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.swing.JMenu
astore 3
start local 3 17: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
aload 3
invokevirtual javax.swing.JMenuBar.getComponentIndex:(Ljava/awt/Component;)I
iconst_m1
if_icmpne 19
18: aload 0
aload 3
invokevirtual com.apple.laf.ScreenMenuBar.removeSubmenu:(Ljavax/swing/JMenu;)V
end local 3 19: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 16
20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/apple/laf/ScreenMenuBar;
7 21 1 count I
8 14 2 i I
10 12 3 m Ljavax/swing/JMenu;
15 21 2 e Ljava/util/Enumeration<Ljavax/swing/JMenu;>;
17 19 3 m Ljavax/swing/JMenu;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
ifnull 4
1: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
aload 0
getfield com.apple.laf.ScreenMenuBar.fPropertyListener:Lcom/apple/laf/ScreenMenuPropertyListener;
invokevirtual javax.swing.JMenuBar.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
2: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 0
getfield com.apple.laf.ScreenMenuBar.fAccessibleListener:Lcom/apple/laf/ScreenMenuPropertyListener;
invokevirtual javax.accessibility.AccessibleContext.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
3: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
aload 0
invokevirtual javax.swing.JMenuBar.removeContainerListener:(Ljava/awt/event/ContainerListener;)V
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.apple.laf.ScreenMenuBar.fPropertyListener:Lcom/apple/laf/ScreenMenuPropertyListener;
5: aload 0
aconst_null
putfield com.apple.laf.ScreenMenuBar.fAccessibleListener:Lcom/apple/laf/ScreenMenuPropertyListener;
6: aload 0
getfield com.apple.laf.ScreenMenuBar.fSubmenus:Ljava/util/Hashtable;
ifnull 12
7: aload 0
getfield com.apple.laf.ScreenMenuBar.fSubmenus:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.keys:()Ljava/util/Enumeration;
astore 1
start local 1 8: goto 11
9: StackMap locals: java.util.Enumeration
StackMap stack:
aload 1
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.swing.JMenu
astore 2
start local 2 10: aload 2
aload 0
invokevirtual javax.swing.JMenu.removeComponentListener:(Ljava/awt/event/ComponentListener;)V
end local 2 11: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 9
end local 1 12: StackMap locals:
StackMap stack:
aload 0
invokespecial java.awt.MenuBar.removeNotify:()V
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/apple/laf/ScreenMenuBar;
8 12 1 e Ljava/util/Enumeration<Ljavax/swing/JMenu;>;
10 11 2 m Ljavax/swing/JMenu;
public void (java.awt.event.ContainerEvent);
descriptor: (Ljava/awt/event/ContainerEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ContainerEvent.getChild:()Ljava/awt/Component;
astore 2
start local 2 1: aload 2
instanceof javax.swing.JMenu
ifne 2
return
2: StackMap locals: java.awt.Component
StackMap stack:
aload 0
aload 2
checkcast javax.swing.JMenu
invokevirtual com.apple.laf.ScreenMenuBar.addSubmenu:(Ljavax/swing/JMenu;)Lcom/apple/laf/ScreenMenu;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/ScreenMenuBar;
0 4 1 e Ljava/awt/event/ContainerEvent;
1 4 2 child Ljava/awt/Component;
MethodParameters:
Name Flags
e final
public void (java.awt.event.ContainerEvent);
descriptor: (Ljava/awt/event/ContainerEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ContainerEvent.getChild:()Ljava/awt/Component;
astore 2
start local 2 1: aload 2
instanceof javax.swing.JMenu
ifne 2
return
2: StackMap locals: java.awt.Component
StackMap stack:
aload 0
aload 2
checkcast javax.swing.JMenu
invokevirtual com.apple.laf.ScreenMenuBar.removeSubmenu:(Ljavax/swing/JMenu;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/ScreenMenuBar;
0 4 1 e Ljava/awt/event/ContainerEvent;
1 4 2 child Ljava/awt/Component;
MethodParameters:
Name Flags
e final
public void (java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)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 Lcom/apple/laf/ScreenMenuBar;
0 1 1 e Ljava/awt/event/ComponentEvent;
MethodParameters:
Name Flags
e final
public void (java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)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 Lcom/apple/laf/ScreenMenuBar;
0 1 1 e Ljava/awt/event/ComponentEvent;
MethodParameters:
Name Flags
e final
public void (java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ComponentEvent.getSource:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof javax.swing.JMenuItem
ifne 2
return
2: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 2
checkcast javax.swing.JMenuItem
iconst_1
invokevirtual com.apple.laf.ScreenMenuBar.setChildVisible:(Ljavax/swing/JMenuItem;Z)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/ScreenMenuBar;
0 4 1 e Ljava/awt/event/ComponentEvent;
1 4 2 source Ljava/lang/Object;
MethodParameters:
Name Flags
e final
public void (java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ComponentEvent.getSource:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof javax.swing.JMenuItem
ifne 2
return
2: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 2
checkcast javax.swing.JMenuItem
iconst_0
invokevirtual com.apple.laf.ScreenMenuBar.setChildVisible:(Ljavax/swing/JMenuItem;Z)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/ScreenMenuBar;
0 4 1 e Ljava/awt/event/ComponentEvent;
1 4 2 source Ljava/lang/Object;
MethodParameters:
Name Flags
e final
public void (javax.swing.JMenuItem, boolean);
descriptor: (Ljavax/swing/JMenuItem;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof javax.swing.JMenu
ifeq 7
1: iload 2
ifeq 4
2: aload 0
aload 1
checkcast javax.swing.JMenu
invokevirtual com.apple.laf.ScreenMenuBar.addSubmenu:(Ljavax/swing/JMenu;)Lcom/apple/laf/ScreenMenu;
pop
3: goto 7
4: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenuBar.fSubmenus:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.apple.laf.ScreenMenu
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 0
aload 3
invokevirtual com.apple.laf.ScreenMenuBar.remove:(Ljava/awt/MenuComponent;)V
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/apple/laf/ScreenMenuBar;
0 8 1 child Ljavax/swing/JMenuItem;
0 8 2 b Z
5 7 3 sm Lcom/apple/laf/ScreenMenu;
MethodParameters:
Name Flags
child final
b final
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.apple.laf.ScreenMenuBar.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual com.apple.laf.ScreenMenuBar.getMenuCount:()I
istore 2
start local 2 2: iload 2
iconst_1
isub
istore 3
start local 3 3: goto 6
4: StackMap locals: java.lang.Object int int
StackMap stack:
aload 0
iload 3
invokevirtual com.apple.laf.ScreenMenuBar.remove:(I)V
5: iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
ifge 4
end local 3 end local 2 7: aload 1
monitorexit
8: goto 11
StackMap locals: com.apple.laf.ScreenMenuBar java.lang.Object
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/apple/laf/ScreenMenuBar;
2 7 2 nitems I
3 7 3 i I
Exception table:
from to target type
1 8 9 any
9 10 9 any
public void (javax.swing.Icon);
descriptor: (Ljavax/swing/Icon;)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 Lcom/apple/laf/ScreenMenuBar;
0 1 1 i Ljavax/swing/Icon;
MethodParameters:
Name Flags
i final
public void (java.lang.String);
descriptor: (Ljava/lang/String;)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 Lcom/apple/laf/ScreenMenuBar;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s final
public void (boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
iload 3
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
iload 1
invokevirtual javax.swing.JMenu.setEnabled:(Z)V
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 2
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/ScreenMenuBar;
0 7 1 b Z
1 7 2 count I
2 6 3 i I
MethodParameters:
Name Flags
b final
public void (javax.swing.KeyStroke);
descriptor: (Ljavax/swing/KeyStroke;)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 Lcom/apple/laf/ScreenMenuBar;
0 1 1 ks Ljavax/swing/KeyStroke;
MethodParameters:
Name Flags
ks final
public void (java.lang.String);
descriptor: (Ljava/lang/String;)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 Lcom/apple/laf/ScreenMenuBar;
0 1 1 tooltip Ljava/lang/String;
MethodParameters:
Name Flags
tooltip final
public void (boolean);
descriptor: (Z)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 Lcom/apple/laf/ScreenMenuBar;
0 1 1 indeterminate Z
MethodParameters:
Name Flags
indeterminate
com.apple.laf.ScreenMenu (javax.swing.JMenu);
descriptor: (Ljavax/swing/JMenu;)Lcom/apple/laf/ScreenMenu;
flags: (0x0000)
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.ScreenMenuBar.fSubmenus:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.apple.laf.ScreenMenu
astore 2
start local 2 1: aload 2
ifnonnull 5
2: new com.apple.laf.ScreenMenu
dup
aload 1
invokespecial com.apple.laf.ScreenMenu.<init>:(Ljavax/swing/JMenu;)V
astore 2
3: aload 1
aload 0
invokevirtual javax.swing.JMenu.addComponentListener:(Ljava/awt/event/ComponentListener;)V
4: aload 0
getfield com.apple.laf.ScreenMenuBar.fSubmenus:Ljava/util/Hashtable;
aload 1
aload 2
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: com.apple.laf.ScreenMenu
StackMap stack:
aload 2
aload 1
invokevirtual javax.swing.JMenu.isEnabled:()Z
invokevirtual com.apple.laf.ScreenMenu.setEnabled:(Z)V
6: aload 1
invokevirtual javax.swing.JMenu.isVisible:()Z
ifeq 22
aload 2
invokevirtual com.apple.laf.ScreenMenu.getParent:()Ljava/awt/MenuContainer;
ifnonnull 22
7: iconst_0
istore 3
start local 3 8: iconst_0
istore 4
start local 4 9: aconst_null
astore 5
start local 5 10: aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
istore 6
start local 6 11: iconst_0
istore 7
start local 7 12: goto 20
13: StackMap locals: com.apple.laf.ScreenMenuBar javax.swing.JMenu com.apple.laf.ScreenMenu int int javax.swing.JMenu int int
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenuBar.fSwingBar:Ljavax/swing/JMenuBar;
iload 7
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
astore 5
14: aload 5
aload 1
if_acmpne 17
15: iload 4
istore 3
16: goto 21
17: StackMap locals:
StackMap stack:
aload 5
ifnull 19
aload 5
invokevirtual javax.swing.JMenu.isVisible:()Z
ifeq 19
18: iinc 4 1
19: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
20: iload 7
iload 6
if_icmplt 13
end local 7 21: StackMap locals:
StackMap stack:
aload 0
aload 2
iload 3
invokevirtual com.apple.laf.ScreenMenuBar.add:(Ljava/awt/Menu;I)Ljava/awt/Menu;
pop
end local 6 end local 5 end local 4 end local 3 22: StackMap locals: com.apple.laf.ScreenMenuBar javax.swing.JMenu com.apple.laf.ScreenMenu
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/apple/laf/ScreenMenuBar;
0 23 1 m Ljavax/swing/JMenu;
1 23 2 sm Lcom/apple/laf/ScreenMenu;
8 22 3 newIndex I
9 22 4 currVisibleIndex I
10 22 5 menu Ljavax/swing/JMenu;
11 22 6 menuCount I
12 21 7 i I
MethodParameters:
Name Flags
m final
private void (javax.swing.JMenu);
descriptor: (Ljavax/swing/JMenu;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.ScreenMenuBar.fSubmenus:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.apple.laf.ScreenMenu
astore 2
start local 2 1: aload 2
ifnonnull 2
return
2: StackMap locals: com.apple.laf.ScreenMenu
StackMap stack:
aload 1
aload 0
invokevirtual javax.swing.JMenu.removeComponentListener:(Ljava/awt/event/ComponentListener;)V
3: aload 0
aload 2
invokevirtual com.apple.laf.ScreenMenuBar.remove:(Ljava/awt/MenuComponent;)V
4: aload 0
getfield com.apple.laf.ScreenMenuBar.fSubmenus:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/apple/laf/ScreenMenuBar;
0 6 1 menu Ljavax/swing/JMenu;
1 6 2 screenMenu Lcom/apple/laf/ScreenMenu;
MethodParameters:
Name Flags
menu final
public java.awt.Menu (java.awt.Menu, int);
descriptor: (Ljava/awt/Menu;I)Ljava/awt/Menu;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.apple.laf.ScreenMenuBar.getTreeLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 1
invokevirtual java.awt.Menu.getParent:()Ljava/awt/MenuContainer;
ifnull 3
2: aload 1
invokevirtual java.awt.Menu.getParent:()Ljava/awt/MenuContainer;
aload 1
invokeinterface java.awt.MenuContainer.remove:(Ljava/awt/MenuComponent;)V
3: StackMap locals: java.lang.Object
StackMap stack:
getstatic com.apple.laf.ScreenMenuBar.stolenFields:[Ljava/lang/reflect/Field;
ifnonnull 6
aload 1
4: aload 3
monitorexit
5: areturn
6: StackMap locals:
StackMap stack:
getstatic com.apple.laf.ScreenMenuBar.stolenFields:[Ljava/lang/reflect/Field;
iconst_0
aaload
aload 0
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Vector
astore 4
start local 4 7: aload 4
aload 1
iload 2
invokevirtual java.util.Vector.insertElementAt:(Ljava/lang/Object;I)V
8: getstatic com.apple.laf.ScreenMenuBar.stolenFields:[Ljava/lang/reflect/Field;
iconst_1
aaload
aload 1
aload 0
invokevirtual java.lang.reflect.Field.set:(Ljava/lang/Object;Ljava/lang/Object;)V
9: aload 0
invokevirtual com.apple.laf.ScreenMenuBar.getPeer:()Ljava/awt/peer/MenuComponentPeer;
checkcast sun.lwawt.macosx.CMenuBar
astore 5
start local 5 10: aload 5
ifnonnull 13
aload 1
11: aload 3
monitorexit
12: areturn
13: StackMap locals: java.util.Vector sun.lwawt.macosx.CMenuBar
StackMap stack:
aload 5
iload 2
invokevirtual sun.lwawt.macosx.CMenuBar.setNextInsertionIndex:(I)V
14: aload 1
invokevirtual java.awt.Menu.getPeer:()Ljava/awt/peer/MenuComponentPeer;
ifnonnull 16
15: aload 1
invokevirtual java.awt.Menu.addNotify:()V
16: StackMap locals:
StackMap stack:
aload 5
iconst_m1
invokevirtual sun.lwawt.macosx.CMenuBar.setNextInsertionIndex:(I)V
end local 5 end local 4 17: goto 20
StackMap locals: com.apple.laf.ScreenMenuBar java.awt.Menu int java.lang.Object
StackMap stack: java.lang.IllegalAccessException
18: astore 4
start local 4 19: aload 4
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.lang.IllegalAccessException.printStackTrace:(Ljava/io/PrintStream;)V
end local 4 20: StackMap locals:
StackMap stack:
aload 1
aload 3
monitorexit
21: areturn
22: StackMap locals:
StackMap stack: java.lang.Throwable
aload 3
monitorexit
23: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/apple/laf/ScreenMenuBar;
0 24 1 m Ljava/awt/Menu;
0 24 2 index I
7 17 4 menus Ljava/util/Vector<Ljava/awt/Menu;>;
10 17 5 peer Lsun/lwawt/macosx/CMenuBar;
19 20 4 iae Ljava/lang/IllegalAccessException;
Exception table:
from to target type
3 4 18 Class java.lang.IllegalAccessException
6 11 18 Class java.lang.IllegalAccessException
13 17 18 Class java.lang.IllegalAccessException
1 5 22 any
6 12 22 any
13 21 22 any
22 23 22 any
MethodParameters:
Name Flags
m final
index final
}
SourceFile: "ScreenMenuBar.java"
NestMembers:
com.apple.laf.ScreenMenuBar$1
InnerClasses:
com.apple.laf.ScreenMenuBar$1