final class extends java.awt.Menu implements java.awt.event.ContainerListener, java.awt.event.ComponentListener, com.apple.laf.ScreenMenuPropertyHandler
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.apple.laf.ScreenMenu
super_class: java.awt.Menu
{
private transient long ;
descriptor: J
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private final java.util.Hashtable<java.awt.Component, java.awt.MenuItem> ;
descriptor: Ljava/util/Hashtable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Hashtable<Ljava/awt/Component;Ljava/awt/MenuItem;>;
private final javax.swing.JMenu ;
descriptor: Ljavax/swing/JMenu;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.awt.Component ;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private java.awt.Rectangle ;
descriptor: Ljava/awt/Rectangle;
flags: (0x0002) ACC_PRIVATE
private volatile java.awt.Rectangle[] ;
descriptor: [Ljava/awt/Rectangle;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private com.apple.laf.ScreenMenuPropertyListener ;
descriptor: Lcom/apple/laf/ScreenMenuPropertyListener;
flags: (0x0002) ACC_PRIVATE
private int[] ;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.apple.laf.ScreenMenu$1
dup
invokespecial com.apple.laf.ScreenMenu$1.<init>:()V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
2: return
LocalVariableTable:
Start End Slot Name Signature
private static native long (com.apple.laf.ScreenMenu, long);
descriptor: (Lcom/apple/laf/ScreenMenu;J)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
listener
nativeMenu
private static native void (long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
modelPtr
void (javax.swing.JMenu);
descriptor: (Ljavax/swing/JMenu;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.JMenu.getText:()Ljava/lang/String;
invokespecial java.awt.Menu.<init>:(Ljava/lang/String;)V
1: aload 0
aload 1
putfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
2: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
invokevirtual javax.swing.JMenu.getMenuComponentCount:()I
istore 2
start local 2 3: iload 2
iconst_5
if_icmpge 4
iconst_5
istore 2
4: StackMap locals: com.apple.laf.ScreenMenu javax.swing.JMenu int
StackMap stack:
aload 0
new java.util.Hashtable
dup
iload 2
invokespecial java.util.Hashtable.<init>:(I)V
putfield com.apple.laf.ScreenMenu.fItems:Ljava/util/Hashtable;
5: aload 0
aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
invokevirtual javax.swing.JMenu.isEnabled:()Z
invokevirtual com.apple.laf.ScreenMenu.setEnabled:(Z)V
6: aload 0
invokevirtual com.apple.laf.ScreenMenu.updateItems:()V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/apple/laf/ScreenMenu;
0 8 1 invoker Ljavax/swing/JMenu;
3 8 2 count I
MethodParameters:
Name Flags
invoker final
private static boolean (java.awt.Component[], int[]);
descriptor: ([Ljava/awt/Component;[I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
arraylength
aload 0
arraylength
if_icmpeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 5: goto 10
6: StackMap locals: int
StackMap stack:
aload 0
iload 2
aaload
invokestatic com.apple.laf.ScreenMenu.getHashCode:(Ljava/awt/Component;)I
istore 3
start local 3 7: iload 3
aload 1
iload 2
iaload
if_icmpeq 9
8: iconst_1
ireturn
end local 3 9: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
arraylength
if_icmplt 6
end local 2 11: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 items [Ljava/awt/Component;
0 12 1 childHashArray [I
5 11 2 i I
7 9 3 hashCode I
MethodParameters:
Name Flags
items final
childHashArray final
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
invokevirtual javax.swing.JMenu.getMenuComponentCount:()I
istore 1
start local 1 1: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
invokevirtual javax.swing.JMenu.getMenuComponents:()[Ljava/awt/Component;
astore 2
start local 2 2: aload 2
aload 0
getfield com.apple.laf.ScreenMenu.childHashArray:[I
invokestatic com.apple.laf.ScreenMenu.needsUpdate:([Ljava/awt/Component;[I)Z
ifeq 13
3: aload 0
invokevirtual com.apple.laf.ScreenMenu.removeAll:()V
4: aload 0
getfield com.apple.laf.ScreenMenu.fItems:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.clear:()V
5: iload 1
ifgt 6
return
6: StackMap locals: int java.awt.Component[]
StackMap stack:
aload 0
iload 1
newarray 10
putfield com.apple.laf.ScreenMenu.childHashArray:[I
7: iconst_0
istore 3
start local 3 8: goto 12
9: StackMap locals: int
StackMap stack:
aload 0
aload 2
iload 3
aaload
invokevirtual com.apple.laf.ScreenMenu.addItem:(Ljava/awt/Component;)V
10: aload 0
getfield com.apple.laf.ScreenMenu.childHashArray:[I
iload 3
aload 2
iload 3
aaload
invokestatic com.apple.laf.ScreenMenu.getHashCode:(Ljava/awt/Component;)I
iastore
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 1
if_icmplt 9
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/apple/laf/ScreenMenu;
1 14 1 count I
2 14 2 items [Ljava/awt/Component;
8 13 3 i I
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "invoker is null!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: return
4: StackMap locals: javax.swing.JMenu
StackMap stack:
new com.apple.laf.ScreenMenu$2
dup
aload 0
aload 1
invokespecial com.apple.laf.ScreenMenu$2.<init>:(Lcom/apple/laf/ScreenMenu;Ljavax/swing/JMenu;)V
5: aload 1
6: invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/lang/Runnable;Ljava/awt/Component;)V
7: goto 11
StackMap locals:
StackMap stack: java.lang.Exception
8: astore 2
start local 2 9: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
10: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/apple/laf/ScreenMenu;
1 12 1 invoker Ljavax/swing/JMenu;
9 11 2 e Ljava/lang/Exception;
Exception table:
from to target type
4 7 8 Class java.lang.Exception
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
astore 1
start local 1 1: aload 1
ifnonnull 2
return
2: StackMap locals: javax.swing.JMenu
StackMap stack:
new com.apple.laf.ScreenMenu$3
dup
aload 0
aload 1
invokespecial com.apple.laf.ScreenMenu$3.<init>:(Lcom/apple/laf/ScreenMenu;Ljavax/swing/JMenu;)V
3: aload 1
4: invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/lang/Runnable;Ljava/awt/Component;)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 2
start local 2 7: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/apple/laf/ScreenMenu;
1 9 1 invoker Ljavax/swing/JMenu;
7 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 5 6 Class java.lang.Exception
public void handleItemTargeted(int, int, int, int, int);
descriptor: (IIIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.apple.laf.ScreenMenu.fItemBounds:[Ljava/awt/Rectangle;
ifnull 1
iload 1
iflt 1
iload 1
aload 0
getfield com.apple.laf.ScreenMenu.fItemBounds:[Ljava/awt/Rectangle;
arraylength
iconst_1
isub
if_icmple 2
StackMap locals:
StackMap stack:
1: return
2: StackMap locals:
StackMap stack:
new java.awt.Rectangle
dup
iload 3
iload 2
iload 5
iload 3
isub
iload 4
iload 2
isub
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 6
start local 6 3: aload 0
getfield com.apple.laf.ScreenMenu.fItemBounds:[Ljava/awt/Rectangle;
iload 1
aload 6
aastore
4: return
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 5 0 this Lcom/apple/laf/ScreenMenu;
0 5 1 inWhichItem I
0 5 2 itemRectTop I
0 5 3 itemRectLeft I
0 5 4 itemRectBottom I
0 5 5 itemRectRight I
3 5 6 itemRect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
inWhichItem final
itemRectTop final
itemRectLeft final
itemRectBottom final
itemRectRight final
public void handleMouseEvent(int, int, int, int, long);
descriptor: (IIIIJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 1
ifne 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenu.fItemBounds:[Ljava/awt/Rectangle;
ifnonnull 2
return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
new com.apple.laf.ScreenMenu$4
dup
aload 0
iload 2
iload 3
lload 5
iload 4
iload 1
invokespecial com.apple.laf.ScreenMenu$4.<init>:(Lcom/apple/laf/ScreenMenu;IIJII)V
invokestatic sun.awt.SunToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
3: 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 4 0 this Lcom/apple/laf/ScreenMenu;
0 4 1 kind I
0 4 2 x I
0 4 3 y I
0 4 4 modifiers I
0 4 5 when J
MethodParameters:
Name Flags
kind final
x final
y final
modifiers final
when final
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual com.apple.laf.ScreenMenu.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokespecial java.awt.Menu.addNotify:()V
2: aload 0
getfield com.apple.laf.ScreenMenu.fModelPtr:J
lconst_0
lcmp
ifne 20
3: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
aload 0
invokevirtual javax.swing.JPopupMenu.addContainerListener:(Ljava/awt/event/ContainerListener;)V
4: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
aload 0
invokevirtual javax.swing.JMenu.addComponentListener:(Ljava/awt/event/ComponentListener;)V
5: 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.ScreenMenu.fPropertyListener:Lcom/apple/laf/ScreenMenuPropertyListener;
6: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
aload 0
getfield com.apple.laf.ScreenMenu.fPropertyListener:Lcom/apple/laf/ScreenMenuPropertyListener;
invokevirtual javax.swing.JMenu.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
7: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
invokevirtual javax.swing.JMenu.getIcon:()Ljavax/swing/Icon;
astore 2
start local 2 8: aload 2
ifnull 10
9: aload 0
aload 2
invokevirtual com.apple.laf.ScreenMenu.setIcon:(Ljavax/swing/Icon;)V
10: StackMap locals: java.lang.Object javax.swing.Icon
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
invokevirtual javax.swing.JMenu.getToolTipText:()Ljava/lang/String;
astore 3
start local 3 11: aload 3
ifnull 13
12: aload 0
aload 3
invokevirtual com.apple.laf.ScreenMenu.setToolTipText:(Ljava/lang/String;)V
13: StackMap locals: java.lang.String
StackMap stack:
invokestatic sun.awt.AWTAccessor.getMenuComponentAccessor:()Lsun/awt/AWTAccessor$MenuComponentAccessor;
14: aload 0
invokeinterface sun.awt.AWTAccessor$MenuComponentAccessor.getPeer:(Ljava/awt/MenuComponent;)Ljava/awt/peer/MenuComponentPeer;
15: astore 4
start local 4 16: aload 4
instanceof sun.lwawt.macosx.CMenu
ifeq 20
17: aload 4
checkcast sun.lwawt.macosx.CMenu
astore 5
start local 5 18: aload 5
invokevirtual sun.lwawt.macosx.CMenu.getNativeMenu:()J
lstore 6
start local 6 19: aload 0
aload 0
lload 6
invokestatic com.apple.laf.ScreenMenu.addMenuListeners:(Lcom/apple/laf/ScreenMenu;J)J
putfield com.apple.laf.ScreenMenu.fModelPtr:J
end local 6 end local 5 end local 4 end local 3 end local 2 20: StackMap locals:
StackMap stack:
aload 1
monitorexit
21: goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
22: aload 1
monitorexit
23: athrow
24: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/apple/laf/ScreenMenu;
8 20 2 icon Ljavax/swing/Icon;
11 20 3 tooltipText Ljava/lang/String;
16 20 4 peer Ljava/lang/Object;
18 20 5 menu Lsun/lwawt/macosx/CMenu;
19 20 6 nativeMenu J
Exception table:
from to target type
1 21 22 any
22 23 22 any
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.apple.laf.ScreenMenu.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokespecial java.awt.Menu.removeNotify:()V
2: aload 0
getfield com.apple.laf.ScreenMenu.fItems:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.clear:()V
3: aload 0
getfield com.apple.laf.ScreenMenu.fModelPtr:J
lconst_0
lcmp
ifeq 9
4: aload 0
getfield com.apple.laf.ScreenMenu.fModelPtr:J
invokestatic com.apple.laf.ScreenMenu.removeMenuListeners:(J)V
5: aload 0
lconst_0
putfield com.apple.laf.ScreenMenu.fModelPtr:J
6: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
aload 0
invokevirtual javax.swing.JPopupMenu.removeContainerListener:(Ljava/awt/event/ContainerListener;)V
7: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
aload 0
invokevirtual javax.swing.JMenu.removeComponentListener:(Ljava/awt/event/ComponentListener;)V
8: aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
aload 0
getfield com.apple.laf.ScreenMenu.fPropertyListener:Lcom/apple/laf/ScreenMenuPropertyListener;
invokevirtual javax.swing.JMenu.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
9: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
10: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 1
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/apple/laf/ScreenMenu;
Exception table:
from to target type
1 10 11 any
11 12 11 any
public void (java.awt.event.ContainerEvent);
descriptor: (Ljava/awt/event/ContainerEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.event.ContainerEvent.getChild:()Ljava/awt/Component;
invokevirtual com.apple.laf.ScreenMenu.addItem:(Ljava/awt/Component;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/ScreenMenu;
0 2 1 e Ljava/awt/event/ContainerEvent;
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=4, 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 0
getfield com.apple.laf.ScreenMenu.fItems:Ljava/util/Hashtable;
aload 2
invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.MenuItem
astore 3
start local 3 2: aload 3
ifnonnull 3
return
3: StackMap locals: java.awt.Component java.awt.MenuItem
StackMap stack:
aload 0
aload 3
invokevirtual com.apple.laf.ScreenMenu.remove:(Ljava/awt/MenuComponent;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/ScreenMenu;
0 5 1 e Ljava/awt/event/ContainerEvent;
1 5 2 child Ljava/awt/Component;
2 5 3 sm Ljava/awt/MenuItem;
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/ScreenMenu;
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/ScreenMenu;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokevirtual com.apple.laf.ScreenMenu.setVisible:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/ScreenMenu;
0 2 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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokevirtual com.apple.laf.ScreenMenu.setVisible:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/ScreenMenu;
0 2 1 e Ljava/awt/event/ComponentEvent;
MethodParameters:
Name Flags
e final
private void (boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.apple.laf.ScreenMenu.getParent:()Ljava/awt/MenuContainer;
astore 2
start local 2 1: aload 2
ifnull 5
2: aload 2
instanceof com.apple.laf.ScreenMenu
ifeq 5
3: aload 2
checkcast com.apple.laf.ScreenMenu
astore 3
start local 3 4: aload 3
aload 0
getfield com.apple.laf.ScreenMenu.fInvoker:Ljavax/swing/JMenu;
iload 1
invokevirtual com.apple.laf.ScreenMenu.setChildVisible:(Ljavax/swing/JMenuItem;Z)V
end local 3 5: StackMap locals: java.awt.MenuContainer
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/apple/laf/ScreenMenu;
0 6 1 b Z
1 6 2 parent Ljava/awt/MenuContainer;
4 5 3 sm Lcom/apple/laf/ScreenMenu;
MethodParameters:
Name Flags
b final
public void (javax.swing.JMenuItem, boolean);
descriptor: (Ljavax/swing/JMenuItem;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.apple.laf.ScreenMenu.fItems:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual com.apple.laf.ScreenMenu.updateItems:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/ScreenMenu;
0 3 1 child Ljavax/swing/JMenuItem;
0 3 2 b Z
MethodParameters:
Name Flags
child final
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/ScreenMenu;
0 1 1 ks Ljavax/swing/KeyStroke;
MethodParameters:
Name Flags
ks 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/ScreenMenu;
0 1 1 indeterminate Z
MethodParameters:
Name Flags
indeterminate
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.AWTAccessor.getMenuComponentAccessor:()Lsun/awt/AWTAccessor$MenuComponentAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$MenuComponentAccessor.getPeer:(Ljava/awt/MenuComponent;)Ljava/awt/peer/MenuComponentPeer;
astore 2
start local 2 1: aload 2
instanceof sun.lwawt.macosx.CMenuItem
ifne 2
return
2: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast sun.lwawt.macosx.CMenuItem
astore 3
start local 3 3: aload 3
aload 1
invokevirtual sun.lwawt.macosx.CMenuItem.setToolTipText:(Ljava/lang/String;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/ScreenMenu;
0 5 1 text Ljava/lang/String;
1 5 2 peer Ljava/lang/Object;
3 5 3 cmi Lsun/lwawt/macosx/CMenuItem;
MethodParameters:
Name Flags
text final
public void (javax.swing.Icon);
descriptor: (Ljavax/swing/Icon;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.AWTAccessor.getMenuComponentAccessor:()Lsun/awt/AWTAccessor$MenuComponentAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$MenuComponentAccessor.getPeer:(Ljava/awt/MenuComponent;)Ljava/awt/peer/MenuComponentPeer;
astore 2
start local 2 1: aload 2
instanceof sun.lwawt.macosx.CMenuItem
ifne 2
return
2: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast sun.lwawt.macosx.CMenuItem
astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aload 1
ifnull 7
5: aload 1
invokeinterface javax.swing.Icon.getIconWidth:()I
ifle 7
aload 1
invokeinterface javax.swing.Icon.getIconHeight:()I
ifle 7
6: aload 1
invokestatic com.apple.laf.AquaIcon.getImageForIcon:(Ljavax/swing/Icon;)Ljava/awt/Image;
astore 4
7: StackMap locals: sun.lwawt.macosx.CMenuItem java.awt.Image
StackMap stack:
aload 3
aload 4
invokevirtual sun.lwawt.macosx.CMenuItem.setImage:(Ljava/awt/Image;)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/apple/laf/ScreenMenu;
0 9 1 i Ljavax/swing/Icon;
1 9 2 peer Ljava/lang/Object;
3 9 3 cmi Lsun/lwawt/macosx/CMenuItem;
4 9 4 img Ljava/awt/Image;
MethodParameters:
Name Flags
i final
private static int (java.awt.Component);
descriptor: (Ljava/awt/Component;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.hashCode:()I
istore 1
start local 1 1: aload 0
instanceof javax.swing.JMenuItem
ifeq 17
2: aload 0
checkcast javax.swing.JMenuItem
astore 2
start local 2 3: aload 2
invokevirtual javax.swing.JMenuItem.getText:()Ljava/lang/String;
astore 3
start local 3 4: aload 3
ifnull 5
iload 1
aload 3
invokevirtual java.lang.String.hashCode:()I
ixor
istore 1
5: StackMap locals: int javax.swing.JMenuItem java.lang.String
StackMap stack:
aload 2
invokevirtual javax.swing.JMenuItem.getIcon:()Ljavax/swing/Icon;
astore 4
start local 4 6: aload 4
ifnull 7
iload 1
aload 4
invokevirtual java.lang.Object.hashCode:()I
ixor
istore 1
7: StackMap locals: javax.swing.Icon
StackMap stack:
aload 2
invokevirtual javax.swing.JMenuItem.getDisabledIcon:()Ljavax/swing/Icon;
astore 5
start local 5 8: aload 5
ifnull 9
iload 1
aload 5
invokevirtual java.lang.Object.hashCode:()I
ixor
istore 1
9: StackMap locals: javax.swing.Icon
StackMap stack:
aload 2
invokevirtual javax.swing.JMenuItem.getAction:()Ljavax/swing/Action;
astore 6
start local 6 10: aload 6
ifnull 11
iload 1
aload 6
invokevirtual java.lang.Object.hashCode:()I
ixor
istore 1
11: StackMap locals: javax.swing.Action
StackMap stack:
aload 2
invokevirtual javax.swing.JMenuItem.getAccelerator:()Ljavax/swing/KeyStroke;
astore 7
start local 7 12: aload 7
ifnull 13
iload 1
aload 7
invokevirtual javax.swing.KeyStroke.hashCode:()I
ixor
istore 1
13: StackMap locals: javax.swing.KeyStroke
StackMap stack:
iload 1
aload 2
invokevirtual javax.swing.JMenuItem.isVisible:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.hashCode:()I
ixor
istore 1
14: iload 1
aload 2
invokevirtual javax.swing.JMenuItem.isEnabled:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.hashCode:()I
ixor
istore 1
15: iload 1
aload 2
invokevirtual javax.swing.JMenuItem.isSelected:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.hashCode:()I
ixor
istore 1
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 16: goto 19
StackMap locals: java.awt.Component int
StackMap stack:
17: aload 0
instanceof javax.swing.JSeparator
ifeq 19
18: iload 1
ldc "-"
invokevirtual java.lang.String.hashCode:()I
ixor
istore 1
19: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 m Ljava/awt/Component;
1 20 1 hashCode I
3 16 2 mi Ljavax/swing/JMenuItem;
4 16 3 text Ljava/lang/String;
6 16 4 icon Ljavax/swing/Icon;
8 16 5 disabledIcon Ljavax/swing/Icon;
10 16 6 action Ljavax/swing/Action;
12 16 7 ks Ljavax/swing/KeyStroke;
MethodParameters:
Name Flags
m final
private void (java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.Component.isVisible:()Z
ifne 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenu.fItems:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.MenuItem
astore 2
start local 2 2: aload 2
ifnonnull 19
3: aload 1
instanceof javax.swing.JMenu
ifeq 6
4: new com.apple.laf.ScreenMenu
dup
aload 1
checkcast javax.swing.JMenu
invokespecial com.apple.laf.ScreenMenu.<init>:(Ljavax/swing/JMenu;)V
astore 2
5: goto 17
StackMap locals: java.awt.MenuItem
StackMap stack:
6: aload 1
instanceof javax.swing.JCheckBoxMenuItem
ifeq 9
7: new com.apple.laf.ScreenMenuItemCheckbox
dup
aload 1
checkcast javax.swing.JCheckBoxMenuItem
invokespecial com.apple.laf.ScreenMenuItemCheckbox.<init>:(Ljavax/swing/JCheckBoxMenuItem;)V
astore 2
8: goto 17
StackMap locals:
StackMap stack:
9: aload 1
instanceof javax.swing.JRadioButtonMenuItem
ifeq 12
10: new com.apple.laf.ScreenMenuItemCheckbox
dup
aload 1
checkcast javax.swing.JRadioButtonMenuItem
invokespecial com.apple.laf.ScreenMenuItemCheckbox.<init>:(Ljavax/swing/JRadioButtonMenuItem;)V
astore 2
11: goto 17
StackMap locals:
StackMap stack:
12: aload 1
instanceof javax.swing.JMenuItem
ifeq 15
13: new com.apple.laf.ScreenMenuItem
dup
aload 1
checkcast javax.swing.JMenuItem
invokespecial com.apple.laf.ScreenMenuItem.<init>:(Ljavax/swing/JMenuItem;)V
astore 2
14: goto 17
StackMap locals:
StackMap stack:
15: aload 1
instanceof javax.swing.JPopupMenu$Separator
ifne 16
aload 1
instanceof javax.swing.JSeparator
ifeq 17
16: StackMap locals:
StackMap stack:
new java.awt.MenuItem
dup
ldc "-"
invokespecial java.awt.MenuItem.<init>:(Ljava/lang/String;)V
astore 2
17: StackMap locals:
StackMap stack:
aload 2
ifnull 19
18: aload 0
getfield com.apple.laf.ScreenMenu.fItems:Ljava/util/Hashtable;
aload 1
aload 2
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: StackMap locals:
StackMap stack:
aload 2
ifnull 21
20: aload 0
aload 2
invokevirtual com.apple.laf.ScreenMenu.add:(Ljava/awt/MenuItem;)Ljava/awt/MenuItem;
pop
21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/apple/laf/ScreenMenu;
0 22 1 m Ljava/awt/Component;
2 22 2 sm Ljava/awt/MenuItem;
MethodParameters:
Name Flags
m final
}
SourceFile: "ScreenMenu.java"
NestMembers:
com.apple.laf.ScreenMenu$1 com.apple.laf.ScreenMenu$2 com.apple.laf.ScreenMenu$3 com.apple.laf.ScreenMenu$4
InnerClasses:
com.apple.laf.ScreenMenu$1
com.apple.laf.ScreenMenu$2
com.apple.laf.ScreenMenu$3
com.apple.laf.ScreenMenu$4
public Separator = javax.swing.JPopupMenu$Separator of javax.swing.JPopupMenu
public abstract MenuComponentAccessor = sun.awt.AWTAccessor$MenuComponentAccessor of sun.awt.AWTAccessor