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)
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
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 2
2: StackMap locals:
StackMap stack:
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
private static java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.security.action.GetPropertyAction
dup
aload 0
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 propName Ljava/lang/String;
MethodParameters:
Name Flags
propName final
static boolean ();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc ""
aastore
astore 0
start local 0 1: iconst_0
istore 1
start local 1 2: aload 0
iconst_0
ldc "apple.laf.useScreenMenuBar"
invokestatic com.apple.laf.AquaMenuBarUI.getPrivSysProp:(Ljava/lang/String;)Ljava/lang/String;
aastore
3: aload 0
iconst_0
aaload
ifnull 4
aload 0
iconst_0
aaload
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
istore 1
goto 10
4: StackMap locals: java.lang.String[] int
StackMap stack:
aload 0
iconst_0
ldc "com.apple.macos.useScreenMenuBar"
invokestatic com.apple.laf.AquaMenuBarUI.getPrivSysProp:(Ljava/lang/String;)Ljava/lang/String;
aastore
5: aload 0
iconst_0
aaload
ifnull 10
aload 0
iconst_0
aaload
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
6: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "com.apple.macos.useScreenMenuBar has been deprecated. Please switch to apple.laf.useScreenMenuBar"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: iconst_1
istore 1
8: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
9: pop
10: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 11 0 props [Ljava/lang/String;
2 11 1 useScreenMenuBar Z
Exception table:
from to target type
2 8 9 Class java.lang.Throwable
}
SourceFile: "AquaMenuBarUI.java"