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$MenuItemBorder
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_2
iconst_2
iconst_2
iconst_2
invokespecial java.awt.Insets.<init>:(IIII)V
putstatic javax.swing.plaf.metal.MetalBorders$MenuItemBorder.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$MenuItemBorder;
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=9, 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 1
instanceof javax.swing.JMenuItem
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.JMenuItem
astore 7
start local 7 3: aload 7
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
astore 8
start local 8 4: aload 2
iload 3
iload 4
invokevirtual java.awt.Graphics.translate:(II)V
5: aload 1
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
instanceof javax.swing.JMenuBar
ifeq 16
6: aload 8
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifne 7
aload 8
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 24
7: StackMap locals: javax.swing.JMenuItem javax.swing.ButtonModel
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
8: aload 2
iconst_0
iconst_0
iload 5
iconst_2
isub
iconst_0
invokevirtual java.awt.Graphics.drawLine:(IIII)V
9: aload 2
iconst_0
iconst_0
iconst_0
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
10: aload 2
iload 5
iconst_2
isub
iconst_2
iload 5
iconst_2
isub
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
11: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getPrimaryControlHighlight:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
12: aload 2
iload 5
iconst_1
isub
iconst_1
iload 5
iconst_1
isub
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
13: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getMenuBackground:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
14: aload 2
iload 5
iconst_1
isub
iconst_0
iload 5
iconst_1
isub
iconst_0
invokevirtual java.awt.Graphics.drawLine:(IIII)V
15: goto 24
16: StackMap locals:
StackMap stack:
aload 8
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifne 17
aload 1
instanceof javax.swing.JMenu
ifeq 22
aload 8
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 22
17: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getPrimaryControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
18: aload 2
iconst_0
iconst_0
iload 5
iconst_1
isub
iconst_0
invokevirtual java.awt.Graphics.drawLine:(IIII)V
19: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getPrimaryControlHighlight:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
20: aload 2
iconst_0
iload 6
iconst_1
isub
iload 5
iconst_1
isub
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
21: goto 24
22: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getPrimaryControlHighlight:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
23: aload 2
iconst_0
iconst_0
iconst_0
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
24: StackMap locals:
StackMap stack:
aload 2
iload 3
ineg
iload 4
ineg
invokevirtual java.awt.Graphics.translate:(II)V
25: return
end local 8 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 26 0 this Ljavax/swing/plaf/metal/MetalBorders$MenuItemBorder;
0 26 1 c Ljava/awt/Component;
0 26 2 g Ljava/awt/Graphics;
0 26 3 x I
0 26 4 y I
0 26 5 w I
0 26 6 h I
3 26 7 b Ljavax/swing/JMenuItem;
4 26 8 model Ljavax/swing/ButtonModel;
MethodParameters:
Name Flags
c
g
x
y
w
h
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: aload 2
iconst_2
iconst_2
iconst_2
iconst_2
invokevirtual java.awt.Insets.set:(IIII)V
1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/metal/MetalBorders$MenuItemBorder;
0 2 1 c Ljava/awt/Component;
0 2 2 newInsets Ljava/awt/Insets;
MethodParameters:
Name Flags
c
newInsets
}
SourceFile: "MetalBorders.java"
NestHost: javax.swing.plaf.metal.MetalBorders
InnerClasses:
public MenuItemBorder = javax.swing.plaf.metal.MetalBorders$MenuItemBorder of javax.swing.plaf.metal.MetalBorders