public class extends javax.swing.border.AbstractBorder implements javax.swing.plaf.UIResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.metal.MetalBorders$MenuBarBorder
super_class: javax.swing.border.AbstractBorder
{
protected static java.awt.Insets ;
descriptor: Ljava/awt/Insets;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.awt.Insets
dup
iconst_1
iconst_0
iconst_1
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
putstatic javax.swing.plaf.metal.MetalBorders$MenuBarBorder.borderInsets:Ljava/awt/Insets;
return
LocalVariableTable:
Start End Slot Name Signature
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.border.AbstractBorder.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalBorders$MenuBarBorder;
public void (java.awt.Component, java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 2
iload 3
iload 4
invokevirtual java.awt.Graphics.translate:(II)V
1: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 8
2: aload 1
checkcast javax.swing.JMenuBar
invokestatic javax.swing.plaf.metal.MetalToolBarUI.doesMenuBarBorderToolBar:(Ljavax/swing/JMenuBar;)Z
ifne 10
3: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControl:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
4: aload 2
iconst_0
iload 6
iconst_2
isub
iload 5
iload 6
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
5: aload 2
ldc "MenuBar.borderColor"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
6: aload 2
iconst_0
iload 6
iconst_1
isub
iload 5
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
7: goto 10
8: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
9: aload 2
iconst_0
iload 6
iconst_1
isub
iload 5
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
10: StackMap locals:
StackMap stack:
aload 2
iload 3
ineg
iload 4
ineg
invokevirtual java.awt.Graphics.translate:(II)V
11: 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 12 0 this Ljavax/swing/plaf/metal/MetalBorders$MenuBarBorder;
0 12 1 c Ljava/awt/Component;
0 12 2 g Ljava/awt/Graphics;
0 12 3 x I
0 12 4 y I
0 12 5 w I
0 12 6 h I
MethodParameters:
Name Flags
c
g
x
y
w
h
public java.awt.Insets (java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
invokevirtual javax.swing.plaf.metal.MetalBorders$MenuBarBorder.getBorderInsets:(Ljava/awt/Component;Ljava/awt/Insets;)Ljava/awt/Insets;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalBorders$MenuBarBorder;
0 1 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
public java.awt.Insets (java.awt.Component, java.awt.Insets);
descriptor: (Ljava/awt/Component;Ljava/awt/Insets;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 3
1: aload 2
iconst_0
iconst_0
iconst_2
iconst_0
invokevirtual java.awt.Insets.set:(IIII)V
2: goto 7
3: StackMap locals:
StackMap stack:
aload 2
iconst_1
putfield java.awt.Insets.top:I
4: aload 2
iconst_0
putfield java.awt.Insets.left:I
5: aload 2
iconst_1
putfield java.awt.Insets.bottom:I
6: aload 2
iconst_0
putfield java.awt.Insets.right:I
7: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/metal/MetalBorders$MenuBarBorder;
0 8 1 c Ljava/awt/Component;
0 8 2 newInsets Ljava/awt/Insets;
MethodParameters:
Name Flags
c
newInsets
}
SourceFile: "MetalBorders.java"
NestHost: javax.swing.plaf.metal.MetalBorders
InnerClasses:
public MenuBarBorder = javax.swing.plaf.metal.MetalBorders$MenuBarBorder of javax.swing.plaf.metal.MetalBorders