public class extends sun.awt.X11.XBaseMenuWindow
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11.XMenuWindow
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.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: 2
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
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: 15
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
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
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: 128
private static final int[] ;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int[] ;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc "sun.awt.X11.XMenuWindow"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.XMenuWindow.log:Lsun/util/logging/PlatformLogger;
1: bipush 7
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
bipush 25
iastore
dup
iconst_2
bipush 56
iastore
dup
iconst_3
bipush 124
iastore
dup
iconst_4
bipush 124
iastore
dup
iconst_5
bipush 85
iastore
dup
bipush 6
bipush 64
iastore
putstatic sun.awt.X11.XMenuWindow.CHECKMARK_X:[I
2: bipush 7
newarray 10
dup
iconst_0
bipush 59
iastore
dup
iconst_1
bipush 35
iastore
dup
iconst_2
bipush 67
iastore
dup
iconst_4
bipush 12
iastore
dup
iconst_5
bipush 66
iastore
dup
bipush 6
bipush 123
iastore
putstatic sun.awt.X11.XMenuWindow.CHECKMARK_Y:[I
return
LocalVariableTable:
Start End Slot Name Signature
void (sun.awt.X11.XMenuPeer);
descriptor: (Lsun/awt/X11/XMenuPeer;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.awt.X11.XBaseMenuWindow.<init>:()V
1: aload 1
ifnull 7
2: aload 0
aload 1
putfield sun.awt.X11.XMenuWindow.menuPeer:Lsun/awt/X11/XMenuPeer;
3: aload 0
aload 1
invokevirtual sun.awt.X11.XMenuPeer.getContainer:()Lsun/awt/X11/XBaseMenuWindow;
getfield sun.awt.X11.XBaseMenuWindow.target:Ljava/awt/Component;
putfield sun.awt.X11.XMenuWindow.target:Ljava/awt/Component;
4: aconst_null
astore 2
start local 2 5: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getMenuTargetItems:()Ljava/util/Vector;
astore 2
6: aload 0
aload 2
invokevirtual sun.awt.X11.XMenuWindow.reloadItems:(Ljava/util/Vector;)V
end local 2 7: StackMap locals: sun.awt.X11.XMenuWindow sun.awt.X11.XMenuPeer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XMenuWindow;
0 8 1 menuPeer Lsun/awt/X11/XMenuPeer;
5 7 2 targetItemVector Ljava/util/Vector;
MethodParameters:
Name Flags
menuPeer
void (sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0000)
Code:
stack=2, locals=2, 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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XMenuWindow;
0 2 1 params Lsun/awt/X11/XCreateWindowParams;
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: aload 0
getfield sun.awt.X11.XMenuWindow.menuPeer:Lsun/awt/X11/XMenuPeer;
ifnull 1
aload 0
getfield sun.awt.X11.XMenuWindow.menuPeer:Lsun/awt/X11/XMenuPeer;
invokevirtual sun.awt.X11.XMenuPeer.getContainer:()Lsun/awt/X11/XBaseMenuWindow;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: sun.awt.X11.XBaseMenuWindow
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XMenuWindow;
protected sun.awt.X11.XMenuWindow$MappingData ();
descriptor: ()Lsun/awt/X11/XMenuWindow$MappingData;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=23, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XMenuWindow.isCreated:()Z
ifne 3
1: new sun.awt.X11.XMenuWindow$MappingData
dup
iconst_0
anewarray sun.awt.X11.XMenuItemPeer
new java.awt.Rectangle
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Rectangle.<init>:(IIII)V
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
iconst_0
iconst_0
iconst_0
invokespecial sun.awt.X11.XMenuWindow$MappingData.<init>:([Lsun/awt/X11/XMenuItemPeer;Ljava/awt/Rectangle;Ljava/awt/Dimension;III)V
astore 2
start local 2 2: aload 2
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuWindow.copyItems:()[Lsun/awt/X11/XMenuItemPeer;
astore 2
start local 2 4: aload 2
arraylength
istore 1
start local 1 5: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getCaptionSize:()Ljava/awt/Dimension;
astore 3
start local 3 6: aload 3
ifnull 7
aload 3
getfield java.awt.Dimension.width:I
goto 8
StackMap locals: int sun.awt.X11.XMenuItemPeer[] java.awt.Dimension
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 4
start local 4 9: iconst_0
istore 5
start local 5 10: iconst_0
istore 6
start local 6 11: iconst_0
istore 7
start local 7 12: iload 1
anewarray sun.awt.X11.XMenuItemPeer$TextMetrics
astore 8
start local 8 13: iconst_0
istore 9
start local 9 14: goto 27
15: StackMap locals: sun.awt.X11.XMenuWindow int sun.awt.X11.XMenuItemPeer[] java.awt.Dimension int int int int sun.awt.X11.XMenuItemPeer$TextMetrics[] int
StackMap stack:
aload 2
iload 9
aaload
pop
16: aload 8
iload 9
aload 2
iload 9
aaload
invokevirtual sun.awt.X11.XMenuItemPeer.getTextMetrics:()Lsun/awt/X11/XMenuItemPeer$TextMetrics;
aastore
17: aload 8
iload 9
aaload
invokevirtual sun.awt.X11.XMenuItemPeer$TextMetrics.getTextDimension:()Ljava/awt/Dimension;
astore 10
start local 10 18: aload 10
ifnull 26
19: aload 2
iload 9
aaload
instanceof sun.awt.X11.XCheckboxMenuItemPeer
ifeq 22
20: iload 5
aload 10
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 5
21: goto 24
StackMap locals: java.awt.Dimension
StackMap stack:
22: aload 2
iload 9
aaload
instanceof sun.awt.X11.XMenuPeer
ifeq 24
23: iload 6
aload 10
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 6
24: StackMap locals:
StackMap stack:
iload 4
aload 10
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
istore 4
25: iload 7
aload 8
iload 9
aaload
invokevirtual sun.awt.X11.XMenuItemPeer$TextMetrics.getShortcutWidth:()I
invokestatic java.lang.Math.max:(II)I
istore 7
end local 10 26: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
27: iload 9
iload 1
if_icmplt 15
end local 9 28: iconst_2
istore 9
start local 9 29: iconst_4
iload 5
iadd
iload 4
iadd
istore 10
start local 10 30: iload 7
ifle 32
31: iinc 10 10
32: StackMap locals: int
StackMap stack:
iload 10
iload 7
iadd
istore 11
start local 11 33: iload 11
iload 6
iadd
iconst_2
iadd
istore 12
start local 12 34: iconst_2
iload 12
iadd
iconst_2
iadd
istore 13
start local 13 35: aconst_null
astore 14
start local 14 36: aload 3
ifnull 40
37: new java.awt.Rectangle
dup
iconst_2
iload 9
iload 12
aload 3
getfield java.awt.Dimension.height:I
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 14
38: iload 9
aload 3
getfield java.awt.Dimension.height:I
iadd
istore 9
39: goto 41
40: StackMap locals: sun.awt.X11.XMenuWindow int sun.awt.X11.XMenuItemPeer[] java.awt.Dimension int int int int sun.awt.X11.XMenuItemPeer$TextMetrics[] int int int int int java.awt.Rectangle
StackMap stack:
new java.awt.Rectangle
dup
iconst_2
iload 9
iload 4
iconst_0
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 14
41: StackMap locals:
StackMap stack:
iconst_0
istore 15
start local 15 42: goto 58
43: StackMap locals: int
StackMap stack:
aload 2
iload 15
aaload
astore 16
start local 16 44: aload 8
iload 15
aaload
astore 17
start local 17 45: aload 17
invokevirtual sun.awt.X11.XMenuItemPeer$TextMetrics.getTextDimension:()Ljava/awt/Dimension;
astore 18
start local 18 46: aload 18
ifnull 54
47: iconst_2
aload 18
getfield java.awt.Dimension.height:I
iadd
iconst_2
iadd
istore 19
start local 19 48: new java.awt.Rectangle
dup
iconst_2
iload 9
iload 12
iload 19
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 20
start local 20 49: iload 19
aload 18
getfield java.awt.Dimension.height:I
iadd
iconst_2
idiv
aload 17
invokevirtual sun.awt.X11.XMenuItemPeer$TextMetrics.getTextBaseline:()I
isub
istore 21
start local 21 50: new java.awt.Point
dup
iconst_4
iload 5
iadd
iload 9
iload 21
iadd
invokespecial java.awt.Point.<init>:(II)V
astore 22
start local 22 51: iload 9
iload 19
iadd
istore 9
52: aload 16
aload 20
aload 22
invokevirtual sun.awt.X11.XMenuItemPeer.map:(Ljava/awt/Rectangle;Ljava/awt/Point;)V
end local 22 end local 21 end local 20 end local 19 53: goto 57
54: StackMap locals: sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Dimension
StackMap stack:
new java.awt.Rectangle
dup
iconst_2
iload 9
iconst_0
iconst_0
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 19
start local 19 55: new java.awt.Point
dup
iconst_4
iload 5
iadd
iload 9
invokespecial java.awt.Point.<init>:(II)V
astore 20
start local 20 56: aload 16
aload 19
aload 20
invokevirtual sun.awt.X11.XMenuItemPeer.map:(Ljava/awt/Rectangle;Ljava/awt/Point;)V
end local 20 end local 19 end local 18 end local 17 end local 16 57: StackMap locals:
StackMap stack:
iinc 15 1
StackMap locals:
StackMap stack:
58: iload 15
iload 1
if_icmplt 43
end local 15 59: iload 9
iconst_2
iadd
istore 15
start local 15 60: new sun.awt.X11.XMenuWindow$MappingData
dup
aload 2
aload 14
new java.awt.Dimension
dup
iload 13
iload 15
invokespecial java.awt.Dimension.<init>:(II)V
iload 5
iload 10
iload 11
invokespecial sun.awt.X11.XMenuWindow$MappingData.<init>:([Lsun/awt/X11/XMenuItemPeer;Ljava/awt/Rectangle;Ljava/awt/Dimension;III)V
astore 16
start local 16 61: aload 16
areturn
end local 16 end local 15 end local 14 end local 13 end local 12 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 62 0 this Lsun/awt/X11/XMenuWindow;
5 62 1 itemCnt I
2 3 2 mappingData Lsun/awt/X11/XMenuWindow$MappingData;
4 62 2 itemVector [Lsun/awt/X11/XMenuItemPeer;
6 62 3 captionSize Ljava/awt/Dimension;
9 62 4 maxWidth I
10 62 5 maxLeftIndent I
11 62 6 maxRightIndent I
12 62 7 maxShortcutWidth I
13 62 8 itemMetrics [Lsun/awt/X11/XMenuItemPeer$TextMetrics;
14 28 9 i I
18 26 10 dim Ljava/awt/Dimension;
29 62 9 nextOffset I
30 62 10 shortcutOrigin I
33 62 11 rightMarkOrigin I
34 62 12 itemWidth I
35 62 13 width I
36 62 14 captionRect Ljava/awt/Rectangle;
42 59 15 i I
44 57 16 item Lsun/awt/X11/XMenuItemPeer;
45 57 17 metrics Lsun/awt/X11/XMenuItemPeer$TextMetrics;
46 57 18 dim Ljava/awt/Dimension;
48 53 19 itemHeight I
49 53 20 bounds Ljava/awt/Rectangle;
50 53 21 y I
51 53 22 textOrigin Ljava/awt/Point;
55 57 19 bounds Ljava/awt/Rectangle;
56 57 20 textOrigin Ljava/awt/Point;
60 62 15 height I
61 62 16 mappingData Lsun/awt/X11/XMenuWindow$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.XMenuWindow.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.XMenuWindow.fitWindowRight:(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.XMenuWindow.fitWindowBelow:(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.XMenuWindow.fitWindowAbove:(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.XMenuWindow.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.XMenuWindow.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/XMenuWindow;
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=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XMenuWindow.resetMapping:()V
1: aload 0
invokevirtual sun.awt.X11.XMenuWindow.isShowing:()Z
ifeq 3
2: aload 0
getfield sun.awt.X11.XMenuWindow.target:Ljava/awt/Component;
new sun.awt.X11.XMenuWindow$1
dup
aload 0
invokespecial sun.awt.X11.XMenuWindow$1.<init>:(Lsun/awt/X11/XMenuWindow;)V
invokestatic sun.awt.X11.XToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XMenuWindow;
protected java.awt.Dimension ();
descriptor: ()Ljava/awt/Dimension;
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/XMenuWindow;
protected void (java.awt.Graphics, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XMenuWindow;
0 1 1 g Ljava/awt/Graphics;
0 1 2 rect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
g
rect
sun.awt.X11.XMenuPeer ();
descriptor: ()Lsun/awt/X11/XMenuPeer;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XMenuWindow.menuPeer:Lsun/awt/X11/XMenuPeer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XMenuWindow;
java.util.Vector ();
descriptor: ()Ljava/util/Vector;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XMenuWindow.menuPeer:Lsun/awt/X11/XMenuPeer;
invokevirtual sun.awt.X11.XMenuPeer.getTargetItems:()Ljava/util/Vector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XMenuWindow;
java.awt.Dimension ();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getMappingData:()Lsun/awt/X11/XBaseMenuWindow$MappingData;
checkcast sun.awt.X11.XMenuWindow$MappingData
astore 1
start local 1 1: aload 1
invokevirtual sun.awt.X11.XMenuWindow$MappingData.getDesiredSize:()Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XMenuWindow;
1 2 1 mappingData Lsun/awt/X11/XMenuWindow$MappingData;
boolean ();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getWindow:()J
lconst_0
lcmp
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XMenuWindow;
boolean ();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XMenuWindow.isCreated:()Z
ifne 6
1: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getDelayedParams:()Lsun/awt/X11/XCreateWindowParams;
astore 1
start local 1 2: aload 1
ldc "delayed"
invokevirtual sun.awt.X11.XCreateWindowParams.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
ldc "overrideRedirect"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;Ljava/lang/Object;)Lsun/awt/X11/XCreateWindowParams;
pop
4: aload 1
ldc "target"
aload 0
getfield sun.awt.X11.XMenuWindow.target:Ljava/awt/Component;
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;Ljava/lang/Object;)Lsun/awt/X11/XCreateWindowParams;
pop
5: aload 0
aload 1
invokevirtual sun.awt.X11.XMenuWindow.init:(Lsun/awt/X11/XCreateWindowParams;)V
end local 1 6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XMenuWindow;
2 6 1 params Lsun/awt/X11/XCreateWindowParams;
void (java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XMenuWindow.isCreated:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XMenuWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 4
3: getstatic sun.awt.X11.XMenuWindow.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "showing menu window + "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.awt.X11.XMenuWindow.getWindow:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " at "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtLock:()V
5: aload 0
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.width:I
aload 1
getfield java.awt.Rectangle.height:I
invokevirtual sun.awt.X11.XMenuWindow.reshape:(IIII)V
6: aload 0
iconst_1
invokevirtual sun.awt.X11.XMenuWindow.xSetVisible:(Z)V
7: aload 0
invokevirtual sun.awt.X11.XMenuWindow.toFront:()V
8: aload 0
aload 0
invokevirtual sun.awt.X11.XMenuWindow.getFirstSelectableItem:()Lsun/awt/X11/XMenuItemPeer;
iconst_0
invokevirtual sun.awt.X11.XMenuWindow.selectItem:(Lsun/awt/X11/XMenuItemPeer;Z)V
9: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
11: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
12: aload 2
athrow
13: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11/XMenuWindow;
0 15 1 bounds Ljava/awt/Rectangle;
Exception table:
from to target type
5 10 10 any
MethodParameters:
Name Flags
bounds
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.XMenuWindow.selectItem:(Lsun/awt/X11/XMenuItemPeer;Z)V
1: aload 0
iconst_0
invokevirtual sun.awt.X11.XMenuWindow.xSetVisible:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XMenuWindow;
public void (java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=22, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XMenuWindow.resetColors:()V
1: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getWidth:()I
istore 2
start local 2 2: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getHeight:()I
istore 3
start local 3 3: aload 0
invokevirtual sun.awt.X11.XMenuWindow.flush:()V
4: aload 1
aload 0
invokevirtual sun.awt.X11.XMenuWindow.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.XMenuWindow.draw3DRect:(Ljava/awt/Graphics;IIIIZ)V
7: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getMappingData:()Lsun/awt/X11/XBaseMenuWindow$MappingData;
checkcast sun.awt.X11.XMenuWindow$MappingData
astore 4
start local 4 8: aload 0
aload 1
aload 4
invokevirtual sun.awt.X11.XMenuWindow$MappingData.getCaptionRect:()Ljava/awt/Rectangle;
invokevirtual sun.awt.X11.XMenuWindow.paintCaption:(Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
9: aload 4
invokevirtual sun.awt.X11.XMenuWindow$MappingData.getItems:()[Lsun/awt/X11/XMenuItemPeer;
astore 5
start local 5 10: aload 4
invokevirtual sun.awt.X11.XMenuWindow$MappingData.getDesiredSize:()Ljava/awt/Dimension;
pop
11: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getSelectedItem:()Lsun/awt/X11/XMenuItemPeer;
astore 6
start local 6 12: iconst_0
istore 7
start local 7 13: goto 76
14: StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int
StackMap stack:
aload 5
iload 7
aaload
astore 8
start local 8 15: aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getTextMetrics:()Lsun/awt/X11/XMenuItemPeer$TextMetrics;
astore 9
start local 9 16: aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getBounds:()Ljava/awt/Rectangle;
astore 10
start local 10 17: aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.isSeparator:()Z
ifeq 20
18: aload 0
aload 1
aload 10
getfield java.awt.Rectangle.x:I
aload 10
getfield java.awt.Rectangle.y:I
aload 10
getfield java.awt.Rectangle.height:I
iconst_2
idiv
iadd
aload 10
getfield java.awt.Rectangle.width:I
iconst_2
iconst_0
invokevirtual sun.awt.X11.XMenuWindow.draw3DRect:(Ljava/awt/Graphics;IIIIZ)V
19: goto 75
20: StackMap locals: sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Rectangle
StackMap stack:
aload 1
aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getTargetFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
21: aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getTextOrigin:()Ljava/awt/Point;
astore 11
start local 11 22: aload 9
invokevirtual sun.awt.X11.XMenuItemPeer$TextMetrics.getTextDimension:()Ljava/awt/Dimension;
astore 12
start local 12 23: aload 8
aload 6
if_acmpne 27
24: aload 1
aload 0
invokevirtual sun.awt.X11.XMenuWindow.getSelectedColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
25: aload 1
aload 10
getfield java.awt.Rectangle.x:I
aload 10
getfield java.awt.Rectangle.y:I
aload 10
getfield java.awt.Rectangle.width:I
aload 10
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
26: aload 0
aload 1
aload 10
getfield java.awt.Rectangle.x:I
aload 10
getfield java.awt.Rectangle.y:I
aload 10
getfield java.awt.Rectangle.width:I
aload 10
getfield java.awt.Rectangle.height:I
iconst_0
invokevirtual sun.awt.X11.XMenuWindow.draw3DRect:(Ljava/awt/Graphics;IIIIZ)V
27: StackMap locals: java.awt.Point java.awt.Dimension
StackMap stack:
aload 1
aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.isTargetItemEnabled:()Z
ifeq 28
aload 0
invokevirtual sun.awt.X11.XMenuWindow.getForegroundColor:()Ljava/awt/Color;
goto 29
StackMap locals:
StackMap stack: java.awt.Graphics
28: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getDisabledColor:()Ljava/awt/Color;
StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Rectangle java.awt.Point java.awt.Dimension
StackMap stack: java.awt.Graphics java.awt.Color
29: invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
30: aload 1
aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getTargetLabel:()Ljava/lang/String;
aload 11
getfield java.awt.Point.x:I
aload 11
getfield java.awt.Point.y:I
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
31: aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.getShortcutText:()Ljava/lang/String;
astore 13
start local 13 32: aload 13
ifnull 34
33: aload 1
aload 13
aload 4
invokevirtual sun.awt.X11.XMenuWindow$MappingData.getShortcutOrigin:()I
aload 11
getfield java.awt.Point.y:I
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
34: StackMap locals: java.lang.String
StackMap stack:
aload 8
instanceof sun.awt.X11.XMenuPeer
ifeq 49
35: aload 12
getfield java.awt.Dimension.height:I
iconst_4
imul
iconst_5
idiv
istore 14
start local 14 36: aload 12
getfield java.awt.Dimension.height:I
iconst_4
imul
iconst_5
idiv
istore 15
start local 15 37: aload 10
getfield java.awt.Rectangle.x:I
aload 10
getfield java.awt.Rectangle.width:I
iadd
iload 14
isub
iconst_2
isub
iconst_2
isub
istore 16
start local 16 38: aload 10
getfield java.awt.Rectangle.y:I
aload 10
getfield java.awt.Rectangle.height:I
iload 15
isub
iconst_2
idiv
iadd
istore 17
start local 17 39: aload 1
aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.isTargetItemEnabled:()Z
ifeq 40
aload 0
invokevirtual sun.awt.X11.XMenuWindow.getDarkShadowColor:()Ljava/awt/Color;
goto 41
StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Rectangle java.awt.Point java.awt.Dimension java.lang.String int int int int
StackMap stack: java.awt.Graphics
40: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getDisabledColor:()Ljava/awt/Color;
StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Rectangle java.awt.Point java.awt.Dimension java.lang.String int int int int
StackMap stack: java.awt.Graphics java.awt.Color
41: invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
42: aload 1
iload 16
iload 17
iload 15
iadd
iload 16
iload 14
iadd
iload 17
iload 15
iconst_2
idiv
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
43: aload 1
aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.isTargetItemEnabled:()Z
ifeq 44
aload 0
invokevirtual sun.awt.X11.XMenuWindow.getLightShadowColor:()Ljava/awt/Color;
goto 45
StackMap locals:
StackMap stack: java.awt.Graphics
44: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getDisabledColor:()Ljava/awt/Color;
StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Rectangle java.awt.Point java.awt.Dimension java.lang.String int int int int
StackMap stack: java.awt.Graphics java.awt.Color
45: invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
46: aload 1
iload 16
iload 17
iload 16
iload 14
iadd
iload 17
iload 15
iconst_2
idiv
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
47: aload 1
iload 16
iload 17
iload 16
iload 17
iload 15
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
end local 17 end local 16 end local 15 end local 14 48: goto 75
StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Rectangle java.awt.Point java.awt.Dimension java.lang.String
StackMap stack:
49: aload 8
instanceof sun.awt.X11.XCheckboxMenuItemPeer
ifeq 75
50: aload 12
getfield java.awt.Dimension.height:I
iconst_4
imul
iconst_5
idiv
istore 14
start local 14 51: aload 12
getfield java.awt.Dimension.height:I
iconst_4
imul
iconst_5
idiv
istore 15
start local 15 52: iconst_4
istore 16
start local 16 53: aload 10
getfield java.awt.Rectangle.y:I
aload 10
getfield java.awt.Rectangle.height:I
iload 15
isub
iconst_2
idiv
iadd
istore 17
start local 17 54: aload 8
checkcast sun.awt.X11.XCheckboxMenuItemPeer
invokevirtual sun.awt.X11.XCheckboxMenuItemPeer.getTargetState:()Z
istore 18
start local 18 55: iload 18
ifeq 72
56: aload 1
aload 0
invokevirtual sun.awt.X11.XMenuWindow.getSelectedColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
57: aload 1
iload 16
iload 17
iload 14
iload 15
invokevirtual java.awt.Graphics.fillRect:(IIII)V
58: aload 0
aload 1
iload 16
iload 17
iload 14
iload 15
iconst_0
invokevirtual sun.awt.X11.XMenuWindow.draw3DRect:(Ljava/awt/Graphics;IIIIZ)V
59: getstatic sun.awt.X11.XMenuWindow.CHECKMARK_X:[I
arraylength
newarray 10
astore 19
start local 19 60: getstatic sun.awt.X11.XMenuWindow.CHECKMARK_X:[I
arraylength
newarray 10
astore 20
start local 20 61: iconst_0
istore 21
start local 21 62: goto 66
63: StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Rectangle java.awt.Point java.awt.Dimension java.lang.String int int int int int int[] int[] int
StackMap stack:
aload 19
iload 21
iload 16
getstatic sun.awt.X11.XMenuWindow.CHECKMARK_X:[I
iload 21
iaload
iload 14
imul
sipush 128
idiv
iadd
iastore
64: aload 20
iload 21
iload 17
getstatic sun.awt.X11.XMenuWindow.CHECKMARK_Y:[I
iload 21
iaload
iload 15
imul
sipush 128
idiv
iadd
iastore
65: iinc 21 1
StackMap locals:
StackMap stack:
66: iload 21
getstatic sun.awt.X11.XMenuWindow.CHECKMARK_X:[I
arraylength
if_icmplt 63
end local 21 67: aload 1
aload 8
invokevirtual sun.awt.X11.XMenuItemPeer.isTargetItemEnabled:()Z
ifeq 68
aload 0
invokevirtual sun.awt.X11.XMenuWindow.getForegroundColor:()Ljava/awt/Color;
goto 69
StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Rectangle java.awt.Point java.awt.Dimension java.lang.String int int int int int int[] int[]
StackMap stack: java.awt.Graphics
68: aload 0
invokevirtual sun.awt.X11.XMenuWindow.getDisabledColor:()Ljava/awt/Color;
StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int sun.awt.X11.XMenuItemPeer sun.awt.X11.XMenuItemPeer$TextMetrics java.awt.Rectangle java.awt.Point java.awt.Dimension java.lang.String int int int int int int[] int[]
StackMap stack: java.awt.Graphics java.awt.Color
69: invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
70: aload 1
aload 19
aload 20
getstatic sun.awt.X11.XMenuWindow.CHECKMARK_X:[I
arraylength
invokevirtual java.awt.Graphics.fillPolygon:([I[II)V
end local 20 end local 19 71: goto 75
72: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual sun.awt.X11.XMenuWindow.getBackgroundColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
73: aload 1
iload 16
iload 17
iload 14
iload 15
invokevirtual java.awt.Graphics.fillRect:(IIII)V
74: aload 0
aload 1
iload 16
iload 17
iload 14
iload 15
iconst_1
invokevirtual sun.awt.X11.XMenuWindow.draw3DRect:(Ljava/awt/Graphics;IIIIZ)V
end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 75: StackMap locals: sun.awt.X11.XMenuWindow java.awt.Graphics int int sun.awt.X11.XMenuWindow$MappingData sun.awt.X11.XMenuItemPeer[] sun.awt.X11.XMenuItemPeer int
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
76: iload 7
aload 5
arraylength
if_icmplt 14
end local 7 77: aload 0
invokevirtual sun.awt.X11.XMenuWindow.flush:()V
78: 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 79 0 this Lsun/awt/X11/XMenuWindow;
0 79 1 g Ljava/awt/Graphics;
2 79 2 width I
3 79 3 height I
8 79 4 mappingData Lsun/awt/X11/XMenuWindow$MappingData;
10 79 5 itemVector [Lsun/awt/X11/XMenuItemPeer;
12 79 6 selectedItem Lsun/awt/X11/XMenuItemPeer;
13 77 7 i I
15 75 8 item Lsun/awt/X11/XMenuItemPeer;
16 75 9 metrics Lsun/awt/X11/XMenuItemPeer$TextMetrics;
17 75 10 bounds Ljava/awt/Rectangle;
22 75 11 textOrigin Ljava/awt/Point;
23 75 12 textDim Ljava/awt/Dimension;
32 75 13 shortcutText Ljava/lang/String;
36 48 14 markWidth I
37 48 15 markHeight I
38 48 16 markX I
39 48 17 markY I
51 75 14 markWidth I
52 75 15 markHeight I
53 75 16 markX I
54 75 17 markY I
55 75 18 checkState Z
60 71 19 px [I
61 71 20 py [I
62 67 21 j I
MethodParameters:
Name Flags
g
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.XMenuWindow.map:()Lsun/awt/X11/XMenuWindow$MappingData;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "XMenuWindow.java"
NestMembers:
sun.awt.X11.XMenuWindow$1 sun.awt.X11.XMenuWindow$MappingData
InnerClasses:
MappingData = sun.awt.X11.XBaseMenuWindow$MappingData of sun.awt.X11.XBaseMenuWindow
TextMetrics = sun.awt.X11.XMenuItemPeer$TextMetrics of sun.awt.X11.XMenuItemPeer
sun.awt.X11.XMenuWindow$1
MappingData = sun.awt.X11.XMenuWindow$MappingData of sun.awt.X11.XMenuWindow
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger