public class extends javax.swing.plaf.MenuItemUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicMenuItemUI
super_class: javax.swing.plaf.MenuItemUI
{
protected javax.swing.JMenuItem ;
descriptor: Ljavax/swing/JMenuItem;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color ;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color ;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color ;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color ;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color ;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected int ;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.awt.Font ;
descriptor: Ljava/awt/Font;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.event.MouseInputListener ;
descriptor: Ljavax/swing/event/MouseInputListener;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.event.MenuDragMouseListener ;
descriptor: Ljavax/swing/event/MenuDragMouseListener;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.event.MenuKeyListener ;
descriptor: Ljavax/swing/event/MenuKeyListener;
flags: (0x0004) ACC_PROTECTED
protected java.beans.PropertyChangeListener ;
descriptor: Ljava/beans/PropertyChangeListener;
flags: (0x0004) ACC_PROTECTED
javax.swing.plaf.basic.BasicMenuItemUI$Handler handler;
descriptor: Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
flags: (0x0000)
protected javax.swing.Icon ;
descriptor: Ljavax/swing/Icon;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.Icon ;
descriptor: Ljavax/swing/Icon;
flags: (0x0004) ACC_PROTECTED
protected boolean ;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
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.MenuItemUI.<init>:()V
1: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
2: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon:Ljavax/swing/Icon;
3: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
static void (javax.swing.plaf.basic.LazyActionMap);
descriptor: (Ljavax/swing/plaf/basic/LazyActionMap;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new javax.swing.plaf.basic.BasicMenuItemUI$Actions
dup
ldc "doClick"
invokespecial javax.swing.plaf.basic.BasicMenuItemUI$Actions.<init>:(Ljava/lang/String;)V
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljavax/swing/Action;)V
1: aload 0
invokestatic javax.swing.plaf.basic.BasicLookAndFeel.installAudioActionMap:(Ljavax/swing/ActionMap;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 map Ljavax/swing/plaf/basic/LazyActionMap;
MethodParameters:
Name Flags
map
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 javax.swing.plaf.basic.BasicMenuItemUI
dup
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 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
checkcast javax.swing.JMenuItem
putfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.installDefaults:()V
2: aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.installComponents:(Ljavax/swing/JMenuItem;)V
3: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.installListeners:()V
4: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.installKeyboardActions:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 6 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
ldc "MenuItem.acceleratorFont"
invokestatic javax.swing.UIManager.getFont:(Ljava/lang/Object;)Ljava/awt/Font;
putfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorFont:Ljava/awt/Font;
2: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorFont:Ljava/awt/Font;
ifnonnull 4
3: aload 0
ldc "MenuItem.font"
invokestatic javax.swing.UIManager.getFont:(Ljava/lang/Object;)Ljava/awt/Font;
putfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorFont:Ljava/awt/Font;
4: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".opaque"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 5: aload 2
ifnull 8
6: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
ldc "opaque"
aload 2
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
7: goto 9
8: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
ldc "opaque"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getMargin:()Ljava/awt/Insets;
ifnull 11
10: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getMargin:()Ljava/awt/Insets;
instanceof javax.swing.plaf.UIResource
ifeq 12
11: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".margin"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getInsets:(Ljava/lang/Object;)Ljava/awt/Insets;
invokevirtual javax.swing.JMenuItem.setMargin:(Ljava/awt/Insets;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
ldc "iconTextGap"
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
13: aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getIconTextGap:()I
putfield javax.swing.plaf.basic.BasicMenuItemUI.defaultTextIconGap:I
14: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".border"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.LookAndFeel.installBorder:(Ljavax/swing/JComponent;Ljava/lang/String;)V
15: aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.isBorderPainted:()Z
putfield javax.swing.plaf.basic.BasicMenuItemUI.oldBorderPainted:Z
16: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
ldc "borderPainted"
17: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".borderPainted"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
18: invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
19: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
20: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".background"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".foreground"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".font"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokestatic javax.swing.LookAndFeel.installColorsAndFont:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
24: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.selectionBackground:Ljava/awt/Color;
ifnull 26
25: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.selectionBackground:Ljava/awt/Color;
instanceof javax.swing.plaf.UIResource
ifeq 29
26: StackMap locals:
StackMap stack:
aload 0
27: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".selectionBackground"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
28: putfield javax.swing.plaf.basic.BasicMenuItemUI.selectionBackground:Ljava/awt/Color;
29: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.selectionForeground:Ljava/awt/Color;
ifnull 31
30: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.selectionForeground:Ljava/awt/Color;
instanceof javax.swing.plaf.UIResource
ifeq 34
31: StackMap locals:
StackMap stack:
aload 0
32: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".selectionForeground"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
33: putfield javax.swing.plaf.basic.BasicMenuItemUI.selectionForeground:Ljava/awt/Color;
34: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.disabledForeground:Ljava/awt/Color;
ifnull 36
35: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.disabledForeground:Ljava/awt/Color;
instanceof javax.swing.plaf.UIResource
ifeq 39
36: StackMap locals:
StackMap stack:
aload 0
37: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".disabledForeground"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
38: putfield javax.swing.plaf.basic.BasicMenuItemUI.disabledForeground:Ljava/awt/Color;
39: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorForeground:Ljava/awt/Color;
ifnull 41
40: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorForeground:Ljava/awt/Color;
instanceof javax.swing.plaf.UIResource
ifeq 44
41: StackMap locals:
StackMap stack:
aload 0
42: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".acceleratorForeground"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
43: putfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorForeground:Ljava/awt/Color;
44: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorSelectionForeground:Ljava/awt/Color;
ifnull 46
45: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorSelectionForeground:Ljava/awt/Color;
instanceof javax.swing.plaf.UIResource
ifeq 49
46: StackMap locals:
StackMap stack:
aload 0
47: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".acceleratorSelectionForeground"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
48: putfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorSelectionForeground:Ljava/awt/Color;
49: StackMap locals:
StackMap stack:
aload 0
50: ldc "MenuItem.acceleratorDelimiter"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
51: putfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorDelimiter:Ljava/lang/String;
52: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorDelimiter:Ljava/lang/String;
ifnonnull 53
aload 0
ldc "+"
putfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorDelimiter:Ljava/lang/String;
53: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon:Ljavax/swing/Icon;
ifnull 55
54: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon:Ljavax/swing/Icon;
instanceof javax.swing.plaf.UIResource
ifeq 56
55: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".arrowIcon"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getIcon:(Ljava/lang/Object;)Ljavax/swing/Icon;
putfield javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon:Ljavax/swing/Icon;
56: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
ifnull 58
57: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
instanceof javax.swing.plaf.UIResource
ifeq 70
58: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".checkIcon"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getIcon:(Ljava/lang/Object;)Ljavax/swing/Icon;
putfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
59: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.isLeftToRight:(Ljava/awt/Component;)Z
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
60: invokestatic sun.swing.MenuItemLayoutHelper.isColumnLayout:(ZLjavax/swing/JMenuItem;)Z
istore 3
start local 3 61: iload 3
ifeq 70
62: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
63: ldc ".checkIconFactory"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
64: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.swing.MenuItemCheckIconFactory
65: astore 4
start local 4 66: aload 4
ifnull 70
67: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokestatic sun.swing.MenuItemLayoutHelper.useCheckAndArrow:(Ljavax/swing/JMenuItem;)Z
ifeq 70
68: aload 4
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
aload 1
invokeinterface sun.swing.MenuItemCheckIconFactory.isCompatible:(Ljava/lang/Object;Ljava/lang/String;)Z
ifeq 70
69: aload 0
aload 4
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokeinterface sun.swing.MenuItemCheckIconFactory.getIcon:(Ljavax/swing/JMenuItem;)Ljavax/swing/Icon;
putfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
end local 4 end local 3 70: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
1 71 1 prefix Ljava/lang/String;
5 71 2 opaque Ljava/lang/Object;
61 70 3 isColumnLayout Z
66 70 4 iconFactory Lsun/swing/MenuItemCheckIconFactory;
protected void (javax.swing.JMenuItem);
descriptor: (Ljavax/swing/JMenuItem;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 1
invokevirtual javax.swing.JMenuItem.getText:()Ljava/lang/String;
invokestatic javax.swing.plaf.basic.BasicHTML.updateRenderer:(Ljavax/swing/JComponent;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 2 1 menuItem Ljavax/swing/JMenuItem;
MethodParameters:
Name Flags
menuItem
protected java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "MenuItem"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.createMouseInputListener:(Ljavax/swing/JComponent;)Ljavax/swing/event/MouseInputListener;
dup_x1
putfield javax.swing.plaf.basic.BasicMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
ifnull 3
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
invokevirtual javax.swing.JMenuItem.addMouseListener:(Ljava/awt/event/MouseListener;)V
2: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
invokevirtual javax.swing.JMenuItem.addMouseMotionListener:(Ljava/awt/event/MouseMotionListener;)V
3: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.createMenuDragMouseListener:(Ljavax/swing/JComponent;)Ljavax/swing/event/MenuDragMouseListener;
dup_x1
putfield javax.swing.plaf.basic.BasicMenuItemUI.menuDragMouseListener:Ljavax/swing/event/MenuDragMouseListener;
ifnull 5
4: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuDragMouseListener:Ljavax/swing/event/MenuDragMouseListener;
invokevirtual javax.swing.JMenuItem.addMenuDragMouseListener:(Ljavax/swing/event/MenuDragMouseListener;)V
5: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.createMenuKeyListener:(Ljavax/swing/JComponent;)Ljavax/swing/event/MenuKeyListener;
dup_x1
putfield javax.swing.plaf.basic.BasicMenuItemUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
ifnull 7
6: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
invokevirtual javax.swing.JMenuItem.addMenuKeyListener:(Ljavax/swing/event/MenuKeyListener;)V
7: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.createPropertyChangeListener:(Ljavax/swing/JComponent;)Ljava/beans/PropertyChangeListener;
dup_x1
putfield javax.swing.plaf.basic.BasicMenuItemUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
ifnull 9
8: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
invokevirtual javax.swing.JMenuItem.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.installLazyActionMap:()V
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.updateAcceleratorBinding:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
ldc Ljavax/swing/plaf/basic/BasicMenuItemUI;
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".actionMap"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokestatic javax.swing.plaf.basic.LazyActionMap.installLazyActionMap:(Ljavax/swing/JComponent;Ljava/lang/Class;Ljava/lang/String;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
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
checkcast javax.swing.JMenuItem
putfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.uninstallDefaults:()V
2: aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.uninstallComponents:(Ljavax/swing/JMenuItem;)V
3: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.uninstallListeners:()V
4: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.uninstallKeyboardActions:()V
5: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokestatic sun.swing.MenuItemLayoutHelper.clearUsedParentClientProperties:(Ljavax/swing/JMenuItem;)V
6: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 8 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokestatic javax.swing.LookAndFeel.uninstallBorder:(Ljavax/swing/JComponent;)V
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
ldc "borderPainted"
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.oldBorderPainted:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
2: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getMargin:()Ljava/awt/Insets;
instanceof javax.swing.plaf.UIResource
ifeq 4
3: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aconst_null
invokevirtual javax.swing.JMenuItem.setMargin:(Ljava/awt/Insets;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon:Ljavax/swing/Icon;
instanceof javax.swing.plaf.UIResource
ifeq 6
5: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon:Ljavax/swing/Icon;
6: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
instanceof javax.swing.plaf.UIResource
ifeq 8
7: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
protected void (javax.swing.JMenuItem);
descriptor: (Ljavax/swing/JMenuItem;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc ""
invokestatic javax.swing.plaf.basic.BasicHTML.updateRenderer:(Ljavax/swing/JComponent;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 2 1 menuItem Ljavax/swing/JMenuItem;
MethodParameters:
Name Flags
menuItem
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
ifnull 3
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
invokevirtual javax.swing.JMenuItem.removeMouseListener:(Ljava/awt/event/MouseListener;)V
2: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
invokevirtual javax.swing.JMenuItem.removeMouseMotionListener:(Ljava/awt/event/MouseMotionListener;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuDragMouseListener:Ljavax/swing/event/MenuDragMouseListener;
ifnull 5
4: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuDragMouseListener:Ljavax/swing/event/MenuDragMouseListener;
invokevirtual javax.swing.JMenuItem.removeMenuDragMouseListener:(Ljavax/swing/event/MenuDragMouseListener;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
ifnull 7
6: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
invokevirtual javax.swing.JMenuItem.removeMenuKeyListener:(Ljavax/swing/event/MenuKeyListener;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
ifnull 9
8: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
invokevirtual javax.swing.JMenuItem.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
9: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
10: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.menuDragMouseListener:Ljavax/swing/event/MenuDragMouseListener;
11: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.menuKeyListener:Ljavax/swing/event/MenuKeyListener;
12: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
13: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuItemUI.handler:Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aconst_null
invokestatic javax.swing.SwingUtilities.replaceUIActionMap:(Ljavax/swing/JComponent;Ljavax/swing/ActionMap;)V
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
iconst_2
2: aconst_null
3: invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
protected javax.swing.event.MouseInputListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/MouseInputListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getHandler:()Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected javax.swing.event.MenuDragMouseListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/MenuDragMouseListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getHandler:()Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected javax.swing.event.MenuKeyListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/MenuKeyListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected java.beans.PropertyChangeListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/beans/PropertyChangeListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getHandler:()Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
javax.swing.plaf.basic.BasicMenuItemUI$Handler getHandler();
descriptor: ()Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.handler:Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
ifnonnull 2
1: aload 0
new javax.swing.plaf.basic.BasicMenuItemUI$Handler
dup
aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI$Handler.<init>:(Ljavax/swing/plaf/basic/BasicMenuItemUI;)V
putfield javax.swing.plaf.basic.BasicMenuItemUI.handler:Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.handler:Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
javax.swing.InputMap (int);
descriptor: (I)Ljavax/swing/InputMap;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_2
if_icmpne 2
1: new javax.swing.plaf.ComponentInputMapUIResource
dup
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokespecial javax.swing.plaf.ComponentInputMapUIResource.<init>:(Ljavax/swing/JComponent;)V
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 3 1 condition I
MethodParameters:
Name Flags
condition
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getAccelerator:()Ljavax/swing/KeyStroke;
astore 1
start local 1 1: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
iconst_2
2: invokestatic javax.swing.SwingUtilities.getUIInputMap:(Ljavax/swing/JComponent;I)Ljavax/swing/InputMap;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
invokevirtual javax.swing.InputMap.clear:()V
5: StackMap locals: javax.swing.KeyStroke javax.swing.InputMap
StackMap stack:
aload 1
ifnull 12
6: aload 2
ifnonnull 11
7: aload 0
iconst_2
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.createInputMap:(I)Ljavax/swing/InputMap;
astore 2
8: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
9: iconst_2
aload 2
10: invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
11: StackMap locals:
StackMap stack:
aload 2
aload 1
ldc "doClick"
invokevirtual javax.swing.InputMap.put:(Ljavax/swing/KeyStroke;Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
1 13 1 accelerator Ljavax/swing/KeyStroke;
3 13 2 windowInputMap Ljavax/swing/InputMap;
public java.awt.Dimension (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ldc "html"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.View
astore 3
start local 3 2: aload 3
ifnull 5
3: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPreferredSize:(Ljavax/swing/JComponent;)Ljava/awt/Dimension;
astore 2
4: aload 2
dup
getfield java.awt.Dimension.width:I
i2f
aload 3
iconst_0
invokevirtual javax.swing.text.View.getPreferredSpan:(I)F
aload 3
iconst_0
invokevirtual javax.swing.text.View.getMinimumSpan:(I)F
fsub
fsub
f2i
putfield java.awt.Dimension.width:I
5: StackMap locals: java.awt.Dimension javax.swing.text.View
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 6 1 c Ljavax/swing/JComponent;
1 6 2 d Ljava/awt/Dimension;
2 6 3 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
c
public java.awt.Dimension (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
2: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon:Ljavax/swing/Icon;
3: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.defaultTextIconGap:I
4: invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPreferredMenuItemSize:(Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 5 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public java.awt.Dimension (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ldc "html"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.View
astore 3
start local 3 2: aload 3
ifnull 5
3: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPreferredSize:(Ljavax/swing/JComponent;)Ljava/awt/Dimension;
astore 2
4: aload 2
dup
getfield java.awt.Dimension.width:I
i2f
aload 3
iconst_0
invokevirtual javax.swing.text.View.getMaximumSpan:(I)F
aload 3
iconst_0
invokevirtual javax.swing.text.View.getPreferredSpan:(I)F
fsub
fadd
f2i
putfield java.awt.Dimension.width:I
5: StackMap locals: java.awt.Dimension javax.swing.text.View
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 6 1 c Ljavax/swing/JComponent;
1 6 2 d Ljava/awt/Dimension;
2 6 3 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
c
protected java.awt.Dimension (javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, int);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;I)Ljava/awt/Dimension;
flags: (0x0004) ACC_PROTECTED
Code:
stack=13, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
checkcast javax.swing.JMenuItem
astore 5
start local 5 1: new sun.swing.MenuItemLayoutHelper
dup
aload 5
aload 2
2: aload 3
invokestatic sun.swing.MenuItemLayoutHelper.createMaxRect:()Ljava/awt/Rectangle;
iload 4
3: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorDelimiter:Ljava/lang/String;
aload 5
invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.isLeftToRight:(Ljava/awt/Component;)Z
4: aload 5
invokevirtual javax.swing.JMenuItem.getFont:()Ljava/awt/Font;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorFont:Ljava/awt/Font;
5: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokestatic sun.swing.MenuItemLayoutHelper.useCheckAndArrow:(Ljavax/swing/JMenuItem;)Z
6: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix:()Ljava/lang/String;
7: invokespecial sun.swing.MenuItemLayoutHelper.<init>:(Ljavax/swing/JMenuItem;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Rectangle;ILjava/lang/String;ZLjava/awt/Font;Ljava/awt/Font;ZLjava/lang/String;)V
astore 6
start local 6 8: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
astore 7
start local 7 9: aload 7
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getLeadingGap:()I
putfield java.awt.Dimension.width:I
10: aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getCheckSize:()Lsun/swing/MenuItemLayoutHelper$RectSize;
11: aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getAfterCheckIconGap:()I
aload 7
12: invokestatic sun.swing.MenuItemLayoutHelper.addMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;ILjava/awt/Dimension;)V
13: aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.isTopLevelMenu:()Z
ifne 17
14: aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getMinTextOffset:()I
ifle 17
15: aload 7
getfield java.awt.Dimension.width:I
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getMinTextOffset:()I
if_icmpge 17
16: aload 7
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getMinTextOffset:()I
putfield java.awt.Dimension.width:I
17: StackMap locals: javax.swing.JMenuItem sun.swing.MenuItemLayoutHelper java.awt.Dimension
StackMap stack:
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getLabelSize:()Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getGap:()I
aload 7
invokestatic sun.swing.MenuItemLayoutHelper.addMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;ILjava/awt/Dimension;)V
18: aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getAccSize:()Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getGap:()I
aload 7
invokestatic sun.swing.MenuItemLayoutHelper.addMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;ILjava/awt/Dimension;)V
19: aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getArrowSize:()Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getGap:()I
aload 7
invokestatic sun.swing.MenuItemLayoutHelper.addMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;ILjava/awt/Dimension;)V
20: aload 7
iconst_4
newarray 10
dup
iconst_0
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getCheckSize:()Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getHeight:()I
iastore
dup
iconst_1
21: aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getLabelSize:()Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getHeight:()I
iastore
dup
iconst_2
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getAccSize:()Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getHeight:()I
iastore
dup
iconst_3
22: aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getArrowSize:()Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getHeight:()I
iastore
23: invokestatic sun.swing.MenuItemLayoutHelper.max:([I)I
putfield java.awt.Dimension.height:I
24: aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getInsets:()Ljava/awt/Insets;
astore 8
start local 8 25: aload 8
ifnull 28
26: aload 7
dup
getfield java.awt.Dimension.width:I
aload 8
getfield java.awt.Insets.left:I
aload 8
getfield java.awt.Insets.right:I
iadd
iadd
putfield java.awt.Dimension.width:I
27: aload 7
dup
getfield java.awt.Dimension.height:I
aload 8
getfield java.awt.Insets.top:I
aload 8
getfield java.awt.Insets.bottom:I
iadd
iadd
putfield java.awt.Dimension.height:I
28: StackMap locals: java.awt.Insets
StackMap stack:
aload 7
getfield java.awt.Dimension.width:I
iconst_2
irem
ifne 30
29: aload 7
dup
getfield java.awt.Dimension.width:I
iconst_1
iadd
putfield java.awt.Dimension.width:I
30: StackMap locals:
StackMap stack:
aload 7
getfield java.awt.Dimension.height:I
iconst_2
irem
ifne 35
31: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
32: new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".evenHeight"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
33: if_acmpeq 35
34: aload 7
dup
getfield java.awt.Dimension.height:I
iconst_1
iadd
putfield java.awt.Dimension.height:I
35: StackMap locals:
StackMap stack:
aload 7
areturn
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 36 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 36 1 c Ljavax/swing/JComponent;
0 36 2 checkIcon Ljavax/swing/Icon;
0 36 3 arrowIcon Ljavax/swing/Icon;
0 36 4 defaultTextIconGap I
1 36 5 mi Ljavax/swing/JMenuItem;
8 36 6 lh Lsun/swing/MenuItemLayoutHelper;
9 36 7 result Ljava/awt/Dimension;
25 36 8 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
c
checkIcon
arrowIcon
defaultTextIconGap
public void (java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.paint:(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 2 1 g Ljava/awt/Graphics;
0 2 2 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
g
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=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.checkIcon:Ljavax/swing/Icon;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon:Ljavax/swing/Icon;
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.selectionBackground:Ljava/awt/Color;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.selectionForeground:Ljava/awt/Color;
2: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.defaultTextIconGap:I
3: invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.paintMenuItem:(Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Color;Ljava/awt/Color;I)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 5 1 g Ljava/awt/Graphics;
0 5 2 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
g
c
protected void (java.awt.Graphics, javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, java.awt.Color, java.awt.Color, int);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Color;Ljava/awt/Color;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=13, locals=14, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 1
invokevirtual java.awt.Graphics.getFont:()Ljava/awt/Font;
astore 8
start local 8 1: aload 1
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 9
start local 9 2: aload 2
checkcast javax.swing.JMenuItem
astore 10
start local 10 3: aload 1
aload 10
invokevirtual javax.swing.JMenuItem.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
4: new java.awt.Rectangle
dup
iconst_0
iconst_0
aload 10
invokevirtual javax.swing.JMenuItem.getWidth:()I
aload 10
invokevirtual javax.swing.JMenuItem.getHeight:()I
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 11
start local 11 5: aload 0
aload 11
aload 10
invokevirtual javax.swing.JMenuItem.getInsets:()Ljava/awt/Insets;
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.applyInsets:(Ljava/awt/Rectangle;Ljava/awt/Insets;)V
6: new sun.swing.MenuItemLayoutHelper
dup
aload 10
aload 3
7: aload 4
aload 11
iload 7
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorDelimiter:Ljava/lang/String;
8: aload 10
invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.isLeftToRight:(Ljava/awt/Component;)Z
aload 10
invokevirtual javax.swing.JMenuItem.getFont:()Ljava/awt/Font;
9: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorFont:Ljava/awt/Font;
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokestatic sun.swing.MenuItemLayoutHelper.useCheckAndArrow:(Ljavax/swing/JMenuItem;)Z
10: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix:()Ljava/lang/String;
11: invokespecial sun.swing.MenuItemLayoutHelper.<init>:(Ljavax/swing/JMenuItem;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Rectangle;ILjava/lang/String;ZLjava/awt/Font;Ljava/awt/Font;ZLjava/lang/String;)V
astore 12
start local 12 12: aload 12
invokevirtual sun.swing.MenuItemLayoutHelper.layoutMenuItem:()Lsun/swing/MenuItemLayoutHelper$LayoutResult;
astore 13
start local 13 13: aload 0
aload 1
aload 10
aload 5
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.paintBackground:(Ljava/awt/Graphics;Ljavax/swing/JMenuItem;Ljava/awt/Color;)V
14: aload 0
aload 1
aload 12
aload 13
aload 9
aload 6
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.paintCheckIcon:(Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Color;Ljava/awt/Color;)V
15: aload 0
aload 1
aload 12
aload 13
aload 9
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.paintIcon:(Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Color;)V
16: aload 0
aload 1
aload 12
aload 13
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.paintText:(Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
17: aload 0
aload 1
aload 12
aload 13
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.paintAccText:(Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
18: aload 0
aload 1
aload 12
aload 13
aload 6
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.paintArrowIcon:(Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Color;)V
19: aload 1
aload 9
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
20: aload 1
aload 8
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
21: return
end local 13 end local 12 end local 11 end local 10 end local 9 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 22 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 22 1 g Ljava/awt/Graphics;
0 22 2 c Ljavax/swing/JComponent;
0 22 3 checkIcon Ljavax/swing/Icon;
0 22 4 arrowIcon Ljavax/swing/Icon;
0 22 5 background Ljava/awt/Color;
0 22 6 foreground Ljava/awt/Color;
0 22 7 defaultTextIconGap I
1 22 8 holdf Ljava/awt/Font;
2 22 9 holdc Ljava/awt/Color;
3 22 10 mi Ljavax/swing/JMenuItem;
5 22 11 viewRect Ljava/awt/Rectangle;
12 22 12 lh Lsun/swing/MenuItemLayoutHelper;
13 22 13 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
MethodParameters:
Name Flags
g
c
checkIcon
arrowIcon
background
foreground
defaultTextIconGap
private void (java.awt.Graphics, sun.swing.MenuItemLayoutHelper, sun.swing.MenuItemLayoutHelper$LayoutResult, java.awt.Color);
descriptor: (Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getIcon:()Ljavax/swing/Icon;
ifnull 16
1: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
astore 6
start local 6 2: aload 6
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifne 5
3: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getDisabledIcon:()Ljavax/swing/Icon;
astore 5
start local 5 4: goto 11
end local 5 StackMap locals: javax.swing.plaf.basic.BasicMenuItemUI java.awt.Graphics sun.swing.MenuItemLayoutHelper sun.swing.MenuItemLayoutHelper$LayoutResult java.awt.Color top javax.swing.ButtonModel
StackMap stack:
5: aload 6
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 10
aload 6
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 10
6: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getPressedIcon:()Ljavax/swing/Icon;
astore 5
start local 5 7: aload 5
ifnonnull 11
8: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getIcon:()Ljavax/swing/Icon;
astore 5
9: goto 11
end local 5 10: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getIcon:()Ljavax/swing/Icon;
astore 5
start local 5 11: StackMap locals: javax.swing.plaf.basic.BasicMenuItemUI java.awt.Graphics sun.swing.MenuItemLayoutHelper sun.swing.MenuItemLayoutHelper$LayoutResult java.awt.Color javax.swing.Icon javax.swing.ButtonModel
StackMap stack:
aload 5
ifnull 16
12: aload 5
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
aload 1
aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getIconRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
13: aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getIconRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
14: invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
15: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
end local 6 end local 5 16: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 17 1 g Ljava/awt/Graphics;
0 17 2 lh Lsun/swing/MenuItemLayoutHelper;
0 17 3 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
0 17 4 holdc Ljava/awt/Color;
4 5 5 icon Ljavax/swing/Icon;
7 10 5 icon Ljavax/swing/Icon;
11 16 5 icon Ljavax/swing/Icon;
2 16 6 model Ljavax/swing/ButtonModel;
MethodParameters:
Name Flags
g
lh
lr
holdc
private void (java.awt.Graphics, sun.swing.MenuItemLayoutHelper, sun.swing.MenuItemLayoutHelper$LayoutResult, java.awt.Color, java.awt.Color);
descriptor: (Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Color;Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getCheckIcon:()Ljavax/swing/Icon;
ifnull 12
1: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
astore 6
start local 6 2: aload 6
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifne 4
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
instanceof javax.swing.JMenu
ifeq 6
3: aload 6
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 6
4: StackMap locals: javax.swing.ButtonModel
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.useCheckAndArrow:()Z
ifeq 11
8: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getCheckIcon:()Ljavax/swing/Icon;
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
aload 1
9: aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getCheckRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getCheckRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
10: invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
11: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
end local 6 12: StackMap locals:
StackMap stack:
return
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 13 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 13 1 g Ljava/awt/Graphics;
0 13 2 lh Lsun/swing/MenuItemLayoutHelper;
0 13 3 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
0 13 4 holdc Ljava/awt/Color;
0 13 5 foreground Ljava/awt/Color;
2 12 6 model Ljavax/swing/ButtonModel;
MethodParameters:
Name Flags
g
lh
lr
holdc
foreground
private void (java.awt.Graphics, sun.swing.MenuItemLayoutHelper, sun.swing.MenuItemLayoutHelper$LayoutResult);
descriptor: (Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getAccText:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 32
1: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
astore 4
start local 4 2: aload 1
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getAccFontMetrics:()Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
3: aload 4
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifne 22
4: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.disabledForeground:Ljava/awt/Color;
ifnull 11
5: aload 1
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.disabledForeground:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
6: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
aload 1
7: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getAccText:()Ljava/lang/String;
aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getAccRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
8: aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getAccRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getAccFontMetrics:()Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
9: invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
10: goto 32
11: StackMap locals: javax.swing.ButtonModel
StackMap stack:
aload 1
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
12: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
aload 1
13: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getAccText:()Ljava/lang/String;
aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getAccRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
14: aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getAccRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getAccFontMetrics:()Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
15: invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
16: aload 1
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
17: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
aload 1
18: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getAccText:()Ljava/lang/String;
aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getAccRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
iconst_1
isub
19: aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getAccRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getFontMetrics:()Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
iconst_1
isub
20: invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
21: goto 32
22: StackMap locals:
StackMap stack:
aload 4
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifne 25
23: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
instanceof javax.swing.JMenu
ifeq 27
24: aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 27
25: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorSelectionForeground:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
26: goto 28
27: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.acceleratorForeground:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
28: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
aload 1
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getAccText:()Ljava/lang/String;
29: aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getAccRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getAccRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
30: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getAccFontMetrics:()Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
31: invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
end local 4 32: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 33 1 g Ljava/awt/Graphics;
0 33 2 lh Lsun/swing/MenuItemLayoutHelper;
0 33 3 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
2 32 4 model Ljavax/swing/ButtonModel;
MethodParameters:
Name Flags
g
lh
lr
private void (java.awt.Graphics, sun.swing.MenuItemLayoutHelper, sun.swing.MenuItemLayoutHelper$LayoutResult);
descriptor: (Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getText:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
1: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getHtmlView:()Ljavax/swing/text/View;
ifnull 4
2: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getHtmlView:()Ljavax/swing/text/View;
aload 1
aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getTextRect:()Ljava/awt/Rectangle;
invokevirtual javax.swing.text.View.paint:(Ljava/awt/Graphics;Ljava/awt/Shape;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getTextRect:()Ljava/awt/Rectangle;
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getText:()Ljava/lang/String;
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.paintText:(Ljava/awt/Graphics;Ljavax/swing/JMenuItem;Ljava/awt/Rectangle;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 6 1 g Ljava/awt/Graphics;
0 6 2 lh Lsun/swing/MenuItemLayoutHelper;
0 6 3 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
MethodParameters:
Name Flags
g
lh
lr
private void (java.awt.Graphics, sun.swing.MenuItemLayoutHelper, sun.swing.MenuItemLayoutHelper$LayoutResult, java.awt.Color);
descriptor: (Ljava/awt/Graphics;Lsun/swing/MenuItemLayoutHelper;Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getArrowIcon:()Ljavax/swing/Icon;
ifnull 9
1: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
astore 5
start local 5 2: aload 5
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifne 4
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
instanceof javax.swing.JMenu
ifeq 5
3: aload 5
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 5
4: StackMap locals: javax.swing.ButtonModel
StackMap stack:
aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.useCheckAndArrow:()Z
ifeq 9
6: aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getArrowIcon:()Ljavax/swing/Icon;
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.getMenuItem:()Ljavax/swing/JMenuItem;
aload 1
7: aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getArrowRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 3
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.getArrowRect:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
8: invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
end local 5 9: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 10 1 g Ljava/awt/Graphics;
0 10 2 lh Lsun/swing/MenuItemLayoutHelper;
0 10 3 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
0 10 4 foreground Ljava/awt/Color;
2 9 5 model Ljavax/swing/ButtonModel;
MethodParameters:
Name Flags
g
lh
lr
foreground
private void (java.awt.Rectangle, java.awt.Insets);
descriptor: (Ljava/awt/Rectangle;Ljava/awt/Insets;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 5
1: aload 1
dup
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Insets.left:I
iadd
putfield java.awt.Rectangle.x:I
2: aload 1
dup
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Insets.top:I
iadd
putfield java.awt.Rectangle.y:I
3: aload 1
dup
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Insets.right:I
aload 1
getfield java.awt.Rectangle.x:I
iadd
isub
putfield java.awt.Rectangle.width:I
4: aload 1
dup
getfield java.awt.Rectangle.height:I
aload 2
getfield java.awt.Insets.bottom:I
aload 1
getfield java.awt.Rectangle.y:I
iadd
isub
putfield java.awt.Rectangle.height:I
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 6 1 rect Ljava/awt/Rectangle;
0 6 2 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
rect
insets
protected void (java.awt.Graphics, javax.swing.JMenuItem, java.awt.Color);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JMenuItem;Ljava/awt/Color;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
astore 4
start local 4 1: aload 1
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 5
start local 5 2: aload 2
invokevirtual javax.swing.JMenuItem.getWidth:()I
istore 6
start local 6 3: aload 2
invokevirtual javax.swing.JMenuItem.getHeight:()I
istore 7
start local 7 4: aload 2
invokevirtual javax.swing.JMenuItem.isOpaque:()Z
ifeq 13
5: aload 4
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifne 6
aload 2
instanceof javax.swing.JMenu
ifeq 9
aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 9
6: StackMap locals: javax.swing.plaf.basic.BasicMenuItemUI java.awt.Graphics javax.swing.JMenuItem java.awt.Color javax.swing.ButtonModel java.awt.Color int int
StackMap stack:
aload 1
aload 3
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
7: aload 1
iconst_0
iconst_0
iload 6
iload 7
invokevirtual java.awt.Graphics.fillRect:(IIII)V
8: goto 11
9: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual javax.swing.JMenuItem.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
10: aload 1
iconst_0
iconst_0
iload 6
iload 7
invokevirtual java.awt.Graphics.fillRect:(IIII)V
11: StackMap locals:
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
12: goto 18
13: StackMap locals:
StackMap stack:
aload 4
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifne 15
aload 2
instanceof javax.swing.JMenu
ifeq 18
14: aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 18
15: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
16: aload 1
iconst_0
iconst_0
iload 6
iload 7
invokevirtual java.awt.Graphics.fillRect:(IIII)V
17: aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
18: StackMap locals:
StackMap stack:
return
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 19 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 19 1 g Ljava/awt/Graphics;
0 19 2 menuItem Ljavax/swing/JMenuItem;
0 19 3 bgColor Ljava/awt/Color;
1 19 4 model Ljavax/swing/ButtonModel;
2 19 5 oldColor Ljava/awt/Color;
3 19 6 menuWidth I
4 19 7 menuHeight I
MethodParameters:
Name Flags
g
menuItem
bgColor
protected void (java.awt.Graphics, javax.swing.JMenuItem, java.awt.Rectangle, java.lang.String);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JMenuItem;Ljava/awt/Rectangle;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
astore 5
start local 5 1: aload 2
aload 1
invokestatic sun.swing.SwingUtilities2.getFontMetrics:(Ljavax/swing/JComponent;Ljava/awt/Graphics;)Ljava/awt/FontMetrics;
astore 6
start local 6 2: aload 2
invokevirtual javax.swing.JMenuItem.getDisplayedMnemonicIndex:()I
istore 7
start local 7 3: aload 5
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifne 20
4: ldc "MenuItem.disabledForeground"
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
instanceof java.awt.Color
ifeq 10
5: aload 1
ldc "MenuItem.disabledForeground"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
6: aload 2
aload 1
aload 4
7: iload 7
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 6
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
8: invokestatic sun.swing.SwingUtilities2.drawStringUnderlineCharAt:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;III)V
9: goto 25
10: StackMap locals: javax.swing.ButtonModel java.awt.FontMetrics int
StackMap stack:
aload 1
aload 2
invokevirtual javax.swing.JMenuItem.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
11: aload 2
aload 1
aload 4
12: iload 7
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 6
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
13: invokestatic sun.swing.SwingUtilities2.drawStringUnderlineCharAt:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;III)V
14: aload 1
aload 2
invokevirtual javax.swing.JMenuItem.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
15: aload 2
aload 1
aload 4
16: iload 7
aload 3
getfield java.awt.Rectangle.x:I
iconst_1
isub
aload 3
getfield java.awt.Rectangle.y:I
17: aload 6
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
iconst_1
isub
18: invokestatic sun.swing.SwingUtilities2.drawStringUnderlineCharAt:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;III)V
19: goto 25
20: StackMap locals:
StackMap stack:
aload 5
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifne 21
aload 2
instanceof javax.swing.JMenu
ifeq 22
aload 5
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 22
21: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.selectionForeground:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
22: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 4
23: iload 7
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 6
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
24: invokestatic sun.swing.SwingUtilities2.drawStringUnderlineCharAt:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;III)V
25: StackMap locals:
StackMap stack:
return
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/basic/BasicMenuItemUI;
0 26 1 g Ljava/awt/Graphics;
0 26 2 menuItem Ljavax/swing/JMenuItem;
0 26 3 textRect Ljava/awt/Rectangle;
0 26 4 text Ljava/lang/String;
1 26 5 model Ljavax/swing/ButtonModel;
2 26 6 fm Ljava/awt/FontMetrics;
3 26 7 mnemIndex I
MethodParameters:
Name Flags
g
menuItem
textRect
text
public javax.swing.MenuElement[] ();
descriptor: ()[Ljavax/swing/MenuElement;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 1
start local 1 1: aload 1
invokevirtual javax.swing.MenuSelectionManager.getSelectedPath:()[Ljavax/swing/MenuElement;
astore 2
start local 2 2: aload 2
arraylength
istore 4
start local 4 3: iload 4
ifne 5
4: iconst_0
anewarray javax.swing.MenuElement
areturn
5: StackMap locals: javax.swing.plaf.basic.BasicMenuItemUI javax.swing.MenuSelectionManager javax.swing.MenuElement[] top int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getParent:()Ljava/awt/Container;
astore 5
start local 5 6: aload 2
iload 4
iconst_1
isub
aaload
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
aload 5
if_acmpne 11
7: iload 4
iconst_1
iadd
anewarray javax.swing.MenuElement
astore 3
start local 3 8: aload 2
iconst_0
aload 3
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 3
iload 4
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aastore
10: goto 20
end local 3 11: StackMap locals: java.awt.Component
StackMap stack:
aload 2
arraylength
iconst_1
isub
istore 6
start local 6 12: goto 16
13: StackMap locals: int
StackMap stack:
aload 2
iload 6
aaload
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
aload 5
if_acmpne 15
14: goto 17
15: StackMap locals:
StackMap stack:
iinc 6 -1
StackMap locals:
StackMap stack:
16: iload 6
ifge 13
17: StackMap locals:
StackMap stack:
iload 6
iconst_2
iadd
anewarray javax.swing.MenuElement
astore 3
start local 3 18: aload 2
iconst_0
aload 3
iconst_0
iload 6
iconst_1
iadd
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: aload 3
iload 6
iconst_1
iadd
aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aastore
end local 6 20: StackMap locals: javax.swing.plaf.basic.BasicMenuItemUI javax.swing.MenuSelectionManager javax.swing.MenuElement[] javax.swing.MenuElement[] int java.awt.Component
StackMap stack:
aload 3
areturn
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 21 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
1 21 1 m Ljavax/swing/MenuSelectionManager;
2 21 2 oldPath [Ljavax/swing/MenuElement;
8 11 3 newPath [Ljavax/swing/MenuElement;
18 21 3 newPath [Ljavax/swing/MenuElement;
3 21 4 i I
6 21 5 parent Ljava/awt/Component;
12 20 6 j I
void (javax.swing.MenuElement[], boolean);
descriptor: ([Ljavax/swing/MenuElement;Z)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Path is("
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: iconst_0
istore 3
start local 3 2: aload 1
arraylength
istore 4
start local 4 3: goto 16
4: StackMap locals: int int
StackMap stack:
iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: int
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 3
if_icmple 6
end local 5 9: aload 1
iload 3
aaload
astore 5
start local 5 10: aload 5
instanceof javax.swing.JMenuItem
ifeq 12
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 5
checkcast javax.swing.JMenuItem
invokevirtual javax.swing.JMenuItem.getText:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
goto 15
12: StackMap locals: javax.swing.plaf.basic.BasicMenuItemUI javax.swing.MenuElement[] int int int javax.swing.MenuElement
StackMap stack:
aload 5
ifnonnull 14
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "NULL , "
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
goto 15
14: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
iload 4
if_icmplt 4
17: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc ")"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: iload 2
ifeq 20
19: invokestatic java.lang.Thread.dumpStack:()V
20: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 21 1 path [Ljavax/swing/MenuElement;
0 21 2 dumpStack Z
2 21 3 i I
3 21 4 j I
5 9 5 k I
10 15 5 me Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
path
dumpStack
protected void (javax.swing.MenuSelectionManager);
descriptor: (Ljavax/swing/MenuSelectionManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.isInternalFrameSystemMenu:()Z
ifne 4
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: ldc ".commandSound"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.playSound:(Ljavax/swing/JComponent;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
5: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
astore 1
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.MenuSelectionManager.clearSelectedPath:()V
7: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
iconst_0
invokevirtual javax.swing.JMenuItem.doClick:(I)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
0 9 1 msm Ljavax/swing/MenuSelectionManager;
MethodParameters:
Name Flags
msm
private boolean ();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getActionCommand:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "Close"
if_acmpeq 5
2: aload 1
ldc "Minimize"
if_acmpeq 5
3: aload 1
ldc "Restore"
if_acmpeq 5
4: aload 1
ldc "Maximize"
if_acmpne 6
5: StackMap locals: java.lang.String
StackMap stack:
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/plaf/basic/BasicMenuItemUI;
1 7 1 actionCommand Ljava/lang/String;
}
SourceFile: "BasicMenuItemUI.java"
NestMembers:
javax.swing.plaf.basic.BasicMenuItemUI$Actions javax.swing.plaf.basic.BasicMenuItemUI$Handler javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler
InnerClasses:
private Actions = javax.swing.plaf.basic.BasicMenuItemUI$Actions of javax.swing.plaf.basic.BasicMenuItemUI
Handler = javax.swing.plaf.basic.BasicMenuItemUI$Handler of javax.swing.plaf.basic.BasicMenuItemUI
protected MouseInputHandler = javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler of javax.swing.plaf.basic.BasicMenuItemUI
public LayoutResult = sun.swing.MenuItemLayoutHelper$LayoutResult of sun.swing.MenuItemLayoutHelper
public RectSize = sun.swing.MenuItemLayoutHelper$RectSize of sun.swing.MenuItemLayoutHelper