public class extends javax.swing.plaf.basic.BasicMenuUI implements com.apple.laf.AquaMenuPainter$Client
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaMenuUI
super_class: javax.swing.plaf.basic.BasicMenuUI
{
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuUI.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaMenuUI;
public static javax.swing.plaf.ComponentUI (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new com.apple.laf.AquaMenuUI
dup
invokespecial com.apple.laf.AquaMenuUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x Ljavax/swing/JComponent;
MethodParameters:
Name Flags
x final
protected javax.swing.event.ChangeListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/ChangeListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new javax.swing.plaf.basic.BasicMenuUI$ChangeHandler
dup
aload 0
aload 1
checkcast javax.swing.JMenu
aload 0
invokespecial javax.swing.plaf.basic.BasicMenuUI$ChangeHandler.<init>:(Ljavax/swing/plaf/basic/BasicMenuUI;Ljavax/swing/JMenu;Ljavax/swing/plaf/basic/BasicMenuUI;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaMenuUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuUI.installDefaults:()V
1: aload 0
getfield com.apple.laf.AquaMenuUI.menuItem:Ljavax/swing/JMenuItem;
checkcast javax.swing.JMenu
sipush 133
invokevirtual javax.swing.JMenu.setDelay:(I)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaMenuUI;
protected void (java.awt.Graphics, javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, java.awt.Color, java.awt.Color, int);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Color;Ljava/awt/Color;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
aload 0
getfield com.apple.laf.AquaMenuUI.disabledForeground:Ljava/awt/Color;
aload 0
getfield com.apple.laf.AquaMenuUI.selectionForeground:Ljava/awt/Color;
iload 7
aload 0
getfield com.apple.laf.AquaMenuUI.acceleratorFont:Ljava/awt/Font;
invokevirtual com.apple.laf.AquaMenuPainter.paintMenuItem:(Lcom/apple/laf/AquaMenuPainter$Client;Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;ILjava/awt/Font;)V
1: return
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 2 0 this Lcom/apple/laf/AquaMenuUI;
0 2 1 g Ljava/awt/Graphics;
0 2 2 c Ljavax/swing/JComponent;
0 2 3 localCheckIcon Ljavax/swing/Icon;
0 2 4 localArrowIcon Ljavax/swing/Icon;
0 2 5 background Ljava/awt/Color;
0 2 6 foreground Ljava/awt/Color;
0 2 7 localDefaultTextIconGap I
MethodParameters:
Name Flags
g final
c final
localCheckIcon final
localArrowIcon final
background final
foreground final
localDefaultTextIconGap final
protected java.awt.Dimension (javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, int);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;I)Ljava/awt/Dimension;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 1
aload 2
aload 3
iload 4
aload 0
getfield com.apple.laf.AquaMenuUI.acceleratorFont:Ljava/awt/Font;
invokevirtual com.apple.laf.AquaMenuPainter.getPreferredMenuItemSize:(Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;ILjava/awt/Font;)Ljava/awt/Dimension;
astore 5
start local 5 1: aload 1
invokevirtual javax.swing.JComponent.getParent:()Ljava/awt/Container;
instanceof javax.swing.JMenuBar
ifeq 2
aload 5
aload 5
getfield java.awt.Dimension.height:I
bipush 21
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
2: StackMap locals: java.awt.Dimension
StackMap stack:
aload 5
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 3 0 this Lcom/apple/laf/AquaMenuUI;
0 3 1 c Ljavax/swing/JComponent;
0 3 2 localCheckIcon Ljavax/swing/Icon;
0 3 3 localArrowIcon Ljavax/swing/Icon;
0 3 4 localDefaultTextIconGap I
1 3 5 d Ljava/awt/Dimension;
MethodParameters:
Name Flags
c final
localCheckIcon final
localArrowIcon final
localDefaultTextIconGap final
public void (java.awt.Graphics, javax.swing.JComponent, int, int);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual javax.swing.JComponent.getParent:()Ljava/awt/Container;
astore 5
start local 5 1: aload 5
instanceof javax.swing.JMenuBar
istore 6
start local 6 2: aload 2
checkcast javax.swing.JMenuItem
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
astore 7
start local 7 3: aload 7
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifne 4
aload 7
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 9
4: StackMap locals: java.awt.Container int javax.swing.ButtonModel
StackMap stack:
iload 6
ifeq 7
5: invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 1
iload 3
iload 4
invokevirtual com.apple.laf.AquaMenuPainter.paintSelectedMenuTitleBackground:(Ljava/awt/Graphics;II)V
6: goto 14
7: StackMap locals:
StackMap stack:
invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 1
iload 3
iload 4
invokevirtual com.apple.laf.AquaMenuPainter.paintSelectedMenuItemBackground:(Ljava/awt/Graphics;II)V
8: goto 14
9: StackMap locals:
StackMap stack:
iload 6
ifeq 12
10: invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 1
iload 3
iload 4
aload 2
invokevirtual com.apple.laf.AquaMenuPainter.paintMenuBarBackground:(Ljava/awt/Graphics;IILjavax/swing/JComponent;)V
11: goto 14
12: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual javax.swing.JComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
13: aload 1
iconst_0
iconst_0
iload 3
iload 4
invokevirtual java.awt.Graphics.fillRect:(IIII)V
14: StackMap locals:
StackMap stack:
return
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 15 0 this Lcom/apple/laf/AquaMenuUI;
0 15 1 g Ljava/awt/Graphics;
0 15 2 c Ljavax/swing/JComponent;
0 15 3 menuWidth I
0 15 4 menuHeight I
1 15 5 parent Ljava/awt/Container;
2 15 6 parentIsMenuBar Z
3 15 7 model Ljavax/swing/ButtonModel;
MethodParameters:
Name Flags
g final
c final
menuWidth final
menuHeight final
protected javax.swing.event.MouseInputListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/MouseInputListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.apple.laf.AquaMenuUI$AquaMouseInputHandler
dup
aload 0
invokespecial com.apple.laf.AquaMenuUI$AquaMouseInputHandler.<init>:(Lcom/apple/laf/AquaMenuUI;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaMenuUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
protected javax.swing.event.MenuDragMouseListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/MenuDragMouseListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.apple.laf.AquaMenuUI$MenuDragMouseHandler
dup
aload 0
invokespecial com.apple.laf.AquaMenuUI$MenuDragMouseHandler.<init>:(Lcom/apple/laf/AquaMenuUI;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaMenuUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
static void (javax.swing.MenuElement[], javax.swing.MenuElement);
descriptor: ([Ljavax/swing/MenuElement;Ljavax/swing/MenuElement;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
arraylength
iconst_1
iadd
anewarray javax.swing.MenuElement
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
aload 0
arraylength
aload 1
aastore
3: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
aload 2
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 path [Ljavax/swing/MenuElement;
0 5 1 elem Ljavax/swing/MenuElement;
1 5 2 newPath [Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
path final
elem final
static javax.swing.JMenuItem (com.apple.laf.AquaMenuUI);
descriptor: (Lcom/apple/laf/AquaMenuUI;)Ljavax/swing/JMenuItem;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.apple.laf.AquaMenuUI.menuItem:Ljavax/swing/JMenuItem;
areturn
LocalVariableTable:
Start End Slot Name Signature
static void (com.apple.laf.AquaMenuUI, javax.swing.JMenu);
descriptor: (Lcom/apple/laf/AquaMenuUI;Ljavax/swing/JMenu;)V
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.apple.laf.AquaMenuUI.setupPostTimer:(Ljavax/swing/JMenu;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AquaMenuUI.java"
NestMembers:
com.apple.laf.AquaMenuUI$AquaMouseInputHandler com.apple.laf.AquaMenuUI$MenuDragMouseHandler
InnerClasses:
abstract Client = com.apple.laf.AquaMenuPainter$Client of com.apple.laf.AquaMenuPainter
protected AquaMouseInputHandler = com.apple.laf.AquaMenuUI$AquaMouseInputHandler of com.apple.laf.AquaMenuUI
MenuDragMouseHandler = com.apple.laf.AquaMenuUI$MenuDragMouseHandler of com.apple.laf.AquaMenuUI
public ChangeHandler = javax.swing.plaf.basic.BasicMenuUI$ChangeHandler of javax.swing.plaf.basic.BasicMenuUI