public class extends java.awt.MenuComponent implements javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.MenuItem
super_class: java.awt.MenuComponent
{
private volatile boolean ;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
volatile java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0040) ACC_VOLATILE
private volatile java.lang.String actionCommand;
descriptor: Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
volatile long ;
descriptor: J
flags: (0x0040) ACC_VOLATILE
private volatile transient java.awt.event.ActionListener ;
descriptor: Ljava/awt/event/ActionListener;
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
private volatile java.awt.MenuShortcut ;
descriptor: Ljava/awt/MenuShortcut;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "menuitem"
private static int ;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final long ;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -21757335363267194
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: invokestatic java.awt.Toolkit.loadLibraries:()V
1: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 3
2: invokestatic java.awt.MenuItem.initIDs:()V
3: StackMap locals:
StackMap stack:
new java.awt.MenuItem$1
dup
invokespecial java.awt.MenuItem$1.<init>:()V
4: invokestatic sun.awt.AWTAccessor.setMenuItemAccessor:(Lsun/awt/AWTAccessor$MenuItemAccessor;)V
5: iconst_0
putstatic java.awt.MenuItem.nameCounter:I
6: return
LocalVariableTable:
Start End Slot Name Signature
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc ""
aconst_null
invokespecial java.awt.MenuItem.<init>:(Ljava/lang/String;Ljava/awt/MenuShortcut;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/MenuItem;
Exceptions:
throws java.awt.HeadlessException
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial java.awt.MenuItem.<init>:(Ljava/lang/String;Ljava/awt/MenuShortcut;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/MenuItem;
0 2 1 label Ljava/lang/String;
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
label
public void (java.lang.String, java.awt.MenuShortcut);
descriptor: (Ljava/lang/String;Ljava/awt/MenuShortcut;)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
invokespecial java.awt.MenuComponent.<init>:()V
1: aload 0
iconst_1
putfield java.awt.MenuItem.enabled:Z
2: aload 0
iconst_1
putfield java.awt.MenuItem.menuItemSerializedDataVersion:I
3: aload 0
aload 1
putfield java.awt.MenuItem.label:Ljava/lang/String;
4: aload 0
aload 2
putfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/MenuItem;
0 6 1 label Ljava/lang/String;
0 6 2 s Ljava/awt/MenuShortcut;
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
label
s
java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc Ljava/awt/MenuItem;
dup
astore 1
monitorenter
1: new java.lang.StringBuilder
dup
ldc "menuitem"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.awt.MenuItem.nameCounter:I
dup
iconst_1
iadd
putstatic java.awt.MenuItem.nameCounter:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
monitorexit
2: areturn
3: StackMap locals: java.awt.MenuItem java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/MenuItem;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.MenuItem.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield java.awt.MenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
ifnonnull 3
2: aload 0
aload 0
invokevirtual java.awt.MenuItem.getComponentFactory:()Lsun/awt/ComponentFactory;
aload 0
invokeinterface sun.awt.ComponentFactory.createMenuItem:(Ljava/awt/MenuItem;)Ljava/awt/peer/MenuItemPeer;
putfield java.awt.MenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/awt/MenuItem;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.MenuItem.label:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/MenuItem;
public synchronized void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield java.awt.MenuItem.label:Ljava/lang/String;
1: aload 0
getfield java.awt.MenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
checkcast java.awt.peer.MenuItemPeer
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
aload 1
invokeinterface java.awt.peer.MenuItemPeer.setLabel:(Ljava/lang/String;)V
4: StackMap locals: java.awt.peer.MenuItemPeer
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/MenuItem;
0 5 1 label Ljava/lang/String;
2 5 2 peer Ljava/awt/peer/MenuItemPeer;
MethodParameters:
Name Flags
label
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.MenuItem.enabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/MenuItem;
public synchronized void (boolean);
descriptor: (Z)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual java.awt.MenuItem.enable:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/MenuItem;
0 2 1 b Z
MethodParameters:
Name Flags
b
public synchronized void ();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
putfield java.awt.MenuItem.enabled:Z
1: aload 0
getfield java.awt.MenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
checkcast java.awt.peer.MenuItemPeer
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
iconst_1
invokeinterface java.awt.peer.MenuItemPeer.setEnabled:(Z)V
4: StackMap locals: java.awt.peer.MenuItemPeer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/MenuItem;
2 5 1 peer Ljava/awt/peer/MenuItemPeer;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public void (boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 3
1: aload 0
invokevirtual java.awt.MenuItem.enable:()V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.MenuItem.disable:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/MenuItem;
0 5 1 b Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
b
public synchronized void ();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
putfield java.awt.MenuItem.enabled:Z
1: aload 0
getfield java.awt.MenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
checkcast java.awt.peer.MenuItemPeer
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
iconst_0
invokeinterface java.awt.peer.MenuItemPeer.setEnabled:(Z)V
4: StackMap locals: java.awt.peer.MenuItemPeer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/MenuItem;
2 5 1 peer Ljava/awt/peer/MenuItemPeer;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.awt.MenuShortcut ();
descriptor: ()Ljava/awt/MenuShortcut;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/MenuItem;
public void (java.awt.MenuShortcut);
descriptor: (Ljava/awt/MenuShortcut;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
1: aload 0
getfield java.awt.MenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
checkcast java.awt.peer.MenuItemPeer
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
aload 0
getfield java.awt.MenuItem.label:Ljava/lang/String;
invokeinterface java.awt.peer.MenuItemPeer.setLabel:(Ljava/lang/String;)V
4: StackMap locals: java.awt.peer.MenuItemPeer
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/MenuItem;
0 5 1 s Ljava/awt/MenuShortcut;
2 5 2 peer Ljava/awt/peer/MenuItemPeer;
MethodParameters:
Name Flags
s
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
putfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
1: aload 0
getfield java.awt.MenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
checkcast java.awt.peer.MenuItemPeer
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
aload 0
getfield java.awt.MenuItem.label:Ljava/lang/String;
invokeinterface java.awt.peer.MenuItemPeer.setLabel:(Ljava/lang/String;)V
4: StackMap locals: java.awt.peer.MenuItemPeer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/MenuItem;
2 5 1 peer Ljava/awt/peer/MenuItemPeer;
void (java.awt.MenuShortcut);
descriptor: (Ljava/awt/MenuShortcut;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
invokevirtual java.awt.MenuShortcut.equals:(Ljava/awt/MenuShortcut;)Z
ifeq 5
1: aload 0
aconst_null
putfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
2: aload 0
getfield java.awt.MenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
checkcast java.awt.peer.MenuItemPeer
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
aload 0
getfield java.awt.MenuItem.label:Ljava/lang/String;
invokeinterface java.awt.peer.MenuItemPeer.setLabel:(Ljava/lang/String;)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/MenuItem;
0 6 1 s Ljava/awt/MenuShortcut;
3 5 2 peer Ljava/awt/peer/MenuItemPeer;
MethodParameters:
Name Flags
s
void (long, int);
descriptor: (JI)V
flags: (0x0000)
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 3 0: invokestatic java.awt.Toolkit.getEventQueue:()Ljava/awt/EventQueue;
1: new java.awt.event.ActionEvent
dup
aload 0
sipush 1001
2: aload 0
invokevirtual java.awt.MenuItem.getActionCommand:()Ljava/lang/String;
lload 1
iload 3
3: invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;JI)V
4: invokevirtual java.awt.EventQueue.postEvent:(Ljava/awt/AWTEvent;)V
5: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/MenuItem;
0 6 1 when J
0 6 3 modifiers I
MethodParameters:
Name Flags
when
modifiers
private boolean ();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.MenuItem.isEnabled:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.MenuItem.getParent_NoClientCode:()Ljava/awt/MenuContainer;
astore 1
start local 1 3: StackMap locals: java.awt.MenuContainer
StackMap stack:
aload 1
instanceof java.awt.Menu
ifne 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 1
checkcast java.awt.Menu
astore 2
start local 2 6: aload 2
invokevirtual java.awt.Menu.isEnabled:()Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals: java.awt.Menu
StackMap stack:
aload 2
invokevirtual java.awt.Menu.getParent_NoClientCode:()Ljava/awt/MenuContainer;
astore 1
end local 2 9: aload 1
ifnonnull 3
10: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/awt/MenuItem;
3 11 1 container Ljava/awt/MenuContainer;
6 9 2 menu Ljava/awt/Menu;
boolean handleShortcut(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)Z
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new java.awt.MenuShortcut
dup
aload 1
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
1: aload 1
invokevirtual java.awt.event.KeyEvent.getModifiers:()I
iconst_1
iand
ifle 2
iconst_1
goto 3
StackMap locals: java.awt.MenuItem java.awt.event.KeyEvent
StackMap stack: new 0 new 0 int
2: iconst_0
3: StackMap locals: java.awt.MenuItem java.awt.event.KeyEvent
StackMap stack: new 0 new 0 int int
invokespecial java.awt.MenuShortcut.<init>:(IZ)V
astore 2
start local 2 4: new java.awt.MenuShortcut
dup
aload 1
invokevirtual java.awt.event.KeyEvent.getExtendedKeyCode:()I
5: aload 1
invokevirtual java.awt.event.KeyEvent.getModifiers:()I
iconst_1
iand
ifle 6
iconst_1
goto 7
StackMap locals: java.awt.MenuItem java.awt.event.KeyEvent java.awt.MenuShortcut
StackMap stack: new 4 new 4 int
6: iconst_0
7: StackMap locals: java.awt.MenuItem java.awt.event.KeyEvent java.awt.MenuShortcut
StackMap stack: new 4 new 4 int int
invokespecial java.awt.MenuShortcut.<init>:(IZ)V
astore 3
start local 3 8: aload 2
aload 0
getfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
invokevirtual java.awt.MenuShortcut.equals:(Ljava/awt/MenuShortcut;)Z
ifne 9
aload 3
aload 0
getfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
invokevirtual java.awt.MenuShortcut.equals:(Ljava/awt/MenuShortcut;)Z
ifeq 13
StackMap locals: java.awt.MenuShortcut
StackMap stack:
9: aload 0
invokevirtual java.awt.MenuItem.isItemEnabled:()Z
ifeq 13
10: aload 1
invokevirtual java.awt.event.KeyEvent.getID:()I
sipush 401
if_icmpne 12
11: aload 0
aload 1
invokevirtual java.awt.event.KeyEvent.getWhen:()J
aload 1
invokevirtual java.awt.event.KeyEvent.getModifiers:()I
invokevirtual java.awt.MenuItem.doMenuEvent:(JI)V
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/awt/MenuItem;
0 14 1 e Ljava/awt/event/KeyEvent;
4 14 2 s Ljava/awt/MenuShortcut;
8 14 3 sE Ljava/awt/MenuShortcut;
MethodParameters:
Name Flags
e
java.awt.MenuItem (java.awt.MenuShortcut);
descriptor: (Ljava/awt/MenuShortcut;)Ljava/awt/MenuItem;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
invokevirtual java.awt.MenuShortcut.equals:(Ljava/awt/MenuShortcut;)Z
ifeq 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.awt.MenuItem
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/MenuItem;
0 3 1 s Ljava/awt/MenuShortcut;
MethodParameters:
Name Flags
s
protected final void (long);
descriptor: (J)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield java.awt.MenuItem.eventMask:J
lload 1
lor
putfield java.awt.MenuItem.eventMask:J
1: aload 0
iconst_1
putfield java.awt.MenuItem.newEventsOnly:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/MenuItem;
0 3 1 eventsToEnable J
MethodParameters:
Name Flags
eventsToEnable
protected final void (long);
descriptor: (J)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield java.awt.MenuItem.eventMask:J
lload 1
ldc -1
lxor
land
putfield java.awt.MenuItem.eventMask:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/MenuItem;
0 2 1 eventsToDisable J
MethodParameters:
Name Flags
eventsToDisable
public void setActionCommand(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield java.awt.MenuItem.actionCommand:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/MenuItem;
0 2 1 command Ljava/lang/String;
MethodParameters:
Name Flags
command
public java.lang.String getActionCommand();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.MenuItem.getActionCommandImpl:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/MenuItem;
final java.lang.String getActionCommandImpl();
descriptor: ()Ljava/lang/String;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.MenuItem.actionCommand:Ljava/lang/String;
ifnonnull 1
aload 0
getfield java.awt.MenuItem.label:Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield java.awt.MenuItem.actionCommand:Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/MenuItem;
public synchronized void (java.awt.event.ActionListener);
descriptor: (Ljava/awt/event/ActionListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.awt.MenuItem.actionListener:Ljava/awt/event/ActionListener;
aload 1
invokestatic java.awt.AWTEventMulticaster.add:(Ljava/awt/event/ActionListener;Ljava/awt/event/ActionListener;)Ljava/awt/event/ActionListener;
putfield java.awt.MenuItem.actionListener:Ljava/awt/event/ActionListener;
3: aload 0
iconst_1
putfield java.awt.MenuItem.newEventsOnly:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/MenuItem;
0 5 1 l Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
l
public synchronized void (java.awt.event.ActionListener);
descriptor: (Ljava/awt/event/ActionListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.awt.MenuItem.actionListener:Ljava/awt/event/ActionListener;
aload 1
invokestatic java.awt.AWTEventMulticaster.remove:(Ljava/awt/event/ActionListener;Ljava/awt/event/ActionListener;)Ljava/awt/event/ActionListener;
putfield java.awt.MenuItem.actionListener:Ljava/awt/event/ActionListener;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/MenuItem;
0 4 1 l Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
l
public synchronized java.awt.event.ActionListener[] ();
descriptor: ()[Ljava/awt/event/ActionListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/awt/event/ActionListener;
invokevirtual java.awt.MenuItem.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast java.awt.event.ActionListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/MenuItem;
public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)[Ljava/util/EventListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ldc Ljava/awt/event/ActionListener;
if_acmpne 3
2: aload 0
getfield java.awt.MenuItem.actionListener:Ljava/awt/event/ActionListener;
astore 2
3: StackMap locals: java.util.EventListener
StackMap stack:
aload 2
aload 1
invokestatic java.awt.AWTEventMulticaster.getListeners:(Ljava/util/EventListener;Ljava/lang/Class;)[Ljava/util/EventListener;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/MenuItem;
0 4 1 listenerType Ljava/lang/Class<TT;>;
1 4 2 l Ljava/util/EventListener;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;)[TT;
MethodParameters:
Name Flags
listenerType
protected void (java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.event.ActionEvent
ifeq 2
1: aload 0
aload 1
checkcast java.awt.event.ActionEvent
invokevirtual java.awt.MenuItem.processActionEvent:(Ljava/awt/event/ActionEvent;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/MenuItem;
0 3 1 e Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
boolean (java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)Z
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield java.awt.AWTEvent.id:I
sipush 1001
if_icmpne 5
1: aload 0
getfield java.awt.MenuItem.eventMask:J
ldc 128
land
lconst_0
lcmp
ifne 3
2: aload 0
getfield java.awt.MenuItem.actionListener:Ljava/awt/event/ActionListener;
ifnull 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.awt.MenuComponent.eventEnabled:(Ljava/awt/AWTEvent;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/MenuItem;
0 6 1 e Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
protected void (java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.MenuItem.actionListener:Ljava/awt/event/ActionListener;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.event.ActionListener.actionPerformed:(Ljava/awt/event/ActionEvent;)V
3: StackMap locals: java.awt.event.ActionListener
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/MenuItem;
0 4 1 e Ljava/awt/event/ActionEvent;
1 4 2 listener Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
e
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc ",label="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.awt.MenuItem.label:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
ifnull 3
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ",shortcut="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.awt.MenuItem.shortcut:Ljava/awt/MenuShortcut;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokespecial java.awt.MenuComponent.paramString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/MenuItem;
1 4 1 str Ljava/lang/String;
private void (java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
ldc "actionL"
aload 0
getfield java.awt.MenuItem.actionListener:Ljava/awt/event/ActionListener;
invokestatic java.awt.AWTEventMulticaster.save:(Ljava/io/ObjectOutputStream;Ljava/lang/String;Ljava/util/EventListener;)V
2: aload 1
aconst_null
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/MenuItem;
0 4 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void (java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: goto 6
start local 2 2: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast java.lang.String
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 3
start local 3 3: ldc "actionL"
aload 3
if_acmpne 5
4: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.awt.event.ActionListener
invokevirtual java.awt.MenuItem.addActionListener:(Ljava/awt/event/ActionListener;)V
goto 6
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
pop
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
dup
astore 2
start local 2 7: ifnonnull 2
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/MenuItem;
0 9 1 s Ljava/io/ObjectInputStream;
2 6 2 keyOrNull Ljava/lang/Object;
7 9 2 keyOrNull Ljava/lang/Object;
3 6 3 key Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException, java.awt.HeadlessException
MethodParameters:
Name Flags
s
private static native void ();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public javax.accessibility.AccessibleContext ();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.MenuItem.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new java.awt.MenuItem$AccessibleAWTMenuItem
dup
aload 0
invokespecial java.awt.MenuItem$AccessibleAWTMenuItem.<init>:(Ljava/awt/MenuItem;)V
putfield java.awt.MenuItem.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.MenuItem.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/MenuItem;
}
SourceFile: "MenuItem.java"
NestMembers:
java.awt.MenuItem$1 java.awt.MenuItem$AccessibleAWTMenuItem
InnerClasses:
java.awt.MenuItem$1
protected AccessibleAWTMenuItem = java.awt.MenuItem$AccessibleAWTMenuItem of java.awt.MenuItem
public abstract MenuItemAccessor = sun.awt.AWTAccessor$MenuItemAccessor of sun.awt.AWTAccessor