final class extends java.awt.MenuItem implements java.awt.event.ActionListener, 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.ScreenMenuItem
super_class: java.awt.MenuItem
{
com.apple.laf.ScreenMenuPropertyListener ;
descriptor: Lcom/apple/laf/ScreenMenuPropertyListener;
flags: (0x0000)
javax.swing.JMenuItem ;
descriptor: Ljavax/swing/JMenuItem;
flags: (0x0000)
void (javax.swing.JMenuItem);
descriptor: (Ljavax/swing/JMenuItem;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.JMenuItem.getText:()Ljava/lang/String;
invokespecial java.awt.MenuItem.<init>:(Ljava/lang/String;)V
1: aload 0
aload 1
putfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
2: aload 0
aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.isEnabled:()Z
invokevirtual com.apple.laf.ScreenMenuItem.setEnabled:(Z)V
3: aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getUI:()Ljavax/swing/plaf/ButtonUI;
astore 2
start local 2 4: aload 2
instanceof com.apple.laf.ScreenMenuItemUI
ifeq 6
5: aload 2
checkcast com.apple.laf.ScreenMenuItemUI
invokeinterface com.apple.laf.ScreenMenuItemUI.updateListenersForScreenMenuItem:()V
6: StackMap locals: com.apple.laf.ScreenMenuItem javax.swing.JMenuItem javax.swing.plaf.ComponentUI
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/ScreenMenuItem;
0 7 1 mi Ljavax/swing/JMenuItem;
4 7 2 ui Ljavax/swing/plaf/ComponentUI;
MethodParameters:
Name Flags
mi final
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokespecial java.awt.MenuItem.addNotify:()V
1: aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
aload 0
invokevirtual javax.swing.JMenuItem.addComponentListener:(Ljava/awt/event/ComponentListener;)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.ScreenMenuItem.fListener:Lcom/apple/laf/ScreenMenuPropertyListener;
3: aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
aload 0
getfield com.apple.laf.ScreenMenuItem.fListener:Lcom/apple/laf/ScreenMenuPropertyListener;
invokevirtual javax.swing.JMenuItem.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
4: aload 0
aload 0
invokevirtual com.apple.laf.ScreenMenuItem.addActionListener:(Ljava/awt/event/ActionListener;)V
5: aload 0
aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.isEnabled:()Z
invokevirtual com.apple.laf.ScreenMenuItem.setEnabled:(Z)V
6: aload 0
aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getAccelerator:()Ljavax/swing/KeyStroke;
invokevirtual com.apple.laf.ScreenMenuItem.setAccelerator:(Ljavax/swing/KeyStroke;)V
7: aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getText:()Ljava/lang/String;
astore 1
start local 1 8: aload 1
ifnull 10
9: aload 0
aload 1
invokevirtual com.apple.laf.ScreenMenuItem.setLabel:(Ljava/lang/String;)V
10: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getIcon:()Ljavax/swing/Icon;
astore 2
start local 2 11: aload 2
ifnull 13
12: aload 0
aload 2
invokevirtual com.apple.laf.ScreenMenuItem.setIcon:(Ljavax/swing/Icon;)V
13: StackMap locals: javax.swing.Icon
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getToolTipText:()Ljava/lang/String;
astore 3
start local 3 14: aload 3
ifnull 16
15: aload 0
aload 3
invokevirtual com.apple.laf.ScreenMenuItem.setToolTipText:(Ljava/lang/String;)V
16: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
instanceof javax.swing.JRadioButtonMenuItem
ifeq 20
17: aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getUI:()Ljavax/swing/plaf/ButtonUI;
astore 4
start local 4 18: aload 4
instanceof com.apple.laf.ScreenMenuItemUI
ifeq 20
19: aload 4
checkcast com.apple.laf.ScreenMenuItemUI
invokeinterface com.apple.laf.ScreenMenuItemUI.updateListenersForScreenMenuItem:()V
end local 4 20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/apple/laf/ScreenMenuItem;
8 21 1 label Ljava/lang/String;
11 21 2 icon Ljavax/swing/Icon;
14 21 3 tooltipText Ljava/lang/String;
18 20 4 ui Ljavax/swing/plaf/ComponentUI;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.awt.MenuItem.removeNotify:()V
1: aload 0
aload 0
invokevirtual com.apple.laf.ScreenMenuItem.removeActionListener:(Ljava/awt/event/ActionListener;)V
2: aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
aload 0
getfield com.apple.laf.ScreenMenuItem.fListener:Lcom/apple/laf/ScreenMenuPropertyListener;
invokevirtual javax.swing.JMenuItem.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
3: aload 0
aconst_null
putfield com.apple.laf.ScreenMenuItem.fListener:Lcom/apple/laf/ScreenMenuPropertyListener;
4: aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
aload 0
invokevirtual javax.swing.JMenuItem.removeComponentListener:(Ljava/awt/event/ComponentListener;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/apple/laf/ScreenMenuItem;
static void syncLabelAndKS(java.awt.MenuItem, java.lang.String, javax.swing.KeyStroke);
descriptor: (Ljava/awt/MenuItem;Ljava/lang/String;Ljavax/swing/KeyStroke;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 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 3
start local 3 1: aload 3
instanceof sun.lwawt.macosx.CMenuItem
ifne 3
2: return
3: StackMap locals: java.lang.Object
StackMap stack:
aload 3
checkcast sun.lwawt.macosx.CMenuItem
astore 4
start local 4 4: aload 2
ifnonnull 7
5: aload 4
aload 1
invokevirtual sun.lwawt.macosx.CMenuItem.setLabel:(Ljava/lang/String;)V
6: goto 10
7: StackMap locals: sun.lwawt.macosx.CMenuItem
StackMap stack:
aload 4
aload 1
aload 2
invokevirtual javax.swing.KeyStroke.getKeyChar:()C
aload 2
invokevirtual javax.swing.KeyStroke.getKeyCode:()I
8: aload 2
invokevirtual javax.swing.KeyStroke.getModifiers:()I
9: invokevirtual sun.lwawt.macosx.CMenuItem.setLabel:(Ljava/lang/String;CII)V
10: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 menuItem Ljava/awt/MenuItem;
0 11 1 label Ljava/lang/String;
0 11 2 ks Ljavax/swing/KeyStroke;
1 11 3 peer Ljava/lang/Object;
4 11 4 cmi Lsun/lwawt/macosx/CMenuItem;
MethodParameters:
Name Flags
menuItem
label
ks
public synchronized void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getAccelerator:()Ljavax/swing/KeyStroke;
invokestatic com.apple.laf.ScreenMenuItem.syncLabelAndKS:(Ljava/awt/MenuItem;Ljava/lang/String;Ljavax/swing/KeyStroke;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/ScreenMenuItem;
0 2 1 label Ljava/lang/String;
MethodParameters:
Name Flags
label final
public void (javax.swing.KeyStroke);
descriptor: (Ljavax/swing/KeyStroke;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getText:()Ljava/lang/String;
aload 1
invokestatic com.apple.laf.ScreenMenuItem.syncLabelAndKS:(Ljava/awt/MenuItem;Ljava/lang/String;Ljavax/swing/KeyStroke;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/ScreenMenuItem;
0 2 1 ks Ljavax/swing/KeyStroke;
MethodParameters:
Name Flags
ks final
public void (java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
iconst_0
invokevirtual javax.swing.JMenuItem.doClick:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/ScreenMenuItem;
0 2 1 e Ljava/awt/event/ActionEvent;
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/ScreenMenuItem;
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/ScreenMenuItem;
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.ScreenMenuItem.setVisible:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/ScreenMenuItem;
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.ScreenMenuItem.setVisible:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/ScreenMenuItem;
0 2 1 e Ljava/awt/event/ComponentEvent;
MethodParameters:
Name Flags
e final
public void (boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.apple.laf.ScreenMenuItem.getParent:()Ljava/awt/MenuContainer;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
checkcast com.apple.laf.ScreenMenuPropertyHandler
aload 0
getfield com.apple.laf.ScreenMenuItem.fMenuItem:Ljavax/swing/JMenuItem;
iload 1
invokeinterface com.apple.laf.ScreenMenuPropertyHandler.setChildVisible:(Ljavax/swing/JMenuItem;Z)V
3: StackMap locals: java.awt.MenuContainer
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/ScreenMenuItem;
0 4 1 b Z
1 4 2 parent Ljava/awt/MenuContainer;
MethodParameters:
Name Flags
b final
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/ScreenMenuItem;
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/ScreenMenuItem;
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
public void (javax.swing.JMenuItem, boolean);
descriptor: (Ljavax/swing/JMenuItem;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/ScreenMenuItem;
0 1 1 child Ljavax/swing/JMenuItem;
0 1 2 b Z
MethodParameters:
Name Flags
child final
b 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/ScreenMenuItem;
0 1 1 indeterminate Z
MethodParameters:
Name Flags
indeterminate
}
SourceFile: "ScreenMenuItem.java"
InnerClasses:
public abstract MenuComponentAccessor = sun.awt.AWTAccessor$MenuComponentAccessor of sun.awt.AWTAccessor