public class extends sun.awt.X11.XBaseMenuWindow implements java.awt.peer.MenuBarPeer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11.XMenuBarPeer
super_class: sun.awt.X11.XBaseMenuWindow
{
private static sun.util.logging.PlatformLogger ;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private sun.awt.X11.XFramePeer ;
descriptor: Lsun/awt/X11/XFramePeer;
flags: (0x0002) ACC_PRIVATE
private java.awt.MenuBar ;
descriptor: Ljava/awt/MenuBar;
flags: (0x0002) ACC_PRIVATE
private sun.awt.X11.XMenuPeer ;
descriptor: Lsun/awt/X11/XMenuPeer;
flags: (0x0002) ACC_PRIVATE
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 12
static final int ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 23
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.awt.X11.XMenuBarPeer"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.XMenuBarPeer.log:Lsun/util/logging/PlatformLogger;
1: return
LocalVariableTable:
Start End Slot Name Signature
void (java.awt.MenuBar);
descriptor: (Ljava/awt/MenuBar;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.awt.X11.XBaseMenuWindow.<init>:()V
1: aload 0
aconst_null
putfield sun.awt.X11.XMenuBarPeer.helpMenu:Lsun/awt/X11/XMenuPeer;
2: aload 0
aload 1
putfield sun.awt.X11.XMenuBarPeer.menuBarTarget:Ljava/awt/MenuBar;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XMenuBarPeer;
0 4 1 menuBarTarget Ljava/awt/MenuBar;
MethodParameters:
Name Flags
menuBarTarget
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
invokevirtual sun.awt.X11.XMenuBarPeer.resetMapping:()V
1: aload 0
aload 1
invokevirtual sun.awt.X11.XMenuBarPeer.setItemsFont:(Ljava/awt/Font;)V
2: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.postPaintEvent:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XMenuBarPeer;
0 4 1 f Ljava/awt/Font;
MethodParameters:
Name Flags
f
public void (java.awt.Menu);
descriptor: (Ljava/awt/Menu;)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.X11.XMenuBarPeer.addItem:(Ljava/awt/MenuItem;)V
1: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.postPaintEvent:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XMenuBarPeer;
0 3 1 m Ljava/awt/Menu;
MethodParameters:
Name Flags
m
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.X11.XMenuBarPeer.getMenuTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
iload 1
invokevirtual sun.awt.X11.XMenuBarPeer.getItem:(I)Lsun/awt/X11/XMenuItemPeer;
astore 3
start local 3 2: aload 3
ifnull 4
aload 3
aload 0
getfield sun.awt.X11.XMenuBarPeer.helpMenu:Lsun/awt/X11/XMenuPeer;
if_acmpne 4
3: aload 0
aconst_null
putfield sun.awt.X11.XMenuBarPeer.helpMenu:Lsun/awt/X11/XMenuPeer;
4: StackMap locals: java.lang.Object sun.awt.X11.XMenuItemPeer
StackMap stack:
aload 0
iload 1
invokevirtual sun.awt.X11.XMenuBarPeer.delItem:(I)V
end local 3 5: aload 2
monitorexit
6: goto 9
StackMap locals: sun.awt.X11.XMenuBarPeer int java.lang.Object
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.postPaintEvent:()V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/X11/XMenuBarPeer;
0 11 1 index I
2 5 3 item Lsun/awt/X11/XMenuItemPeer;
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
index
public void (java.awt.Menu);
descriptor: (Ljava/awt/Menu;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.Menu.getPeer:()Ljava/awt/peer/MenuComponentPeer;
checkcast sun.awt.X11.XMenuPeer
astore 2
start local 2 1: invokestatic sun.awt.X11.XMenuBarPeer.getMenuTreeLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
2: aload 0
aload 2
putfield sun.awt.X11.XMenuBarPeer.helpMenu:Lsun/awt/X11/XMenuPeer;
3: aload 3
monitorexit
4: goto 7
StackMap locals: sun.awt.X11.XMenuBarPeer java.awt.Menu sun.awt.X11.XMenuPeer java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 3
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.postPaintEvent:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XMenuBarPeer;
0 9 1 m Ljava/awt/Menu;
1 9 2 mp Lsun/awt/X11/XMenuPeer;
Exception table:
from to target type
2 4 5 any
5 6 5 any
MethodParameters:
Name Flags
m
public void (java.awt.Frame);
descriptor: (Ljava/awt/Frame;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.awt.X11.XMenuBarPeer.target:Ljava/awt/Component;
1: aload 0
aload 1
invokevirtual java.awt.Frame.getPeer:()Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.X11.XFramePeer
putfield sun.awt.X11.XMenuBarPeer.framePeer:Lsun/awt/X11/XFramePeer;
2: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getDelayedParams:()Lsun/awt/X11/XCreateWindowParams;
astore 2
start local 2 3: aload 2
ldc "delayed"
invokevirtual sun.awt.X11.XCreateWindowParams.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 2
ldc "parent window"
aload 0
getfield sun.awt.X11.XMenuBarPeer.framePeer:Lsun/awt/X11/XFramePeer;
invokevirtual sun.awt.X11.XFramePeer.getShell:()J
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;J)Lsun/awt/X11/XCreateWindowParams;
pop
5: aload 2
ldc "target"
aload 1
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;Ljava/lang/Object;)Lsun/awt/X11/XCreateWindowParams;
pop
6: aload 0
aload 2
invokevirtual sun.awt.X11.XMenuBarPeer.init:(Lsun/awt/X11/XCreateWindowParams;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XMenuBarPeer;
0 8 1 frame Ljava/awt/Frame;
3 8 2 params Lsun/awt/X11/XCreateWindowParams;
MethodParameters:
Name Flags
frame
void (sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XBaseMenuWindow.postInit:(Lsun/awt/X11/XCreateWindowParams;)V
1: invokestatic sun.awt.AWTAccessor.getMenuBarAccessor:()Lsun/awt/AWTAccessor$MenuBarAccessor;
2: aload 0
getfield sun.awt.X11.XMenuBarPeer.menuBarTarget:Ljava/awt/MenuBar;
invokeinterface sun.awt.AWTAccessor$MenuBarAccessor.getMenus:(Ljava/awt/MenuBar;)Ljava/util/Vector;
3: astore 2
start local 2 4: invokestatic sun.awt.AWTAccessor.getMenuBarAccessor:()Lsun/awt/AWTAccessor$MenuBarAccessor;
5: aload 0
getfield sun.awt.X11.XMenuBarPeer.menuBarTarget:Ljava/awt/MenuBar;
invokeinterface sun.awt.AWTAccessor$MenuBarAccessor.getHelpMenu:(Ljava/awt/MenuBar;)Ljava/awt/Menu;
6: astore 3
start local 3 7: aload 0
aload 2
invokevirtual sun.awt.X11.XMenuBarPeer.reloadItems:(Ljava/util/Vector;)V
8: aload 3
ifnull 10
9: aload 0
aload 3
invokevirtual sun.awt.X11.XMenuBarPeer.addHelpMenu:(Ljava/awt/Menu;)V
10: StackMap locals: java.util.Vector java.awt.Menu
StackMap stack:
aload 0
iconst_1
invokevirtual sun.awt.X11.XMenuBarPeer.xSetVisible:(Z)V
11: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.toFront:()V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/X11/XMenuBarPeer;
0 13 1 params Lsun/awt/X11/XCreateWindowParams;
4 13 2 targetMenuVector Ljava/util/Vector;
7 13 3 targetHelpMenu Ljava/awt/Menu;
MethodParameters:
Name Flags
params
protected sun.awt.X11.XBaseMenuWindow ();
descriptor: ()Lsun/awt/X11/XBaseMenuWindow;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XMenuBarPeer;
protected sun.awt.X11.XMenuBarPeer$MappingData ();
descriptor: ()Lsun/awt/X11/XMenuBarPeer$MappingData;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=18, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.copyItems:()[Lsun/awt/X11/XMenuItemPeer;
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: aload 0
getfield sun.awt.X11.XMenuBarPeer.helpMenu:Lsun/awt/X11/XMenuPeer;
astore 3
start local 3 3: iconst_m1
istore 4
start local 4 4: aload 3
ifnull 15
5: iconst_0
istore 5
start local 5 6: goto 11
7: StackMap locals: sun.awt.X11.XMenuBarPeer sun.awt.X11.XMenuItemPeer[] int sun.awt.X11.XMenuItemPeer int int
StackMap stack:
aload 1
iload 5
aaload
aload 3
if_acmpne 10
8: iload 5
istore 4
9: goto 12
10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 2
if_icmplt 7
end local 5 12: StackMap locals:
StackMap stack:
iload 4
iconst_m1
if_icmpeq 15
iload 4
iload 2
iconst_1
isub
if_icmpeq 15
13: aload 1
iload 4
iconst_1
iadd
aload 1
iload 4
iload 2
iconst_1
isub
iload 4
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: aload 1
iload 2
iconst_1
isub
aload 3
aastore
15: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 16: iload 2
anewarray sun.awt.X11.XMenuItemPeer$TextMetrics
astore 6
start local 6 17: iconst_0
istore 7
start local 7 18: goto 24
19: StackMap locals: int sun.awt.X11.XMenuItemPeer$TextMetrics[] int
StackMap stack:
aload 6
iload 7
aload 1
iload 7
aaload
invokevirtual sun.awt.X11.XMenuItemPeer.getTextMetrics:()Lsun/awt/X11/XMenuItemPeer$TextMetrics;
aastore
20: aload 6
iload 7
aaload
invokevirtual sun.awt.X11.XMenuItemPeer$TextMetrics.getTextDimension:()Ljava/awt/Dimension;
astore 8
start local 8 21: aload 8
ifnull 23
22: iload 5
aload 8
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 5
end local 8 23: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
24: iload 7
iload 2
if_icmplt 19
end local 7 25: iconst_0
istore 7
start local 7 26: iconst_2
iload 5
iadd
iconst_2
iadd
istore 8
start local 8 27: iload 2
istore 9
start local 9 28: iconst_0
istore 10
start local 10 29: goto 49
30: StackMap locals: int int int
StackMap stack:
aload 1
iload 10
aaload
astore 11
start local 11 31: aload 6
iload 10
aaload
astore 12
start local 12 32: aload 12
invokevirtual sun.awt.X11.XMenuItemPeer$TextMetrics.getTextDimension:()Ljava/awt/Dimension;
astore 13
start local 13 33: aload 13
ifnull 46
34: bipush 10
aload 13
getfield java.awt.Dimension.width:I
iadd
bipush 10
iadd
istore 14
start local 14 35: iload 7
iload 14
iadd
aload 0
getfield sun.awt.X11.XMenuBarPeer.width:I
if_icmple 38
iload 10
ifle 38
36: iload 10
istore 9
37: goto 50
38: StackMap locals: sun.awt.X11.XMenuBarPeer sun.awt.X11.XMenuItemPeer[] int sun.awt.X11.XMenuItemPeer int int sun.awt.X11.XMenuItemPeer$TextMetrics[] int int int int sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Dimension int
StackMap stack:
iload 10
iload 2
iconst_1
isub
if_icmpne 40
iload 4
iconst_m1
if_icmpeq 40
39: iload 7
aload 0
getfield sun.awt.X11.XMenuBarPeer.width:I
iload 14
isub
iconst_3
isub
invokestatic java.lang.Math.max:(II)I
istore 7
40: StackMap locals:
StackMap stack:
new java.awt.Rectangle
dup
iload 7
iconst_3
iload 14
iload 8
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 15
start local 15 41: iload 5
aload 13
getfield java.awt.Dimension.height:I
iadd
iconst_2
idiv
aload 12
invokevirtual sun.awt.X11.XMenuItemPeer$TextMetrics.getTextBaseline:()I
isub
istore 16
start local 16 42: new java.awt.Point
dup
iload 7
bipush 10
iadd
iconst_5
iload 16
iadd
invokespecial java.awt.Point.<init>:(II)V
astore 17
start local 17 43: iload 7
iload 14
iconst_2
iadd
iadd
istore 7
44: aload 11
aload 15
aload 17
invokevirtual sun.awt.X11.XMenuItemPeer.map:(Ljava/awt/Rectangle;Ljava/awt/Point;)V
end local 17 end local 16 end local 15 end local 14 45: goto 48
46: StackMap locals:
StackMap stack:
new java.awt.Rectangle
iload 7
iconst_3
iconst_0
iconst_0
invokespecial java.awt.Rectangle.<init>:(IIII)V
47: new java.awt.Point
iload 7
bipush 10
iadd
iconst_5
invokespecial java.awt.Point.<init>:(II)V
end local 13 end local 12 end local 11 48: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
49: iload 10
iload 2
if_icmplt 30
end local 10 50: StackMap locals:
StackMap stack:
iload 9
anewarray sun.awt.X11.XMenuItemPeer
astore 10
start local 10 51: aload 1
iconst_0
aload 10
iconst_0
iload 9
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
52: new sun.awt.X11.XMenuBarPeer$MappingData
dup
aload 10
iconst_3
iload 8
iadd
iconst_3
iadd
invokespecial sun.awt.X11.XMenuBarPeer$MappingData.<init>:([Lsun/awt/X11/XMenuItemPeer;I)V
astore 11
start local 11 53: aload 11
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 54 0 this Lsun/awt/X11/XMenuBarPeer;
1 54 1 itemVector [Lsun/awt/X11/XMenuItemPeer;
2 54 2 itemCnt I
3 54 3 helpMenu Lsun/awt/X11/XMenuItemPeer;
4 54 4 helpMenuPos I
6 12 5 i I
16 54 5 maxHeight I
17 54 6 itemMetrics [Lsun/awt/X11/XMenuItemPeer$TextMetrics;
18 25 7 i I
21 23 8 dim Ljava/awt/Dimension;
26 54 7 nextOffset I
27 54 8 itemHeight I
28 54 9 mappedCnt I
29 50 10 i I
31 48 11 item Lsun/awt/X11/XMenuItemPeer;
32 48 12 metrics Lsun/awt/X11/XMenuItemPeer$TextMetrics;
33 48 13 dim Ljava/awt/Dimension;
35 45 14 itemWidth I
41 45 15 bounds Ljava/awt/Rectangle;
42 45 16 y I
43 45 17 textOrigin Ljava/awt/Point;
51 54 10 mappedVector [Lsun/awt/X11/XMenuItemPeer;
53 54 11 mappingData Lsun/awt/X11/XMenuBarPeer$MappingData;
protected java.awt.Rectangle (java.awt.Rectangle, java.awt.Dimension);
descriptor: (Ljava/awt/Rectangle;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual sun.awt.X11.XMenuBarPeer.toGlobal:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 3
start local 3 1: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
invokevirtual java.awt.Toolkit.getScreenSize:()Ljava/awt/Dimension;
astore 4
start local 4 2: aload 0
aload 3
aload 2
aload 4
invokevirtual sun.awt.X11.XMenuBarPeer.fitWindowBelow:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
astore 5
start local 5 3: aload 5
ifnull 5
4: aload 5
areturn
5: StackMap locals: java.awt.Rectangle java.awt.Dimension java.awt.Rectangle
StackMap stack:
aload 0
aload 3
aload 2
aload 4
invokevirtual sun.awt.X11.XMenuBarPeer.fitWindowAbove:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
astore 5
6: aload 5
ifnull 8
7: aload 5
areturn
8: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 2
aload 4
invokevirtual sun.awt.X11.XMenuBarPeer.fitWindowRight:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
astore 5
9: aload 5
ifnull 11
10: aload 5
areturn
11: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 2
aload 4
invokevirtual sun.awt.X11.XMenuBarPeer.fitWindowLeft:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
astore 5
12: aload 5
ifnull 14
13: aload 5
areturn
14: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 4
invokevirtual sun.awt.X11.XMenuBarPeer.fitWindowToScreen:(Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11/XMenuBarPeer;
0 15 1 itemBounds Ljava/awt/Rectangle;
0 15 2 windowSize Ljava/awt/Dimension;
1 15 3 globalBounds Ljava/awt/Rectangle;
2 15 4 screenSize Ljava/awt/Dimension;
3 15 5 res Ljava/awt/Rectangle;
MethodParameters:
Name Flags
itemBounds
windowSize
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.resetMapping:()V
1: aload 0
getfield sun.awt.X11.XMenuBarPeer.framePeer:Lsun/awt/X11/XFramePeer;
ifnull 3
2: aload 0
getfield sun.awt.X11.XMenuBarPeer.framePeer:Lsun/awt/X11/XFramePeer;
invokevirtual sun.awt.X11.XFramePeer.reshapeMenubarPeer:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XMenuBarPeer;
int ();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getMappingData:()Lsun/awt/X11/XBaseMenuWindow$MappingData;
checkcast sun.awt.X11.XMenuBarPeer$MappingData
astore 1
start local 1 1: aload 1
invokevirtual sun.awt.X11.XMenuBarPeer$MappingData.getDesiredHeight:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XMenuBarPeer;
1 2 1 mappingData Lsun/awt/X11/XMenuBarPeer$MappingData;
boolean ();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XMenuBarPeer.framePeer:Lsun/awt/X11/XFramePeer;
ifnull 2
1: aload 0
getfield sun.awt.X11.XMenuBarPeer.framePeer:Lsun/awt/X11/XFramePeer;
invokevirtual sun.awt.X11.XFramePeer.isEnabled:()Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XMenuBarPeer;
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.X11.XBaseMenuWindow.doDispose:()V
1: aload 0
getfield sun.awt.X11.XMenuBarPeer.menuBarTarget:Ljava/awt/MenuBar;
aload 0
invokestatic sun.awt.X11.XToolkit.targetDisposedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XMenuBarPeer;
public void (int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
aload 0
getfield sun.awt.X11.XMenuBarPeer.width:I
if_icmpne 1
iload 4
aload 0
getfield sun.awt.X11.XMenuBarPeer.height:I
if_icmpeq 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.resetMapping:()V
2: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial sun.awt.X11.XBaseMenuWindow.reshape:(IIII)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XMenuBarPeer;
0 4 1 x I
0 4 2 y I
0 4 3 width I
0 4 4 height I
MethodParameters:
Name Flags
x
y
width
height
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
iconst_0
invokevirtual sun.awt.X11.XMenuBarPeer.selectItem:(Lsun/awt/X11/XMenuItemPeer;Z)V
1: aload 0
invokespecial sun.awt.X11.XBaseMenuWindow.ungrabInputImpl:()V
2: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.postPaintEvent:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XMenuBarPeer;
public void (java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.resetColors:()V
1: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getWidth:()I
istore 2
start local 2 2: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getHeight:()I
istore 3
start local 3 3: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.flush:()V
4: aload 1
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getBackgroundColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: aload 1
iconst_1
iconst_1
iload 2
iconst_2
isub
iload 3
iconst_2
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
6: aload 0
aload 1
iconst_0
iconst_0
iload 2
iload 3
iconst_1
invokevirtual sun.awt.X11.XMenuBarPeer.draw3DRect:(Ljava/awt/Graphics;IIIIZ)V
7: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getMappingData:()Lsun/awt/X11/XBaseMenuWindow$MappingData;
checkcast sun.awt.X11.XMenuBarPeer$MappingData
astore 4
start local 4 8: aload 4
invokevirtual sun.awt.X11.XMenuBarPeer$MappingData.getItems:()[Lsun/awt/X11/XMenuItemPeer;
astore 5
start local 5 9: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getSelectedItem:()Lsun/awt/X11/XMenuItemPeer;
astore 6
start local 6 10: iconst_0
istore 7
start local 7 11: goto 26
12: StackMap locals: sun.awt.X11.XMenuBarPeer java.awt.Graphics int int sun.awt.X11.XMenuBarPeer$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int
StackMap stack:
aload 5
iload 7
aaload
astore 8
start local 8 13: aload 1
aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getTargetFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
14: aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getBounds:()Ljava/awt/Rectangle;
astore 9
start local 9 15: aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getTextOrigin:()Ljava/awt/Point;
astore 10
start local 10 16: aload 8
aload 6
if_acmpne 20
17: aload 1
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getSelectedColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
18: aload 1
aload 9
getfield java.awt.Rectangle.x:I
aload 9
getfield java.awt.Rectangle.y:I
aload 9
getfield java.awt.Rectangle.width:I
aload 9
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
19: aload 0
aload 1
aload 9
getfield java.awt.Rectangle.x:I
aload 9
getfield java.awt.Rectangle.y:I
aload 9
getfield java.awt.Rectangle.width:I
aload 9
getfield java.awt.Rectangle.height:I
iconst_0
invokevirtual sun.awt.X11.XMenuBarPeer.draw3DRect:(Ljava/awt/Graphics;IIIIZ)V
20: StackMap locals: sun.awt.X11.XMenuItemPeer java.awt.Rectangle java.awt.Point
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.isFramePeerEnabled:()Z
ifeq 23
aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.isTargetItemEnabled:()Z
ifeq 23
21: aload 1
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getForegroundColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
22: goto 24
23: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getDisabledColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
24: StackMap locals:
StackMap stack:
aload 1
aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getTargetLabel:()Ljava/lang/String;
aload 10
getfield java.awt.Point.x:I
aload 10
getfield java.awt.Point.y:I
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
end local 10 end local 9 end local 8 25: iinc 7 1
StackMap locals:
StackMap stack:
26: iload 7
aload 5
arraylength
if_icmplt 12
end local 7 27: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.flush:()V
28: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/awt/X11/XMenuBarPeer;
0 29 1 g Ljava/awt/Graphics;
2 29 2 width I
3 29 3 height I
8 29 4 mappingData Lsun/awt/X11/XMenuBarPeer$MappingData;
9 29 5 itemVector [Lsun/awt/X11/XMenuItemPeer;
10 29 6 selectedItem Lsun/awt/X11/XMenuItemPeer;
11 27 7 i I
13 25 8 item Lsun/awt/X11/XMenuItemPeer;
15 25 9 bounds Ljava/awt/Rectangle;
16 25 10 textOrigin Ljava/awt/Point;
MethodParameters:
Name Flags
g
void (java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0000)
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/awt/X11/XMenuBarPeer;
0 1 1 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g
protected void handleEvent(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 0
getfield sun.awt.X11.XMenuBarPeer.framePeer:Lsun/awt/X11/XFramePeer;
ifnull 4
1: aload 1
invokevirtual java.awt.AWTEvent.getID:()I
sipush 800
if_icmpeq 4
2: aload 0
getfield sun.awt.X11.XMenuBarPeer.framePeer:Lsun/awt/X11/XFramePeer;
invokevirtual sun.awt.X11.XFramePeer.isModalBlocked:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.AWTEvent.getID:()I
lookupswitch { // 9
401: 8
402: 8
500: 5
501: 5
502: 5
503: 5
504: 5
505: 5
506: 5
default: 11
}
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.isFramePeerEnabled:()Z
ifeq 12
6: aload 0
aload 1
checkcast java.awt.event.MouseEvent
invokevirtual sun.awt.X11.XMenuBarPeer.doHandleJavaMouseEvent:(Ljava/awt/event/MouseEvent;)V
7: goto 12
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.isFramePeerEnabled:()Z
ifeq 12
9: aload 0
aload 1
checkcast java.awt.event.KeyEvent
invokevirtual sun.awt.X11.XMenuBarPeer.doHandleJavaKeyEvent:(Ljava/awt/event/KeyEvent;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.awt.X11.XBaseMenuWindow.handleEvent:(Ljava/awt/AWTEvent;)V
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/X11/XMenuBarPeer;
0 13 1 event Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
event
void handleF10KeyPress(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.KeyEvent.getModifiers:()I
istore 2
start local 2 1: iload 2
bipush 8
iand
ifne 4
2: iload 2
iconst_1
iand
ifne 4
3: iload 2
iconst_2
iand
ifeq 5
4: StackMap locals: int
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.grabInput:()Z
pop
6: aload 0
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getFirstSelectableItem:()Lsun/awt/X11/XMenuItemPeer;
iconst_1
invokevirtual sun.awt.X11.XMenuBarPeer.selectItem:(Lsun/awt/X11/XMenuItemPeer;Z)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XMenuBarPeer;
0 8 1 event Ljava/awt/event/KeyEvent;
1 8 2 keyState I
MethodParameters:
Name Flags
event
public void handleKeyPress(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.X11.XEvent.get_xkey:()Lsun/awt/X11/XKeyEvent;
astore 2
start local 2 1: getstatic sun.awt.X11.XMenuBarPeer.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 3
2: getstatic sun.awt.X11.XMenuBarPeer.log:Lsun/util/logging/PlatformLogger;
aload 2
invokevirtual sun.awt.X11.XKeyEvent.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
3: StackMap locals: sun.awt.X11.XKeyEvent
StackMap stack:
aload 0
aload 1
invokevirtual sun.awt.X11.XMenuBarPeer.isEventDisabled:(Lsun/awt/X11/XEvent;)Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.getEventSource:()Ljava/awt/Component;
pop
6: aload 0
aload 2
invokevirtual sun.awt.X11.XMenuBarPeer.handleKeyPress:(Lsun/awt/X11/XKeyEvent;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XMenuBarPeer;
0 8 1 xev Lsun/awt/X11/XEvent;
1 8 2 xkey Lsun/awt/X11/XKeyEvent;
MethodParameters:
Name Flags
xev
protected sun.awt.X11.XBaseMenuWindow$MappingData ();
descriptor: ()Lsun/awt/X11/XBaseMenuWindow$MappingData;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.awt.X11.XMenuBarPeer.map:()Lsun/awt/X11/XMenuBarPeer$MappingData;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "XMenuBarPeer.java"
NestMembers:
sun.awt.X11.XMenuBarPeer$MappingData
InnerClasses:
public abstract MenuBarAccessor = sun.awt.AWTAccessor$MenuBarAccessor of sun.awt.AWTAccessor
MappingData = sun.awt.X11.XBaseMenuWindow$MappingData of sun.awt.X11.XBaseMenuWindow
MappingData = sun.awt.X11.XMenuBarPeer$MappingData of sun.awt.X11.XMenuBarPeer
TextMetrics = sun.awt.X11.XMenuItemPeer$TextMetrics of sun.awt.X11.XMenuItemPeer
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger