class extends sun.awt.windows.WMenuItemPeer implements java.awt.peer.MenuPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.windows.WMenuPeer
super_class: sun.awt.windows.WMenuItemPeer
{
public native void ();
descriptor: ()V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public void (java.awt.MenuItem);
descriptor: (Ljava/awt/MenuItem;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WMenuItemPeer
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WMenuPeer;
0 2 1 item Ljava/awt/MenuItem;
MethodParameters:
Name Flags
item
public native void (int);
descriptor: (I)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
index
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.windows.WMenuItemPeer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WMenuPeer;
void (java.awt.Menu);
descriptor: (Ljava/awt/Menu;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.awt.windows.WMenuItemPeer.<init>:()V
1: aload 0
aload 1
putfield sun.awt.windows.WMenuPeer.target:Ljava/lang/Object;
2: aload 1
invokevirtual java.awt.Menu.getParent:()Ljava/awt/MenuContainer;
astore 2
start local 2 3: aload 2
instanceof java.awt.MenuBar
ifeq 9
4: aload 2
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WMenuBarPeer
astore 3
start local 3 5: aload 0
aload 3
putfield sun.awt.windows.WMenuPeer.parent:Lsun/awt/windows/WMenuPeer;
6: aload 3
aload 0
invokevirtual sun.awt.windows.WMenuBarPeer.addChildPeer:(Lsun/awt/windows/WObjectPeer;)V
7: aload 0
aload 3
invokevirtual sun.awt.windows.WMenuPeer.createMenu:(Lsun/awt/windows/WMenuBarPeer;)V
end local 3 8: goto 15
9: StackMap locals: sun.awt.windows.WMenuPeer java.awt.Menu java.awt.MenuContainer
StackMap stack:
aload 2
instanceof java.awt.Menu
ifeq 14
10: aload 0
aload 2
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WMenuPeer
putfield sun.awt.windows.WMenuPeer.parent:Lsun/awt/windows/WMenuPeer;
11: aload 0
getfield sun.awt.windows.WMenuPeer.parent:Lsun/awt/windows/WMenuPeer;
aload 0
invokevirtual sun.awt.windows.WMenuPeer.addChildPeer:(Lsun/awt/windows/WObjectPeer;)V
12: aload 0
aload 0
getfield sun.awt.windows.WMenuPeer.parent:Lsun/awt/windows/WMenuPeer;
invokevirtual sun.awt.windows.WMenuPeer.createSubMenu:(Lsun/awt/windows/WMenuPeer;)V
13: goto 15
14: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "unknown menu container class"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.windows.WMenuPeer.checkMenuCreation:()V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/awt/windows/WMenuPeer;
0 17 1 target Ljava/awt/Menu;
3 17 2 parent Ljava/awt/MenuContainer;
5 8 3 mbPeer Lsun/awt/windows/WMenuBarPeer;
MethodParameters:
Name Flags
target
native void (sun.awt.windows.WMenuBarPeer);
descriptor: (Lsun/awt/windows/WMenuBarPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
native void (sun.awt.windows.WMenuPeer);
descriptor: (Lsun/awt/windows/WMenuPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
}
SourceFile: "WMenuPeer.java"