class extends sun.awt.windows.WObjectPeer implements java.awt.peer.MenuItemPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.windows.WMenuItemPeer
super_class: sun.awt.windows.WObjectPeer
{
private static final sun.util.logging.PlatformLogger ;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0000)
protected sun.awt.windows.WMenuPeer ;
descriptor: Lsun/awt/windows/WMenuPeer;
flags: (0x0004) ACC_PROTECTED
private final boolean ;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static java.awt.Font ;
descriptor: Ljava/awt/Font;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "sun.awt.WMenuItemPeer"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.windows.WMenuItemPeer.log:Lsun/util/logging/PlatformLogger;
1: invokestatic sun.awt.windows.WMenuItemPeer.initIDs:()V
2: new sun.awt.windows.WMenuItemPeer$1
dup
invokespecial sun.awt.windows.WMenuItemPeer$1.<init>:()V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.awt.Font
putstatic sun.awt.windows.WMenuItemPeer.defaultMenuFont:Ljava/awt/Font;
4: return
LocalVariableTable:
Start End Slot Name Signature
private synchronized native void ();
descriptor: ()V
flags: (0x0122) ACC_PRIVATE, ACC_SYNCHRONIZED, ACC_NATIVE
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WMenuItemPeer.target:Ljava/lang/Object;
aload 0
invokestatic sun.awt.windows.WToolkit.targetDisposedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 0
invokevirtual sun.awt.windows.WMenuItemPeer._dispose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WMenuItemPeer;
public void (boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.awt.windows.WMenuItemPeer.enable:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WMenuItemPeer;
0 2 1 b Z
MethodParameters:
Name Flags
b
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual sun.awt.windows.WMenuItemPeer.enable:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WMenuItemPeer;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.awt.windows.WMenuItemPeer.enable:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WMenuItemPeer;
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WMenuItemPeer.parent:Lsun/awt/windows/WMenuPeer;
astore 1
start local 1 1: goto 3
2: StackMap locals: sun.awt.windows.WMenuPeer
StackMap stack:
aload 1
getfield sun.awt.windows.WMenuPeer.parent:Lsun/awt/windows/WMenuPeer;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
ifnull 4
aload 1
instanceof sun.awt.windows.WMenuBarPeer
ifeq 2
4: StackMap locals:
StackMap stack:
aload 1
instanceof sun.awt.windows.WMenuBarPeer
ifeq 10
5: aload 0
getfield sun.awt.windows.WMenuItemPeer.target:Ljava/lang/Object;
checkcast java.awt.MenuItem
invokevirtual java.awt.MenuItem.getShortcut:()Ljava/awt/MenuShortcut;
astore 2
start local 2 6: aload 0
aload 2
ifnull 7
aload 2
invokevirtual java.awt.MenuShortcut.toString:()Ljava/lang/String;
goto 8
StackMap locals: sun.awt.windows.WMenuItemPeer sun.awt.windows.WMenuPeer java.awt.MenuShortcut
StackMap stack: sun.awt.windows.WMenuItemPeer
7: aconst_null
StackMap locals: sun.awt.windows.WMenuItemPeer sun.awt.windows.WMenuPeer java.awt.MenuShortcut
StackMap stack: sun.awt.windows.WMenuItemPeer java.lang.String
8: putfield sun.awt.windows.WMenuItemPeer.shortcutLabel:Ljava/lang/String;
end local 2 9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.awt.windows.WMenuItemPeer.shortcutLabel:Ljava/lang/String;
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/awt/windows/WMenuItemPeer;
1 12 1 ancestor Lsun/awt/windows/WMenuPeer;
6 9 2 sc Ljava/awt/MenuShortcut;
public void (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
invokevirtual sun.awt.windows.WMenuItemPeer.readShortcutLabel:()V
1: aload 0
aload 1
invokevirtual sun.awt.windows.WMenuItemPeer._setLabel:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WMenuItemPeer;
0 3 1 label Ljava/lang/String;
MethodParameters:
Name Flags
label
public native void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
label
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.windows.WObjectPeer.<init>:()V
1: aload 0
iconst_0
putfield sun.awt.windows.WMenuItemPeer.isCheckbox:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WMenuItemPeer;
void (java.awt.MenuItem);
descriptor: (Ljava/awt/MenuItem;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial sun.awt.windows.WMenuItemPeer.<init>:(Ljava/awt/MenuItem;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WMenuItemPeer;
0 2 1 target Ljava/awt/MenuItem;
MethodParameters:
Name Flags
target
void (java.awt.MenuItem, boolean);
descriptor: (Ljava/awt/MenuItem;Z)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.awt.windows.WObjectPeer.<init>:()V
1: aload 0
aload 1
putfield sun.awt.windows.WMenuItemPeer.target:Ljava/lang/Object;
2: aload 0
aload 1
invokevirtual java.awt.MenuItem.getParent:()Ljava/awt/MenuContainer;
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WMenuPeer
putfield sun.awt.windows.WMenuItemPeer.parent:Lsun/awt/windows/WMenuPeer;
3: aload 0
iload 2
putfield sun.awt.windows.WMenuItemPeer.isCheckbox:Z
4: aload 0
getfield sun.awt.windows.WMenuItemPeer.parent:Lsun/awt/windows/WMenuPeer;
aload 0
invokevirtual sun.awt.windows.WMenuPeer.addChildPeer:(Lsun/awt/windows/WObjectPeer;)V
5: aload 0
aload 0
getfield sun.awt.windows.WMenuItemPeer.parent:Lsun/awt/windows/WMenuPeer;
invokevirtual sun.awt.windows.WMenuItemPeer.create:(Lsun/awt/windows/WMenuPeer;)V
6: aload 0
invokevirtual sun.awt.windows.WMenuItemPeer.checkMenuCreation:()V
7: aload 0
invokevirtual sun.awt.windows.WMenuItemPeer.readShortcutLabel:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/windows/WMenuItemPeer;
0 9 1 target Ljava/awt/MenuItem;
0 9 2 isCheckbox Z
MethodParameters:
Name Flags
target
isCheckbox
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WMenuItemPeer.pData:J
lconst_0
lcmp
ifne 4
1: aload 0
getfield sun.awt.windows.WMenuItemPeer.createError:Ljava/lang/Error;
ifnull 3
2: aload 0
getfield sun.awt.windows.WMenuItemPeer.createError:Ljava/lang/Error;
athrow
3: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
ldc "couldn't create menu peer"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/windows/WMenuItemPeer;
void (java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.windows.WMenuItemPeer.target:Ljava/lang/Object;
invokestatic sun.awt.windows.WToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 1
invokestatic sun.awt.windows.WToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WMenuItemPeer;
0 2 1 event Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
event
native void (sun.awt.windows.WMenuPeer);
descriptor: (Lsun/awt/windows/WMenuPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
native void (boolean);
descriptor: (Z)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
e
void handleAction(long, int);
descriptor: (JI)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield sun.awt.windows.WMenuItemPeer.target:Ljava/lang/Object;
new sun.awt.windows.WMenuItemPeer$2
dup
aload 0
lload 1
iload 3
invokespecial sun.awt.windows.WMenuItemPeer$2.<init>:(Lsun/awt/windows/WMenuItemPeer;JI)V
invokestatic sun.awt.windows.WToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WMenuItemPeer;
0 2 1 when J
0 2 3 modifiers I
MethodParameters:
Name Flags
when final
modifiers final
static java.awt.Font ();
descriptor: ()Ljava/awt/Font;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.windows.WMenuItemPeer.defaultMenuFont:Ljava/awt/Font;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static native void ();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private native void (java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
f
public void (java.awt.Font);
descriptor: (Ljava/awt/Font;)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 sun.awt.windows.WMenuItemPeer._setFont:(Ljava/awt/Font;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WMenuItemPeer;
0 2 1 f Ljava/awt/Font;
MethodParameters:
Name Flags
f final
}
SourceFile: "WMenuItemPeer.java"
NestMembers:
sun.awt.windows.WMenuItemPeer$1 sun.awt.windows.WMenuItemPeer$2
InnerClasses:
sun.awt.windows.WMenuItemPeer$1
sun.awt.windows.WMenuItemPeer$2