public final class extends sun.lwawt.macosx.CMenuComponent implements java.awt.peer.MenuBarPeer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.macosx.CMenuBar
super_class: sun.lwawt.macosx.CMenuComponent
{
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void (java.awt.MenuBar);
descriptor: (Ljava/awt/MenuBar;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.lwawt.macosx.CMenuComponent.<init>:(Ljava/awt/MenuComponent;)V
1: aload 0
iconst_m1
putfield sun.lwawt.macosx.CMenuBar.nextInsertionIndex:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CMenuBar;
0 3 1 target Ljava/awt/MenuBar;
MethodParameters:
Name Flags
target
long ();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CMenuBar.nativeCreateMenuBar:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CMenuBar;
public void (java.awt.Menu);
descriptor: (Ljava/awt/Menu;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.AWTAccessor.getMenuComponentAccessor:()Lsun/awt/AWTAccessor$MenuComponentAccessor;
aload 1
invokeinterface sun.awt.AWTAccessor$MenuComponentAccessor.getPeer:(Ljava/awt/MenuComponent;)Ljava/awt/peer/MenuComponentPeer;
checkcast sun.lwawt.macosx.CMenu
astore 2
start local 2 1: aload 0
new sun.lwawt.macosx.CMenuBar$1
dup
aload 0
aload 2
invokespecial sun.lwawt.macosx.CMenuBar$1.<init>:(Lsun/lwawt/macosx/CMenuBar;Lsun/lwawt/macosx/CMenu;)V
invokevirtual sun.lwawt.macosx.CMenuBar.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CMenuBar;
0 3 1 m Ljava/awt/Menu;
1 3 2 cMenu Lsun/lwawt/macosx/CMenu;
MethodParameters:
Name Flags
m final
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CMenuBar.nextInsertionIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CMenuBar;
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.lwawt.macosx.CMenuBar.nextInsertionIndex:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CMenuBar;
0 2 1 index I
MethodParameters:
Name Flags
index
public void (java.awt.Menu);
descriptor: (Ljava/awt/Menu;)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 Lsun/lwawt/macosx/CMenuBar;
0 1 1 m Ljava/awt/Menu;
MethodParameters:
Name Flags
m
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new sun.lwawt.macosx.CMenuBar$2
dup
aload 0
iload 1
invokespecial sun.lwawt.macosx.CMenuBar$2.<init>:(Lsun/lwawt/macosx/CMenuBar;I)V
invokevirtual sun.lwawt.macosx.CMenuBar.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CMenuBar;
0 2 1 index I
MethodParameters:
Name Flags
index final
private native long ();
descriptor: ()J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
private native void (long, long);
descriptor: (JJ)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
menuBarPtr
menuPtr
private native void (long, int);
descriptor: (JI)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
menuBarPtr
index
}
SourceFile: "CMenuBar.java"
NestMembers:
sun.lwawt.macosx.CMenuBar$1 sun.lwawt.macosx.CMenuBar$1$1 sun.lwawt.macosx.CMenuBar$2
InnerClasses:
public abstract MenuComponentAccessor = sun.awt.AWTAccessor$MenuComponentAccessor of sun.awt.AWTAccessor
public abstract CFNativeAction = sun.lwawt.macosx.CFRetainedResource$CFNativeAction of sun.lwawt.macosx.CFRetainedResource
sun.lwawt.macosx.CMenuBar$1
sun.lwawt.macosx.CMenuBar$2