public class extends javax.swing.plaf.basic.BasicMenuBarUI implements com.apple.laf.ScreenMenuBarProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaMenuBarUI
super_class: javax.swing.plaf.basic.BasicMenuBarUI
{
com.apple.laf.ScreenMenuBar ;
descriptor: Lcom/apple/laf/ScreenMenuBar;
flags: (0x0000)
boolean ;
descriptor: Z
flags: (0x0000)
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/apple/laf/AquaMenuBarUI.lambda$0()Ljava/lang/Void; (6)
()Ljava/lang/Void;
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
2: return
LocalVariableTable:
Start End Slot Name Signature
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuBarUI.<init>:()V
1: aload 0
invokestatic com.apple.laf.AquaMenuBarUI.getScreenMenuBarProperty:()Z
putfield com.apple.laf.AquaMenuBarUI.useScreenMenuBar:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaMenuBarUI;
public void (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaMenuBarUI.fScreenMenuBar:Lcom/apple/laf/ScreenMenuBar;
ifnull 5
1: aload 1
invokevirtual javax.swing.JComponent.getTopLevelAncestor:()Ljava/awt/Container;
checkcast javax.swing.JFrame
astore 2
start local 2 2: aload 2
ifnull 4
aload 2
invokevirtual javax.swing.JFrame.getMenuBar:()Ljava/awt/MenuBar;
aload 0
getfield com.apple.laf.AquaMenuBarUI.fScreenMenuBar:Lcom/apple/laf/ScreenMenuBar;
if_acmpne 4
3: aload 2
aconst_null
invokevirtual javax.swing.JFrame.setMenuBar:(Ljava/awt/MenuBar;)V
4: StackMap locals: javax.swing.JFrame
StackMap stack:
aload 0
aconst_null
putfield com.apple.laf.AquaMenuBarUI.fScreenMenuBar:Lcom/apple/laf/ScreenMenuBar;
end local 2 5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicMenuBarUI.uninstallUI:(Ljavax/swing/JComponent;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/AquaMenuBarUI;
0 7 1 c Ljavax/swing/JComponent;
2 5 2 frame Ljavax/swing/JFrame;
MethodParameters:
Name Flags
c final
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.AquaMenuBarUI
dup
invokespecial com.apple.laf.AquaMenuBarUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.AquaMenuBarUI.useScreenMenuBar:Z
ifne 2
1: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuBarUI.installKeyboardActions:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaMenuBarUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.AquaMenuBarUI.useScreenMenuBar:Z
ifne 2
1: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuBarUI.uninstallKeyboardActions:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaMenuBarUI;
public void (java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 1
aload 2
invokevirtual javax.swing.JComponent.getWidth:()I
aload 2
invokevirtual javax.swing.JComponent.getHeight:()I
aload 2
invokevirtual com.apple.laf.AquaMenuPainter.paintMenuBarBackground:(Ljava/awt/Graphics;IILjavax/swing/JComponent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaMenuBarUI;
0 2 1 g Ljava/awt/Graphics;
0 2 2 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
g final
c final
public java.awt.Dimension (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast javax.swing.JMenuBar
invokestatic com.apple.laf.AquaMenuBarUI.isScreenMenuBar:(Ljavax/swing/JMenuBar;)Z
ifeq 3
1: aload 0
aload 1
invokevirtual javax.swing.JComponent.getTopLevelAncestor:()Ljava/awt/Container;
checkcast javax.swing.JFrame
invokevirtual com.apple.laf.AquaMenuBarUI.setScreenMenuBar:(Ljavax/swing/JFrame;)Z
ifeq 3
2: new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaMenuBarUI;
0 4 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
void (javax.swing.JFrame);
descriptor: (Ljavax/swing/JFrame;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaMenuBarUI.useScreenMenuBar:Z
ifeq 2
1: aload 1
aconst_null
invokevirtual javax.swing.JFrame.setMenuBar:(Ljava/awt/MenuBar;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaMenuBarUI;
0 3 1 frame Ljavax/swing/JFrame;
MethodParameters:
Name Flags
frame final
boolean (javax.swing.JFrame);
descriptor: (Ljavax/swing/JFrame;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaMenuBarUI.useScreenMenuBar:Z
ifeq 6
1: aload 0
invokevirtual com.apple.laf.AquaMenuBarUI.getScreenMenuBar:()Lcom/apple/laf/ScreenMenuBar;
pop
2: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
3: pop
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.apple.laf.AquaMenuBarUI.fScreenMenuBar:Lcom/apple/laf/ScreenMenuBar;
invokevirtual javax.swing.JFrame.setMenuBar:(Ljava/awt/MenuBar;)V
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/AquaMenuBarUI;
0 7 1 frame Ljavax/swing/JFrame;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
MethodParameters:
Name Flags
frame final
public com.apple.laf.ScreenMenuBar ();
descriptor: ()Lcom/apple/laf/ScreenMenuBar;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield com.apple.laf.AquaMenuBarUI.fScreenMenuBar:Lcom/apple/laf/ScreenMenuBar;
ifnonnull 2
aload 0
new com.apple.laf.ScreenMenuBar
dup
aload 0
getfield com.apple.laf.AquaMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
invokespecial com.apple.laf.ScreenMenuBar.<init>:(Ljavax/swing/JMenuBar;)V
putfield com.apple.laf.AquaMenuBarUI.fScreenMenuBar:Lcom/apple/laf/ScreenMenuBar;
2: StackMap locals: com.apple.laf.AquaMenuBarUI
StackMap stack:
aload 1
monitorexit
3: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaMenuBarUI.fScreenMenuBar:Lcom/apple/laf/ScreenMenuBar;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/AquaMenuBarUI;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public static final boolean (javax.swing.JMenuBar);
descriptor: (Ljavax/swing/JMenuBar;)Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JMenuBar.getUI:()Ljavax/swing/plaf/MenuBarUI;
astore 1
start local 1 1: aload 1
instanceof com.apple.laf.AquaMenuBarUI
ifeq 12
2: aload 1
checkcast com.apple.laf.AquaMenuBarUI
getfield com.apple.laf.AquaMenuBarUI.useScreenMenuBar:Z
ifne 3
iconst_0
ireturn
3: StackMap locals: javax.swing.plaf.ComponentUI
StackMap stack:
aload 0
invokevirtual javax.swing.JMenuBar.getTopLevelAncestor:()Ljava/awt/Container;
astore 2
start local 2 4: aload 2
instanceof javax.swing.JFrame
ifeq 12
5: aload 2
checkcast javax.swing.JFrame
invokevirtual javax.swing.JFrame.getMenuBar:()Ljava/awt/MenuBar;
astore 3
start local 3 6: aload 2
checkcast javax.swing.JFrame
invokevirtual javax.swing.JFrame.getJMenuBar:()Ljavax/swing/JMenuBar;
aload 0
if_acmpne 7
iconst_1
goto 8
StackMap locals: java.awt.Component java.awt.MenuBar
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 4
start local 4 9: aload 3
ifnonnull 10
iload 4
ireturn
10: StackMap locals: int
StackMap stack:
aload 3
instanceof com.apple.laf.ScreenMenuBar
ifeq 11
iload 4
ifeq 11
iconst_1
ireturn
StackMap locals:
StackMap stack:
11: iconst_0
ireturn
end local 4 end local 3 end local 2 12: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 c Ljavax/swing/JMenuBar;
1 13 1 ui Ljavax/swing/plaf/ComponentUI;
4 12 2 parent Ljava/awt/Component;
6 12 3 mb Ljava/awt/MenuBar;
9 12 4 thisIsTheJMenuBar Z
MethodParameters:
Name Flags
c final
public static boolean ();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic sun.lwawt.macosx.LWCToolkit.isEmbedded:()Z
ifeq 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
new sun.security.action.GetBooleanAction
dup
2: ldc "apple.laf.useScreenMenuBar"
3: invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Void ();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "osxui"
invokestatic java.lang.System.loadLibrary:(Ljava/lang/String;)V
1: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AquaMenuBarUI.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles