public class extends javax.swing.plaf.basic.BasicMenuBarUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.metal.MetalMenuBarUI
super_class: javax.swing.plaf.basic.BasicMenuBarUI
{
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.BasicMenuBarUI.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalMenuBarUI;
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=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Must pass in a non-null component"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new javax.swing.plaf.metal.MetalMenuBarUI
dup
invokespecial javax.swing.plaf.metal.MetalMenuBarUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x Ljavax/swing/JComponent;
MethodParameters:
Name Flags
x
public void (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicMenuBarUI.installUI:(Ljavax/swing/JComponent;)V
1: aload 1
invokestatic javax.swing.plaf.metal.MetalToolBarUI.register:(Ljavax/swing/JComponent;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/metal/MetalMenuBarUI;
0 3 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public void (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicMenuBarUI.uninstallUI:(Ljavax/swing/JComponent;)V
1: aload 1
invokestatic javax.swing.plaf.metal.MetalToolBarUI.unregister:(Ljavax/swing/JComponent;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/metal/MetalMenuBarUI;
0 3 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public void (java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual javax.swing.JComponent.isOpaque:()Z
istore 3
start local 3 1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "Graphics must be non-null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 3
ifeq 20
aload 2
invokevirtual javax.swing.JComponent.getBackground:()Ljava/awt/Color;
instanceof javax.swing.plaf.UIResource
ifeq 20
4: ldc "MenuBar.gradient"
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 20
5: aload 2
checkcast javax.swing.JMenuBar
invokestatic javax.swing.plaf.metal.MetalToolBarUI.doesMenuBarBorderToolBar:(Ljavax/swing/JMenuBar;)Z
ifeq 15
6: aload 2
ldc Ljavax/swing/JToolBar;
invokestatic javax.swing.plaf.metal.MetalToolBarUI.findRegisteredComponentOfType:(Ljavax/swing/JComponent;Ljava/lang/Class;)Ljava/lang/Object;
7: checkcast javax.swing.JToolBar
astore 4
start local 4 8: aload 4
invokevirtual javax.swing.JToolBar.isOpaque:()Z
ifeq 15
aload 4
invokevirtual javax.swing.JToolBar.getBackground:()Ljava/awt/Color;
instanceof javax.swing.plaf.UIResource
ifeq 15
9: aload 2
aload 1
ldc "MenuBar.gradient"
iconst_0
iconst_0
10: aload 2
invokevirtual javax.swing.JComponent.getWidth:()I
aload 2
invokevirtual javax.swing.JComponent.getHeight:()I
11: aload 4
invokevirtual javax.swing.JToolBar.getHeight:()I
iadd
iconst_1
12: invokestatic javax.swing.plaf.metal.MetalUtils.drawGradient:(Ljava/awt/Component;Ljava/awt/Graphics;Ljava/lang/String;IIIIZ)Z
pop
13: aload 0
aload 1
aload 2
invokevirtual javax.swing.plaf.metal.MetalMenuBarUI.paint:(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
14: return
end local 4 15: StackMap locals:
StackMap stack:
aload 2
aload 1
ldc "MenuBar.gradient"
iconst_0
iconst_0
16: aload 2
invokevirtual javax.swing.JComponent.getWidth:()I
aload 2
invokevirtual javax.swing.JComponent.getHeight:()I
iconst_1
17: invokestatic javax.swing.plaf.metal.MetalUtils.drawGradient:(Ljava/awt/Component;Ljava/awt/Graphics;Ljava/lang/String;IIIIZ)Z
pop
18: aload 0
aload 1
aload 2
invokevirtual javax.swing.plaf.metal.MetalMenuBarUI.paint:(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
19: goto 21
20: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial javax.swing.plaf.basic.BasicMenuBarUI.update:(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/plaf/metal/MetalMenuBarUI;
0 22 1 g Ljava/awt/Graphics;
0 22 2 c Ljavax/swing/JComponent;
1 22 3 isOpaque Z
8 15 4 tb Ljavax/swing/JToolBar;
MethodParameters:
Name Flags
g
c
}
SourceFile: "MetalMenuBarUI.java"