public class
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.swing.MenuItemLayoutHelper
super_class: java.lang.Object
{
public static final sun.swing.StringUIClientPropertyKey ;
descriptor: Lsun/swing/StringUIClientPropertyKey;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.swing.StringUIClientPropertyKey ;
descriptor: Lsun/swing/StringUIClientPropertyKey;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.swing.StringUIClientPropertyKey ;
descriptor: Lsun/swing/StringUIClientPropertyKey;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.swing.StringUIClientPropertyKey ;
descriptor: Lsun/swing/StringUIClientPropertyKey;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.swing.StringUIClientPropertyKey ;
descriptor: Lsun/swing/StringUIClientPropertyKey;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.swing.StringUIClientPropertyKey ;
descriptor: Lsun/swing/StringUIClientPropertyKey;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private javax.swing.JMenuItem ;
descriptor: Ljavax/swing/JMenuItem;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JComponent ;
descriptor: Ljavax/swing/JComponent;
flags: (0x0002) ACC_PRIVATE
private java.awt.Font ;
descriptor: Ljava/awt/Font;
flags: (0x0002) ACC_PRIVATE
private java.awt.Font ;
descriptor: Ljava/awt/Font;
flags: (0x0002) ACC_PRIVATE
private java.awt.FontMetrics ;
descriptor: Ljava/awt/FontMetrics;
flags: (0x0002) ACC_PRIVATE
private java.awt.FontMetrics ;
descriptor: Ljava/awt/FontMetrics;
flags: (0x0002) ACC_PRIVATE
private javax.swing.Icon ;
descriptor: Ljavax/swing/Icon;
flags: (0x0002) ACC_PRIVATE
private javax.swing.Icon ;
descriptor: Ljavax/swing/Icon;
flags: (0x0002) ACC_PRIVATE
private javax.swing.Icon ;
descriptor: Ljavax/swing/Icon;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean isColumnLayout;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean useCheckAndArrow;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.swing.text.View ;
descriptor: Ljavax/swing/text/View;
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.awt.Rectangle ;
descriptor: Ljava/awt/Rectangle;
flags: (0x0002) ACC_PRIVATE
private sun.swing.MenuItemLayoutHelper$RectSize ;
descriptor: Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0002) ACC_PRIVATE
private sun.swing.MenuItemLayoutHelper$RectSize ;
descriptor: Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0002) ACC_PRIVATE
private sun.swing.MenuItemLayoutHelper$RectSize ;
descriptor: Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0002) ACC_PRIVATE
private sun.swing.MenuItemLayoutHelper$RectSize ;
descriptor: Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0002) ACC_PRIVATE
private sun.swing.MenuItemLayoutHelper$RectSize ;
descriptor: Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0002) ACC_PRIVATE
private sun.swing.MenuItemLayoutHelper$RectSize ;
descriptor: Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0002) ACC_PRIVATE
static final boolean ;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lsun/swing/MenuItemLayoutHelper;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.swing.MenuItemLayoutHelper.$assertionsDisabled:Z
3: new sun.swing.StringUIClientPropertyKey
dup
ldc "maxArrowWidth"
invokespecial sun.swing.StringUIClientPropertyKey.<init>:(Ljava/lang/String;)V
4: putstatic sun.swing.MenuItemLayoutHelper.MAX_ARROW_WIDTH:Lsun/swing/StringUIClientPropertyKey;
5: new sun.swing.StringUIClientPropertyKey
dup
ldc "maxCheckWidth"
invokespecial sun.swing.StringUIClientPropertyKey.<init>:(Ljava/lang/String;)V
6: putstatic sun.swing.MenuItemLayoutHelper.MAX_CHECK_WIDTH:Lsun/swing/StringUIClientPropertyKey;
7: new sun.swing.StringUIClientPropertyKey
dup
ldc "maxIconWidth"
invokespecial sun.swing.StringUIClientPropertyKey.<init>:(Ljava/lang/String;)V
8: putstatic sun.swing.MenuItemLayoutHelper.MAX_ICON_WIDTH:Lsun/swing/StringUIClientPropertyKey;
9: new sun.swing.StringUIClientPropertyKey
dup
ldc "maxTextWidth"
invokespecial sun.swing.StringUIClientPropertyKey.<init>:(Ljava/lang/String;)V
10: putstatic sun.swing.MenuItemLayoutHelper.MAX_TEXT_WIDTH:Lsun/swing/StringUIClientPropertyKey;
11: new sun.swing.StringUIClientPropertyKey
dup
ldc "maxAccWidth"
invokespecial sun.swing.StringUIClientPropertyKey.<init>:(Ljava/lang/String;)V
12: putstatic sun.swing.MenuItemLayoutHelper.MAX_ACC_WIDTH:Lsun/swing/StringUIClientPropertyKey;
13: new sun.swing.StringUIClientPropertyKey
dup
ldc "maxLabelWidth"
invokespecial sun.swing.StringUIClientPropertyKey.<init>:(Ljava/lang/String;)V
14: putstatic sun.swing.MenuItemLayoutHelper.MAX_LABEL_WIDTH:Lsun/swing/StringUIClientPropertyKey;
15: return
LocalVariableTable:
Start End Slot Name Signature
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
public void (javax.swing.JMenuItem, javax.swing.Icon, javax.swing.Icon, java.awt.Rectangle, int, java.lang.String, boolean, java.awt.Font, java.awt.Font, boolean, java.lang.String);
descriptor: (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
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=12, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
aload 2
aload 3
aload 4
iload 5
aload 6
2: iload 7
aload 8
aload 9
iload 10
aload 11
3: invokevirtual sun.swing.MenuItemLayoutHelper.reset:(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
4: return
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 5 0 this Lsun/swing/MenuItemLayoutHelper;
0 5 1 mi Ljavax/swing/JMenuItem;
0 5 2 checkIcon Ljavax/swing/Icon;
0 5 3 arrowIcon Ljavax/swing/Icon;
0 5 4 viewRect Ljava/awt/Rectangle;
0 5 5 gap I
0 5 6 accDelimiter Ljava/lang/String;
0 5 7 isLeftToRight Z
0 5 8 font Ljava/awt/Font;
0 5 9 accFont Ljava/awt/Font;
0 5 10 useCheckAndArrow Z
0 5 11 propertyPrefix Ljava/lang/String;
MethodParameters:
Name Flags
mi
checkIcon
arrowIcon
viewRect
gap
accDelimiter
isLeftToRight
font
accFont
useCheckAndArrow
propertyPrefix
protected void (javax.swing.JMenuItem, javax.swing.Icon, javax.swing.Icon, java.awt.Rectangle, int, java.lang.String, boolean, java.awt.Font, java.awt.Font, boolean, java.lang.String);
descriptor: (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
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=12, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
1: aload 0
aload 1
invokestatic sun.swing.MenuItemLayoutHelper.getMenuItemParent:(Ljavax/swing/JMenuItem;)Ljavax/swing/JComponent;
putfield sun.swing.MenuItemLayoutHelper.miParent:Ljavax/swing/JComponent;
2: aload 0
aload 0
aload 6
invokevirtual sun.swing.MenuItemLayoutHelper.getAccText:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.swing.MenuItemLayoutHelper.accText:Ljava/lang/String;
3: aload 0
aload 1
invokevirtual javax.swing.JMenuItem.getVerticalAlignment:()I
putfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
4: aload 0
aload 1
invokevirtual javax.swing.JMenuItem.getHorizontalAlignment:()I
putfield sun.swing.MenuItemLayoutHelper.horizontalAlignment:I
5: aload 0
aload 1
invokevirtual javax.swing.JMenuItem.getVerticalTextPosition:()I
putfield sun.swing.MenuItemLayoutHelper.verticalTextPosition:I
6: aload 0
aload 1
invokevirtual javax.swing.JMenuItem.getHorizontalTextPosition:()I
putfield sun.swing.MenuItemLayoutHelper.horizontalTextPosition:I
7: aload 0
iload 10
putfield sun.swing.MenuItemLayoutHelper.useCheckAndArrow:Z
8: aload 0
aload 8
putfield sun.swing.MenuItemLayoutHelper.font:Ljava/awt/Font;
9: aload 0
aload 9
putfield sun.swing.MenuItemLayoutHelper.accFont:Ljava/awt/Font;
10: aload 0
aload 1
aload 8
invokevirtual javax.swing.JMenuItem.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
putfield sun.swing.MenuItemLayoutHelper.fm:Ljava/awt/FontMetrics;
11: aload 0
aload 1
aload 9
invokevirtual javax.swing.JMenuItem.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
putfield sun.swing.MenuItemLayoutHelper.accFm:Ljava/awt/FontMetrics;
12: aload 0
iload 7
putfield sun.swing.MenuItemLayoutHelper.isLeftToRight:Z
13: aload 0
iload 7
14: aload 0
getfield sun.swing.MenuItemLayoutHelper.horizontalAlignment:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.horizontalTextPosition:I
15: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalTextPosition:I
16: invokestatic sun.swing.MenuItemLayoutHelper.isColumnLayout:(ZIII)Z
putfield sun.swing.MenuItemLayoutHelper.isColumnLayout:Z
17: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.miParent:Ljavax/swing/JComponent;
ifnonnull 18
iconst_1
goto 19
StackMap locals:
StackMap stack: sun.swing.MenuItemLayoutHelper
18: iconst_0
StackMap locals: sun.swing.MenuItemLayoutHelper javax.swing.JMenuItem javax.swing.Icon javax.swing.Icon java.awt.Rectangle int java.lang.String int java.awt.Font java.awt.Font int java.lang.String
StackMap stack: sun.swing.MenuItemLayoutHelper int
19: putfield sun.swing.MenuItemLayoutHelper.isTopLevelMenu:Z
20: aload 0
aload 2
putfield sun.swing.MenuItemLayoutHelper.checkIcon:Ljavax/swing/Icon;
21: aload 0
aload 0
aload 11
invokevirtual sun.swing.MenuItemLayoutHelper.getIcon:(Ljava/lang/String;)Ljavax/swing/Icon;
putfield sun.swing.MenuItemLayoutHelper.icon:Ljavax/swing/Icon;
22: aload 0
aload 3
putfield sun.swing.MenuItemLayoutHelper.arrowIcon:Ljavax/swing/Icon;
23: aload 0
aload 1
invokevirtual javax.swing.JMenuItem.getText:()Ljava/lang/String;
putfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
24: aload 0
iload 5
putfield sun.swing.MenuItemLayoutHelper.gap:I
25: aload 0
aload 0
aload 11
invokevirtual sun.swing.MenuItemLayoutHelper.getAfterCheckIconGap:(Ljava/lang/String;)I
putfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
26: aload 0
aload 0
aload 11
invokevirtual sun.swing.MenuItemLayoutHelper.getMinTextOffset:(Ljava/lang/String;)I
putfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
27: aload 0
aload 1
ldc "html"
invokevirtual javax.swing.JMenuItem.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.View
putfield sun.swing.MenuItemLayoutHelper.htmlView:Ljavax/swing/text/View;
28: aload 0
aload 4
putfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
29: aload 0
new sun.swing.MenuItemLayoutHelper$RectSize
dup
invokespecial sun.swing.MenuItemLayoutHelper$RectSize.<init>:()V
putfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
30: aload 0
new sun.swing.MenuItemLayoutHelper$RectSize
dup
invokespecial sun.swing.MenuItemLayoutHelper$RectSize.<init>:()V
putfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
31: aload 0
new sun.swing.MenuItemLayoutHelper$RectSize
dup
invokespecial sun.swing.MenuItemLayoutHelper$RectSize.<init>:()V
putfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
32: aload 0
new sun.swing.MenuItemLayoutHelper$RectSize
dup
invokespecial sun.swing.MenuItemLayoutHelper$RectSize.<init>:()V
putfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
33: aload 0
new sun.swing.MenuItemLayoutHelper$RectSize
dup
invokespecial sun.swing.MenuItemLayoutHelper$RectSize.<init>:()V
putfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
34: aload 0
new sun.swing.MenuItemLayoutHelper$RectSize
dup
invokespecial sun.swing.MenuItemLayoutHelper$RectSize.<init>:()V
putfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
35: aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.calcExtraWidths:()V
36: aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.calcWidthsAndHeights:()V
37: aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.setOriginalWidths:()V
38: aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxWidths:()V
39: aload 0
aload 0
aload 11
invokevirtual sun.swing.MenuItemLayoutHelper.getLeadingGap:(Ljava/lang/String;)I
putfield sun.swing.MenuItemLayoutHelper.leadingGap:I
40: aload 0
aload 4
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxTextOffset:(Ljava/awt/Rectangle;)V
41: return
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 42 0 this Lsun/swing/MenuItemLayoutHelper;
0 42 1 mi Ljavax/swing/JMenuItem;
0 42 2 checkIcon Ljavax/swing/Icon;
0 42 3 arrowIcon Ljavax/swing/Icon;
0 42 4 viewRect Ljava/awt/Rectangle;
0 42 5 gap I
0 42 6 accDelimiter Ljava/lang/String;
0 42 7 isLeftToRight Z
0 42 8 font Ljava/awt/Font;
0 42 9 accFont Ljava/awt/Font;
0 42 10 useCheckAndArrow Z
0 42 11 propertyPrefix Ljava/lang/String;
MethodParameters:
Name Flags
mi
checkIcon
arrowIcon
viewRect
gap
accDelimiter
isLeftToRight
font
accFont
useCheckAndArrow
propertyPrefix
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
invokevirtual sun.swing.MenuItemLayoutHelper.getLeftExtraWidth:(Ljava/lang/String;)I
putfield sun.swing.MenuItemLayoutHelper.leftTextExtraWidth:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
private int (java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
aload 0
getfield sun.swing.MenuItemLayoutHelper.fm:Ljava/awt/FontMetrics;
aload 1
invokestatic sun.swing.SwingUtilities2.getLeftSideBearing:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I
istore 2
start local 2 1: iload 2
ifge 3
2: iload 2
ineg
ireturn
3: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/swing/MenuItemLayoutHelper;
0 4 1 str Ljava/lang/String;
1 4 2 lsb I
MethodParameters:
Name Flags
str
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
putfield sun.swing.MenuItemLayoutHelper$RectSize.origWidth:I
1: aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
putfield sun.swing.MenuItemLayoutHelper$RectSize.origWidth:I
2: aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
putfield sun.swing.MenuItemLayoutHelper$RectSize.origWidth:I
3: aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
putfield sun.swing.MenuItemLayoutHelper$RectSize.origWidth:I
4: aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
putfield sun.swing.MenuItemLayoutHelper$RectSize.origWidth:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/MenuItemLayoutHelper;
private java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: ldc ""
astore 2
start local 2 1: aload 0
getfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getAccelerator:()Ljavax/swing/KeyStroke;
astore 3
start local 3 2: aload 3
ifnull 12
3: aload 3
invokevirtual javax.swing.KeyStroke.getModifiers:()I
istore 4
start local 4 4: iload 4
ifle 7
5: iload 4
invokestatic java.awt.event.KeyEvent.getKeyModifiersText:(I)Ljava/lang/String;
astore 2
6: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
7: StackMap locals: java.lang.String javax.swing.KeyStroke int
StackMap stack:
aload 3
invokevirtual javax.swing.KeyStroke.getKeyCode:()I
istore 5
start local 5 8: iload 5
ifeq 11
9: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokestatic java.awt.event.KeyEvent.getKeyText:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
10: goto 12
11: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual javax.swing.KeyStroke.getKeyChar:()C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 5 end local 4 12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/swing/MenuItemLayoutHelper;
0 13 1 acceleratorDelimiter Ljava/lang/String;
1 13 2 accText Ljava/lang/String;
2 13 3 accelerator Ljavax/swing/KeyStroke;
4 12 4 modifiers I
8 12 5 keyCode I
MethodParameters:
Name Flags
acceleratorDelimiter
private javax.swing.Icon (java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/swing/Icon;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: 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
2: ldc ".checkIconFactory"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.swing.MenuItemCheckIconFactory
4: astore 3
start local 3 5: aload 0
getfield sun.swing.MenuItemLayoutHelper.isColumnLayout:Z
ifeq 7
aload 0
getfield sun.swing.MenuItemLayoutHelper.useCheckAndArrow:Z
ifeq 7
aload 3
ifnull 7
6: aload 3
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkIcon:Ljavax/swing/Icon;
aload 1
invokeinterface sun.swing.MenuItemCheckIconFactory.isCompatible:(Ljava/lang/Object;Ljava/lang/String;)Z
ifne 8
7: StackMap locals: javax.swing.Icon sun.swing.MenuItemCheckIconFactory
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getIcon:()Ljavax/swing/Icon;
astore 2
8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/swing/MenuItemLayoutHelper;
0 9 1 propertyPrefix Ljava/lang/String;
1 9 2 icon Ljavax/swing/Icon;
5 9 3 iconFactory Lsun/swing/MenuItemCheckIconFactory;
MethodParameters:
Name Flags
propertyPrefix
private int (java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: 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 ".minimumTextOffset"
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;
2: astore 3
start local 3 3: aload 3
instanceof java.lang.Integer
ifeq 5
4: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 2
5: StackMap locals: int java.lang.Object
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/MenuItemLayoutHelper;
0 6 1 propertyPrefix Ljava/lang/String;
1 6 2 minimumTextOffset I
3 6 3 minimumTextOffsetObject Ljava/lang/Object;
MethodParameters:
Name Flags
propertyPrefix
private int (java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
istore 2
start local 2 1: 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 ".afterCheckIconGap"
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;
2: astore 3
start local 3 3: aload 3
instanceof java.lang.Integer
ifeq 5
4: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 2
5: StackMap locals: int java.lang.Object
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/MenuItemLayoutHelper;
0 6 1 propertyPrefix Ljava/lang/String;
1 6 2 afterCheckIconGap I
3 6 3 afterCheckIconGapObject Ljava/lang/Object;
MethodParameters:
Name Flags
propertyPrefix
private int (java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getMaxWidth:()I
ifle 2
1: aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.getCheckOffset:(Ljava/lang/String;)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/swing/MenuItemLayoutHelper;
0 3 1 propertyPrefix Ljava/lang/String;
MethodParameters:
Name Flags
propertyPrefix
private int (java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
istore 2
start local 2 1: 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 ".checkIconOffset"
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;
2: astore 3
start local 3 3: aload 3
instanceof java.lang.Integer
ifeq 5
4: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 2
5: StackMap locals: int java.lang.Object
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/MenuItemLayoutHelper;
0 6 1 propertyPrefix Ljava/lang/String;
1 6 2 checkIconOffset I
3 6 3 checkIconOffsetObject Ljava/lang/Object;
MethodParameters:
Name Flags
propertyPrefix
protected void calcWidthsAndHeights();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.icon:Ljavax/swing/Icon;
ifnull 3
1: aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.icon:Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconWidth:()I
putfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
2: aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.icon:Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconHeight:()I
putfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.accText:Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
4: aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
aload 0
getfield sun.swing.MenuItemLayoutHelper.accFm:Ljava/awt/FontMetrics;
aload 0
getfield sun.swing.MenuItemLayoutHelper.accText:Ljava/lang/String;
invokestatic sun.swing.SwingUtilities2.stringWidth:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I
putfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
5: aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.accFm:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
putfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
ifnonnull 9
7: aload 0
ldc ""
putfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
8: goto 20
StackMap locals:
StackMap stack:
9: aload 0
getfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
10: aload 0
getfield sun.swing.MenuItemLayoutHelper.htmlView:Ljavax/swing/text/View;
ifnull 18
11: aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
12: aload 0
getfield sun.swing.MenuItemLayoutHelper.htmlView:Ljavax/swing/text/View;
iconst_0
invokevirtual javax.swing.text.View.getPreferredSpan:(I)F
f2i
13: putfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
14: aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
15: aload 0
getfield sun.swing.MenuItemLayoutHelper.htmlView:Ljavax/swing/text/View;
iconst_1
invokevirtual javax.swing.text.View.getPreferredSpan:(I)F
f2i
16: putfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
17: goto 20
18: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
aload 0
getfield sun.swing.MenuItemLayoutHelper.fm:Ljava/awt/FontMetrics;
aload 0
getfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
invokestatic sun.swing.SwingUtilities2.stringWidth:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I
putfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
19: aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.fm:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
putfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.useCheckAndArrow:Z
ifeq 27
21: aload 0
getfield sun.swing.MenuItemLayoutHelper.checkIcon:Ljavax/swing/Icon;
ifnull 24
22: aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkIcon:Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconWidth:()I
putfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
23: aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkIcon:Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconHeight:()I
putfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
24: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowIcon:Ljavax/swing/Icon;
ifnull 27
25: aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowIcon:Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconWidth:()I
putfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
26: aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowIcon:Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconHeight:()I
putfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
27: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.isColumnLayout:Z
ifeq 33
28: aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
iadd
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
iadd
putfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
29: aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
iconst_5
newarray 10
dup
iconst_0
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
iastore
dup
iconst_1
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
iastore
dup
iconst_2
30: aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
iastore
dup
iconst_3
aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
iastore
dup
iconst_4
aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
iastore
31: invokestatic sun.swing.MenuItemLayoutHelper.max:([I)I
putfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
32: goto 44
33: StackMap locals:
StackMap stack:
new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 1
start local 1 34: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 2
start local 2 35: aload 0
getfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
aload 0
getfield sun.swing.MenuItemLayoutHelper.fm:Ljava/awt/FontMetrics;
aload 0
getfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
aload 0
getfield sun.swing.MenuItemLayoutHelper.icon:Ljavax/swing/Icon;
36: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.horizontalAlignment:I
37: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalTextPosition:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.horizontalTextPosition:I
38: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
aload 2
aload 1
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
39: invokestatic javax.swing.SwingUtilities.layoutCompoundLabel:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;
pop
40: aload 1
dup
getfield java.awt.Rectangle.width:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.leftTextExtraWidth:I
iadd
putfield java.awt.Rectangle.width:I
41: aload 2
aload 1
invokevirtual java.awt.Rectangle.union:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 3
start local 3 42: aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 3
getfield java.awt.Rectangle.height:I
putfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
43: aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 3
getfield java.awt.Rectangle.width:I
putfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
end local 3 end local 2 end local 1 44: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lsun/swing/MenuItemLayoutHelper;
34 44 1 textRect Ljava/awt/Rectangle;
35 44 2 iconRect Ljava/awt/Rectangle;
42 44 3 labelRect Ljava/awt/Rectangle;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getstatic sun.swing.MenuItemLayoutHelper.MAX_CHECK_WIDTH:Lsun/swing/StringUIClientPropertyKey;
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;Ljava/lang/Object;)V
1: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getstatic sun.swing.MenuItemLayoutHelper.MAX_ARROW_WIDTH:Lsun/swing/StringUIClientPropertyKey;
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;Ljava/lang/Object;)V
2: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getstatic sun.swing.MenuItemLayoutHelper.MAX_ACC_WIDTH:Lsun/swing/StringUIClientPropertyKey;
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;Ljava/lang/Object;)V
3: aload 0
getfield sun.swing.MenuItemLayoutHelper.isColumnLayout:Z
ifeq 16
4: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getstatic sun.swing.MenuItemLayoutHelper.MAX_ICON_WIDTH:Lsun/swing/StringUIClientPropertyKey;
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;Ljava/lang/Object;)V
5: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getstatic sun.swing.MenuItemLayoutHelper.MAX_TEXT_WIDTH:Lsun/swing/StringUIClientPropertyKey;
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;Ljava/lang/Object;)V
6: aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
istore 1
start local 1 7: aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getMaxWidth:()I
ifeq 9
8: aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getMaxWidth:()I
ifne 10
9: StackMap locals: int
StackMap stack:
iconst_0
istore 1
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
11: aload 0
getstatic sun.swing.MenuItemLayoutHelper.MAX_LABEL_WIDTH:Lsun/swing/StringUIClientPropertyKey;
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
12: aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
iadd
iload 1
iadd
13: invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxValue:(Ljava/lang/Object;I)I
14: putfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
end local 1 15: goto 22
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getstatic sun.swing.MenuItemLayoutHelper.MAX_ICON_WIDTH:Lsun/swing/StringUIClientPropertyKey;
invokevirtual sun.swing.MenuItemLayoutHelper.getParentIntProperty:(Ljava/lang/Object;)I
putfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
17: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getstatic sun.swing.MenuItemLayoutHelper.MAX_LABEL_WIDTH:Lsun/swing/StringUIClientPropertyKey;
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxWidth:(Lsun/swing/MenuItemLayoutHelper$RectSize;Ljava/lang/Object;)V
18: aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
isub
istore 1
start local 1 19: aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
ifle 21
20: iload 1
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
isub
istore 1
21: StackMap locals: int
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
aload 0
getstatic sun.swing.MenuItemLayoutHelper.MAX_TEXT_WIDTH:Lsun/swing/StringUIClientPropertyKey;
iload 1
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxValue:(Ljava/lang/Object;I)I
putfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
end local 1 22: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/swing/MenuItemLayoutHelper;
7 15 1 curGap I
19 22 1 candidateTextWidth I
protected void (sun.swing.MenuItemLayoutHelper$RectSize, java.lang.Object);
descriptor: (Lsun/swing/MenuItemLayoutHelper$RectSize;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 2
aload 1
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxValue:(Ljava/lang/Object;I)I
putfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 rs Lsun/swing/MenuItemLayoutHelper$RectSize;
0 2 2 key Ljava/lang/Object;
MethodParameters:
Name Flags
rs
key
protected int (java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.getParentIntProperty:(Ljava/lang/Object;)I
istore 3
start local 3 1: iload 2
iload 3
if_icmple 5
2: aload 0
getfield sun.swing.MenuItemLayoutHelper.miParent:Ljavax/swing/JComponent;
ifnull 4
3: aload 0
getfield sun.swing.MenuItemLayoutHelper.miParent:Ljavax/swing/JComponent;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
4: StackMap locals: int
StackMap stack:
iload 2
ireturn
5: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/MenuItemLayoutHelper;
0 6 1 propertyName Ljava/lang/Object;
0 6 2 value I
1 6 3 maxValue I
MethodParameters:
Name Flags
propertyName
value
protected int (java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield sun.swing.MenuItemLayoutHelper.miParent:Ljavax/swing/JComponent;
ifnull 3
2: aload 0
getfield sun.swing.MenuItemLayoutHelper.miParent:Ljavax/swing/JComponent;
aload 1
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
ifnull 4
aload 2
instanceof java.lang.Integer
ifne 5
4: StackMap locals:
StackMap stack:
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/MenuItemLayoutHelper;
0 6 1 propertyName Ljava/lang/Object;
1 6 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
propertyName
public static boolean isColumnLayout(boolean, javax.swing.JMenuItem);
descriptor: (ZLjavax/swing/JMenuItem;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.swing.MenuItemLayoutHelper.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 0
aload 1
invokevirtual javax.swing.JMenuItem.getHorizontalAlignment:()I
2: aload 1
invokevirtual javax.swing.JMenuItem.getHorizontalTextPosition:()I
aload 1
invokevirtual javax.swing.JMenuItem.getVerticalTextPosition:()I
3: invokestatic sun.swing.MenuItemLayoutHelper.isColumnLayout:(ZIII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 isLeftToRight Z
0 4 1 mi Ljavax/swing/JMenuItem;
MethodParameters:
Name Flags
isLeftToRight
mi
public static boolean isColumnLayout(boolean, int, int, int);
descriptor: (ZIII)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 0
ifeq 9
3: iload 1
bipush 10
if_icmpeq 6
4: iload 1
iconst_2
if_icmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iload 2
bipush 11
if_icmpeq 15
7: iload 2
iconst_4
if_icmpeq 15
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpeq 12
10: iload 1
iconst_4
if_icmpeq 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iload 2
bipush 11
if_icmpeq 15
13: iload 2
iconst_2
if_icmpeq 15
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 isLeftToRight Z
0 16 1 horizontalAlignment I
0 16 2 horizontalTextPosition I
0 16 3 verticalTextPosition I
MethodParameters:
Name Flags
isLeftToRight
horizontalAlignment
horizontalTextPosition
verticalTextPosition
private void (java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.isColumnLayout:Z
ifeq 1
aload 0
getfield sun.swing.MenuItemLayoutHelper.isLeftToRight:Z
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 1
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
iadd
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
iadd
3: aload 0
getfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
4: iadd
5: aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
6: iadd
7: aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
8: iadd
istore 2
start local 2 9: aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
ifne 11
10: iload 2
aload 0
getfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
isub
istore 2
11: StackMap locals: int
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
ifne 13
12: iload 2
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
isub
istore 2
13: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
if_icmpge 15
14: aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
istore 2
15: StackMap locals:
StackMap stack:
aload 0
getstatic sun.swing.SwingUtilities2.BASICMENUITEMUI_MAX_TEXT_OFFSET:Lsun/swing/StringUIClientPropertyKey;
iload 2
invokevirtual sun.swing.MenuItemLayoutHelper.calcMaxValue:(Ljava/lang/Object;I)I
pop
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/swing/MenuItemLayoutHelper;
0 17 1 viewRect Ljava/awt/Rectangle;
9 17 2 offset I
MethodParameters:
Name Flags
viewRect
public sun.swing.MenuItemLayoutHelper$LayoutResult ();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$LayoutResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.createLayoutResult:()Lsun/swing/MenuItemLayoutHelper$LayoutResult;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.prepareForLayout:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
2: aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.isColumnLayout:()Z
ifeq 8
3: aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.isLeftToRight:()Z
ifeq 6
4: aload 0
aload 1
aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.getLTRColumnAlignment:()Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
invokevirtual sun.swing.MenuItemLayoutHelper.doLTRColumnLayout:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
5: goto 12
6: StackMap locals: sun.swing.MenuItemLayoutHelper$LayoutResult
StackMap stack:
aload 0
aload 1
aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.getRTLColumnAlignment:()Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
invokevirtual sun.swing.MenuItemLayoutHelper.doRTLColumnLayout:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
7: goto 12
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.isLeftToRight:()Z
ifeq 11
9: aload 0
aload 1
aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.getLTRColumnAlignment:()Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
invokevirtual sun.swing.MenuItemLayoutHelper.doLTRComplexLayout:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
invokevirtual sun.swing.MenuItemLayoutHelper.getRTLColumnAlignment:()Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
invokevirtual sun.swing.MenuItemLayoutHelper.doRTLComplexLayout:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
12: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.alignAccCheckAndArrowVertically:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
13: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/swing/MenuItemLayoutHelper;
1 14 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
private sun.swing.MenuItemLayoutHelper$LayoutResult ();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$LayoutResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=1, args_size=1
start local 0 0: new sun.swing.MenuItemLayoutHelper$LayoutResult
dup
1: new java.awt.Rectangle
dup
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
invokespecial java.awt.Rectangle.<init>:(II)V
2: new java.awt.Rectangle
dup
aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
invokespecial java.awt.Rectangle.<init>:(II)V
3: new java.awt.Rectangle
dup
aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
invokespecial java.awt.Rectangle.<init>:(II)V
4: new java.awt.Rectangle
dup
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
invokespecial java.awt.Rectangle.<init>:(II)V
5: new java.awt.Rectangle
dup
aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
invokespecial java.awt.Rectangle.<init>:(II)V
6: new java.awt.Rectangle
dup
aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.width:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.height:I
invokespecial java.awt.Rectangle.<init>:(II)V
7: invokespecial sun.swing.MenuItemLayoutHelper$LayoutResult.<init>:(Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/swing/MenuItemLayoutHelper;
public sun.swing.MenuItemLayoutHelper$ColumnAlignment getLTRColumnAlignment();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.swing.MenuItemLayoutHelper$ColumnAlignment.LEFT_ALIGNMENT:Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public sun.swing.MenuItemLayoutHelper$ColumnAlignment getRTLColumnAlignment();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.swing.MenuItemLayoutHelper$ColumnAlignment.RIGHT_ALIGNMENT:Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
protected void (sun.swing.MenuItemLayoutHelper$LayoutResult);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
putfield java.awt.Rectangle.width:I
1: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
putfield java.awt.Rectangle.width:I
2: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
putfield java.awt.Rectangle.width:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/swing/MenuItemLayoutHelper;
0 4 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
MethodParameters:
Name Flags
lr
private void alignAccCheckAndArrowVertically(sun.swing.MenuItemLayoutHelper$LayoutResult);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
i2f
1: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fadd
2: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
3: putfield java.awt.Rectangle.y:I
4: aload 0
aload 1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
invokevirtual sun.swing.MenuItemLayoutHelper.fixVerticalAlignment:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Rectangle;)V
5: aload 0
getfield sun.swing.MenuItemLayoutHelper.useCheckAndArrow:Z
ifeq 16
6: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
i2f
7: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fadd
8: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
9: putfield java.awt.Rectangle.y:I
10: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
i2f
11: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fadd
12: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
13: putfield java.awt.Rectangle.y:I
14: aload 0
aload 1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
invokevirtual sun.swing.MenuItemLayoutHelper.fixVerticalAlignment:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Rectangle;)V
15: aload 0
aload 1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
invokevirtual sun.swing.MenuItemLayoutHelper.fixVerticalAlignment:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Rectangle;)V
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/swing/MenuItemLayoutHelper;
0 17 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
MethodParameters:
Name Flags
lr
private void (sun.swing.MenuItemLayoutHelper$LayoutResult, java.awt.Rectangle);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Rectangle;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 2
getfield java.awt.Rectangle.y:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
if_icmpge 4
2: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Rectangle.y:I
isub
istore 3
3: goto 6
StackMap locals: int
StackMap stack:
4: aload 2
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Rectangle.height:I
iadd
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
if_icmple 6
5: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
aload 2
getfield java.awt.Rectangle.y:I
isub
aload 2
getfield java.awt.Rectangle.height:I
isub
istore 3
6: StackMap locals:
StackMap stack:
iload 3
ifeq 13
7: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.y:I
iload 3
iadd
putfield java.awt.Rectangle.y:I
8: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.y:I
iload 3
iadd
putfield java.awt.Rectangle.y:I
9: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.y:I
iload 3
iadd
putfield java.awt.Rectangle.y:I
10: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.y:I
iload 3
iadd
putfield java.awt.Rectangle.y:I
11: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.y:I
iload 3
iadd
putfield java.awt.Rectangle.y:I
12: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.y:I
iload 3
iadd
putfield java.awt.Rectangle.y:I
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/swing/MenuItemLayoutHelper;
0 14 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
0 14 2 r Ljava/awt/Rectangle;
1 14 3 delta I
MethodParameters:
Name Flags
lr
r
private void doLTRColumnLayout(sun.swing.MenuItemLayoutHelper$LayoutResult, sun.swing.MenuItemLayoutHelper$ColumnAlignment);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
putfield java.awt.Rectangle.width:I
1: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
putfield java.awt.Rectangle.width:I
2: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
iconst_3
anewarray java.awt.Rectangle
dup
iconst_0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
aastore
dup
iconst_1
3: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
aastore
dup
iconst_2
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aastore
4: invokevirtual sun.swing.MenuItemLayoutHelper.calcXPositionsLTR:(III[Ljava/awt/Rectangle;)V
5: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
ifle 8
6: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
isub
iadd
putfield java.awt.Rectangle.x:I
7: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
isub
iadd
putfield java.awt.Rectangle.x:I
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
iconst_2
anewarray java.awt.Rectangle
dup
iconst_0
9: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
aastore
dup
iconst_1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
aastore
10: invokevirtual sun.swing.MenuItemLayoutHelper.calcXPositionsRTL:(III[Ljava/awt/Rectangle;)V
11: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
isub
istore 3
start local 3 12: aload 0
getfield sun.swing.MenuItemLayoutHelper.isTopLevelMenu:Z
ifne 14
iload 3
aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
if_icmpge 14
13: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
iload 3
isub
iadd
putfield java.awt.Rectangle.x:I
14: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.alignRects:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
15: aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.calcTextAndIconYPositions:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
16: aload 1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
invokevirtual java.awt.Rectangle.union:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.setLabelRect:(Ljava/awt/Rectangle;)V
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/swing/MenuItemLayoutHelper;
0 18 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
0 18 2 alignment Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
12 18 3 textOffset I
MethodParameters:
Name Flags
lr
alignment
private void doLTRComplexLayout(sun.swing.MenuItemLayoutHelper$LayoutResult, sun.swing.MenuItemLayoutHelper$ColumnAlignment);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
putfield java.awt.Rectangle.width:I
1: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
iconst_2
anewarray java.awt.Rectangle
dup
iconst_0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
aastore
dup
iconst_1
2: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
aastore
3: invokevirtual sun.swing.MenuItemLayoutHelper.calcXPositionsLTR:(III[Ljava/awt/Rectangle;)V
4: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
ifle 6
5: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
isub
iadd
putfield java.awt.Rectangle.x:I
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
7: aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
iconst_2
anewarray java.awt.Rectangle
dup
iconst_0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
aastore
dup
iconst_1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
aastore
8: invokevirtual sun.swing.MenuItemLayoutHelper.calcXPositionsRTL:(III[Ljava/awt/Rectangle;)V
9: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
isub
istore 3
start local 3 10: aload 0
getfield sun.swing.MenuItemLayoutHelper.isTopLevelMenu:Z
ifne 12
iload 3
aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
if_icmpge 12
11: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
iload 3
isub
iadd
putfield java.awt.Rectangle.x:I
12: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.alignRects:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
13: aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.calcLabelYPosition:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
14: aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.layoutIconAndTextInLabelRect:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/swing/MenuItemLayoutHelper;
0 16 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
0 16 2 alignment Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
10 16 3 labelOffset I
MethodParameters:
Name Flags
lr
alignment
private void doRTLColumnLayout(sun.swing.MenuItemLayoutHelper$LayoutResult, sun.swing.MenuItemLayoutHelper$ColumnAlignment);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
putfield java.awt.Rectangle.width:I
1: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
putfield java.awt.Rectangle.width:I
2: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
iconst_3
anewarray java.awt.Rectangle
dup
iconst_0
3: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
aastore
dup
iconst_1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
aastore
dup
iconst_2
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aastore
4: invokevirtual sun.swing.MenuItemLayoutHelper.calcXPositionsRTL:(III[Ljava/awt/Rectangle;)V
5: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
ifle 8
6: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
isub
isub
putfield java.awt.Rectangle.x:I
7: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
isub
isub
putfield java.awt.Rectangle.x:I
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
iconst_2
anewarray java.awt.Rectangle
dup
iconst_0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
aastore
dup
iconst_1
9: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
aastore
10: invokevirtual sun.swing.MenuItemLayoutHelper.calcXPositionsLTR:(III[Ljava/awt/Rectangle;)V
11: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
12: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
13: isub
istore 3
start local 3 14: aload 0
getfield sun.swing.MenuItemLayoutHelper.isTopLevelMenu:Z
ifne 16
iload 3
aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
if_icmpge 16
15: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
iload 3
isub
isub
putfield java.awt.Rectangle.x:I
16: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.alignRects:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
17: aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.calcTextAndIconYPositions:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
18: aload 1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
invokevirtual java.awt.Rectangle.union:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.setLabelRect:(Ljava/awt/Rectangle;)V
19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/swing/MenuItemLayoutHelper;
0 20 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
0 20 2 alignment Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
14 20 3 textOffset I
MethodParameters:
Name Flags
lr
alignment
private void doRTLComplexLayout(sun.swing.MenuItemLayoutHelper$LayoutResult, sun.swing.MenuItemLayoutHelper$ColumnAlignment);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
putfield java.awt.Rectangle.width:I
1: aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
iconst_2
anewarray java.awt.Rectangle
dup
iconst_0
2: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
aastore
dup
iconst_1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
aastore
3: invokevirtual sun.swing.MenuItemLayoutHelper.calcXPositionsRTL:(III[Ljava/awt/Rectangle;)V
4: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
ifle 6
5: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
isub
isub
putfield java.awt.Rectangle.x:I
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
iconst_2
anewarray java.awt.Rectangle
dup
iconst_0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
aastore
dup
iconst_1
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
aastore
invokevirtual sun.swing.MenuItemLayoutHelper.calcXPositionsLTR:(III[Ljava/awt/Rectangle;)V
7: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
8: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
9: isub
istore 3
start local 3 10: aload 0
getfield sun.swing.MenuItemLayoutHelper.isTopLevelMenu:Z
ifne 12
iload 3
aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
if_icmpge 12
11: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
iload 3
isub
isub
putfield java.awt.Rectangle.x:I
12: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper.alignRects:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
13: aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.calcLabelYPosition:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
14: aload 0
aload 1
invokevirtual sun.swing.MenuItemLayoutHelper.layoutIconAndTextInLabelRect:(Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/swing/MenuItemLayoutHelper;
0 16 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
0 16 2 alignment Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
10 16 3 labelOffset I
MethodParameters:
Name Flags
lr
alignment
private void alignRects(sun.swing.MenuItemLayoutHelper$LayoutResult, sun.swing.MenuItemLayoutHelper$ColumnAlignment);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.checkRect:Ljava/awt/Rectangle;
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper$ColumnAlignment.getCheckAlignment:()I
1: aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getOrigWidth:()I
2: invokevirtual sun.swing.MenuItemLayoutHelper.alignRect:(Ljava/awt/Rectangle;II)V
3: aload 0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper$ColumnAlignment.getIconAlignment:()I
4: aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getOrigWidth:()I
5: invokevirtual sun.swing.MenuItemLayoutHelper.alignRect:(Ljava/awt/Rectangle;II)V
6: aload 0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper$ColumnAlignment.getTextAlignment:()I
7: aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getOrigWidth:()I
8: invokevirtual sun.swing.MenuItemLayoutHelper.alignRect:(Ljava/awt/Rectangle;II)V
9: aload 0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.accRect:Ljava/awt/Rectangle;
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper$ColumnAlignment.getAccAlignment:()I
10: aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getOrigWidth:()I
11: invokevirtual sun.swing.MenuItemLayoutHelper.alignRect:(Ljava/awt/Rectangle;II)V
12: aload 0
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.arrowRect:Ljava/awt/Rectangle;
aload 2
invokevirtual sun.swing.MenuItemLayoutHelper$ColumnAlignment.getArrowAlignment:()I
13: aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
invokevirtual sun.swing.MenuItemLayoutHelper$RectSize.getOrigWidth:()I
14: invokevirtual sun.swing.MenuItemLayoutHelper.alignRect:(Ljava/awt/Rectangle;II)V
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/swing/MenuItemLayoutHelper;
0 16 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
0 16 2 alignment Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
MethodParameters:
Name Flags
lr
alignment
private void (java.awt.Rectangle, int, int);
descriptor: (Ljava/awt/Rectangle;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iconst_4
if_icmpne 2
1: aload 1
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.width:I
iadd
iload 3
isub
putfield java.awt.Rectangle.x:I
2: StackMap locals:
StackMap stack:
aload 1
iload 3
putfield java.awt.Rectangle.width:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/swing/MenuItemLayoutHelper;
0 4 1 rect Ljava/awt/Rectangle;
0 4 2 alignment I
0 4 3 origWidth I
MethodParameters:
Name Flags
rect
alignment
origWidth
protected void layoutIconAndTextInLabelRect(sun.swing.MenuItemLayoutHelper$LayoutResult);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.setTextRect:(Ljava/awt/Rectangle;)V
1: aload 1
new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
invokevirtual sun.swing.MenuItemLayoutHelper$LayoutResult.setIconRect:(Ljava/awt/Rectangle;)V
2: aload 0
getfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
aload 0
getfield sun.swing.MenuItemLayoutHelper.fm:Ljava/awt/FontMetrics;
aload 0
getfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
aload 0
getfield sun.swing.MenuItemLayoutHelper.icon:Ljavax/swing/Icon;
aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.horizontalAlignment:I
3: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalTextPosition:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.horizontalTextPosition:I
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
4: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
5: invokestatic javax.swing.SwingUtilities.layoutCompoundLabel:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/swing/MenuItemLayoutHelper;
0 7 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
MethodParameters:
Name Flags
lr
private void (int, int, int, java.awt.Rectangle[]);
descriptor: (III[Ljava/awt/Rectangle;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=3, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 1
iload 2
iadd
istore 5
start local 5 1: aload 4
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 7
StackMap locals: sun.swing.MenuItemLayoutHelper int int int java.awt.Rectangle[] int top int int java.awt.Rectangle[]
StackMap stack:
2: aload 9
iload 7
aaload
astore 6
start local 6 3: aload 6
iload 5
putfield java.awt.Rectangle.x:I
4: aload 6
getfield java.awt.Rectangle.width:I
ifle 6
5: iload 5
aload 6
getfield java.awt.Rectangle.width:I
iload 3
iadd
iadd
istore 5
end local 6 6: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
7: iload 7
iload 8
if_icmplt 2
8: 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 9 0 this Lsun/swing/MenuItemLayoutHelper;
0 9 1 startXPos I
0 9 2 leadingGap I
0 9 3 gap I
0 9 4 rects [Ljava/awt/Rectangle;
1 9 5 curXPos I
3 6 6 rect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
startXPos
leadingGap
gap
rects
private void (int, int, int, java.awt.Rectangle[]);
descriptor: (III[Ljava/awt/Rectangle;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=3, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 1
iload 2
isub
istore 5
start local 5 1: aload 4
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 7
StackMap locals: sun.swing.MenuItemLayoutHelper int int int java.awt.Rectangle[] int top int int java.awt.Rectangle[]
StackMap stack:
2: aload 9
iload 7
aaload
astore 6
start local 6 3: aload 6
iload 5
aload 6
getfield java.awt.Rectangle.width:I
isub
putfield java.awt.Rectangle.x:I
4: aload 6
getfield java.awt.Rectangle.width:I
ifle 6
5: iload 5
aload 6
getfield java.awt.Rectangle.width:I
iload 3
iadd
isub
istore 5
end local 6 6: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
7: iload 7
iload 8
if_icmplt 2
8: 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 9 0 this Lsun/swing/MenuItemLayoutHelper;
0 9 1 startXPos I
0 9 2 leadingGap I
0 9 3 gap I
0 9 4 rects [Ljava/awt/Rectangle;
1 9 5 curXPos I
3 6 6 rect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
startXPos
leadingGap
gap
rects
private void calcTextAndIconYPositions(sun.swing.MenuItemLayoutHelper$LayoutResult);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
iconst_1
if_icmpne 10
1: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
i2f
2: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fadd
3: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
4: putfield java.awt.Rectangle.y:I
5: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
i2f
6: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fadd
7: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
8: putfield java.awt.Rectangle.y:I
9: goto 31
StackMap locals:
StackMap stack:
10: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
ifne 20
11: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
i2f
12: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fadd
13: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
14: putfield java.awt.Rectangle.y:I
15: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
i2f
16: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fadd
17: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
18: putfield java.awt.Rectangle.y:I
19: goto 31
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
iconst_3
if_icmpne 31
21: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
22: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
i2f
23: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
24: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.textRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
25: putfield java.awt.Rectangle.y:I
26: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
27: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
i2f
28: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
29: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.iconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
30: putfield java.awt.Rectangle.y:I
31: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/swing/MenuItemLayoutHelper;
0 32 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
MethodParameters:
Name Flags
lr
private void (sun.swing.MenuItemLayoutHelper$LayoutResult);
descriptor: (Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
iconst_1
if_icmpne 3
1: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
putfield java.awt.Rectangle.y:I
2: goto 13
StackMap locals:
StackMap stack:
3: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
ifne 9
4: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
i2f
5: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fadd
6: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
i2f
fconst_2
fdiv
fsub
f2i
7: putfield java.awt.Rectangle.y:I
8: goto 13
StackMap locals:
StackMap stack:
9: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
iconst_3
if_icmpne 13
10: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
11: aload 1
getfield sun.swing.MenuItemLayoutHelper$LayoutResult.labelRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
isub
12: putfield java.awt.Rectangle.y:I
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/swing/MenuItemLayoutHelper;
0 14 1 lr Lsun/swing/MenuItemLayoutHelper$LayoutResult;
MethodParameters:
Name Flags
lr
public static javax.swing.JComponent (javax.swing.JMenuItem);
descriptor: (Ljavax/swing/JMenuItem;)Ljavax/swing/JComponent;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JMenuItem.getParent:()Ljava/awt/Container;
astore 1
start local 1 1: aload 1
instanceof javax.swing.JComponent
ifeq 5
2: aload 0
instanceof javax.swing.JMenu
ifeq 4
3: aload 0
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.isTopLevelMenu:()Z
ifne 5
4: StackMap locals: java.awt.Container
StackMap stack:
aload 1
checkcast javax.swing.JComponent
areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 menuItem Ljavax/swing/JMenuItem;
1 6 1 parent Ljava/awt/Container;
MethodParameters:
Name Flags
menuItem
public static void (javax.swing.JMenuItem);
descriptor: (Ljavax/swing/JMenuItem;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.swing.MenuItemLayoutHelper.getMenuItemParent:(Ljavax/swing/JMenuItem;)Ljavax/swing/JComponent;
invokestatic sun.swing.MenuItemLayoutHelper.clearUsedClientProperties:(Ljavax/swing/JComponent;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 menuItem Ljavax/swing/JMenuItem;
MethodParameters:
Name Flags
menuItem
public static void (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 8
1: aload 0
getstatic sun.swing.MenuItemLayoutHelper.MAX_ARROW_WIDTH:Lsun/swing/StringUIClientPropertyKey;
aconst_null
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 0
getstatic sun.swing.MenuItemLayoutHelper.MAX_CHECK_WIDTH:Lsun/swing/StringUIClientPropertyKey;
aconst_null
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
3: aload 0
getstatic sun.swing.MenuItemLayoutHelper.MAX_ACC_WIDTH:Lsun/swing/StringUIClientPropertyKey;
aconst_null
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 0
getstatic sun.swing.MenuItemLayoutHelper.MAX_TEXT_WIDTH:Lsun/swing/StringUIClientPropertyKey;
aconst_null
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
5: aload 0
getstatic sun.swing.MenuItemLayoutHelper.MAX_ICON_WIDTH:Lsun/swing/StringUIClientPropertyKey;
aconst_null
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
6: aload 0
getstatic sun.swing.MenuItemLayoutHelper.MAX_LABEL_WIDTH:Lsun/swing/StringUIClientPropertyKey;
aconst_null
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
7: aload 0
getstatic sun.swing.SwingUtilities2.BASICMENUITEMUI_MAX_TEXT_OFFSET:Lsun/swing/StringUIClientPropertyKey;
aconst_null
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public static int (int[]);
descriptor: ([I)I
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=1
start local 0 0: ldc -2147483648
istore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: int[] int top int int int[]
StackMap stack:
2: aload 5
iload 3
iaload
istore 2
start local 2 3: iload 2
iload 1
if_icmple 5
4: iload 2
istore 1
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 values [I
1 8 1 maxValue I
3 5 2 i I
MethodParameters:
Name Flags
values
public static java.awt.Rectangle ();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.awt.Rectangle
dup
iconst_0
iconst_0
ldc 2147483647
ldc 2147483647
invokespecial java.awt.Rectangle.<init>:(IIII)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void (sun.swing.MenuItemLayoutHelper$RectSize, int, java.awt.Dimension);
descriptor: (Lsun/swing/MenuItemLayoutHelper$RectSize;ILjava/awt/Dimension;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
ifle 2
1: aload 2
dup
getfield java.awt.Dimension.width:I
aload 0
getfield sun.swing.MenuItemLayoutHelper$RectSize.maxWidth:I
iload 1
iadd
iadd
putfield java.awt.Dimension.width:I
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 size Lsun/swing/MenuItemLayoutHelper$RectSize;
0 3 1 gap I
0 3 2 result Ljava/awt/Dimension;
MethodParameters:
Name Flags
size
gap
result
public static void (int, int, java.awt.Dimension);
descriptor: (IILjava/awt/Dimension;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifle 2
1: aload 2
dup
getfield java.awt.Dimension.width:I
iload 0
iload 1
iadd
iadd
putfield java.awt.Dimension.width:I
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 width I
0 3 1 gap I
0 3 2 result Ljava/awt/Dimension;
MethodParameters:
Name Flags
width
gap
result
public javax.swing.JMenuItem ();
descriptor: ()Ljavax/swing/JMenuItem;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public javax.swing.JComponent ();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.miParent:Ljavax/swing/JComponent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public java.awt.Font ();
descriptor: ()Ljava/awt/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.font:Ljava/awt/Font;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public java.awt.Font ();
descriptor: ()Ljava/awt/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.accFont:Ljava/awt/Font;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public java.awt.FontMetrics ();
descriptor: ()Ljava/awt/FontMetrics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.fm:Ljava/awt/FontMetrics;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public java.awt.FontMetrics ();
descriptor: ()Ljava/awt/FontMetrics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.accFm:Ljava/awt/FontMetrics;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public javax.swing.Icon ();
descriptor: ()Ljavax/swing/Icon;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.icon:Ljavax/swing/Icon;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public javax.swing.Icon ();
descriptor: ()Ljavax/swing/Icon;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.checkIcon:Ljavax/swing/Icon;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public javax.swing.Icon ();
descriptor: ()Ljavax/swing/Icon;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowIcon:Ljavax/swing/Icon;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.accText:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public boolean isColumnLayout();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.isColumnLayout:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public boolean useCheckAndArrow();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.useCheckAndArrow:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.isLeftToRight:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.isTopLevelMenu:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public javax.swing.text.View ();
descriptor: ()Ljavax/swing/text/View;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.htmlView:Ljavax/swing/text/View;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.horizontalAlignment:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.verticalTextPosition:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.horizontalTextPosition:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.gap:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.leadingGap:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public java.awt.Rectangle ();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public sun.swing.MenuItemLayoutHelper$RectSize ();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public sun.swing.MenuItemLayoutHelper$RectSize ();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public sun.swing.MenuItemLayoutHelper$RectSize ();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public sun.swing.MenuItemLayoutHelper$RectSize ();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public sun.swing.MenuItemLayoutHelper$RectSize ();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public sun.swing.MenuItemLayoutHelper$RectSize ();
descriptor: ()Lsun/swing/MenuItemLayoutHelper$RectSize;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
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 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.mi:Ljavax/swing/JMenuItem;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 mi Ljavax/swing/JMenuItem;
MethodParameters:
Name Flags
mi
protected void (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.miParent:Ljavax/swing/JComponent;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 miParent Ljavax/swing/JComponent;
MethodParameters:
Name Flags
miParent
protected void (java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.font:Ljava/awt/Font;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 font Ljava/awt/Font;
MethodParameters:
Name Flags
font
protected void (java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.accFont:Ljava/awt/Font;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 accFont Ljava/awt/Font;
MethodParameters:
Name Flags
accFont
protected void (java.awt.FontMetrics);
descriptor: (Ljava/awt/FontMetrics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.fm:Ljava/awt/FontMetrics;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 fm Ljava/awt/FontMetrics;
MethodParameters:
Name Flags
fm
protected void (java.awt.FontMetrics);
descriptor: (Ljava/awt/FontMetrics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.accFm:Ljava/awt/FontMetrics;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 accFm Ljava/awt/FontMetrics;
MethodParameters:
Name Flags
accFm
protected void (javax.swing.Icon);
descriptor: (Ljavax/swing/Icon;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.icon:Ljavax/swing/Icon;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 icon Ljavax/swing/Icon;
MethodParameters:
Name Flags
icon
protected void (javax.swing.Icon);
descriptor: (Ljavax/swing/Icon;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.checkIcon:Ljavax/swing/Icon;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 checkIcon Ljavax/swing/Icon;
MethodParameters:
Name Flags
checkIcon
protected void (javax.swing.Icon);
descriptor: (Ljavax/swing/Icon;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.arrowIcon:Ljavax/swing/Icon;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 arrowIcon Ljavax/swing/Icon;
MethodParameters:
Name Flags
arrowIcon
protected void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.text:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
protected void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.accText:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 accText Ljava/lang/String;
MethodParameters:
Name Flags
accText
protected void setColumnLayout(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.isColumnLayout:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 columnLayout Z
MethodParameters:
Name Flags
columnLayout
protected void setUseCheckAndArrow(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.useCheckAndArrow:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 useCheckAndArrow Z
MethodParameters:
Name Flags
useCheckAndArrow
protected void (boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.isLeftToRight:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 leftToRight Z
MethodParameters:
Name Flags
leftToRight
protected void (boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.isTopLevelMenu:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 topLevelMenu Z
MethodParameters:
Name Flags
topLevelMenu
protected void (javax.swing.text.View);
descriptor: (Ljavax/swing/text/View;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.htmlView:Ljavax/swing/text/View;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 htmlView Ljavax/swing/text/View;
MethodParameters:
Name Flags
htmlView
protected void (int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.verticalAlignment:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 verticalAlignment I
MethodParameters:
Name Flags
verticalAlignment
protected void (int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.horizontalAlignment:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 horizontalAlignment I
MethodParameters:
Name Flags
horizontalAlignment
protected void (int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.verticalTextPosition:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 verticalTextPosition I
MethodParameters:
Name Flags
verticalTextPosition
protected void (int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.horizontalTextPosition:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 horizontalTextPosition I
MethodParameters:
Name Flags
horizontalTextPosition
protected void (int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.gap:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 gap I
MethodParameters:
Name Flags
gap
protected void (int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.leadingGap:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 leadingGap I
MethodParameters:
Name Flags
leadingGap
protected void (int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.afterCheckIconGap:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 afterCheckIconGap I
MethodParameters:
Name Flags
afterCheckIconGap
protected void (int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.MenuItemLayoutHelper.minTextOffset:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 minTextOffset I
MethodParameters:
Name Flags
minTextOffset
protected void (java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.viewRect:Ljava/awt/Rectangle;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 viewRect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
viewRect
protected void (sun.swing.MenuItemLayoutHelper$RectSize);
descriptor: (Lsun/swing/MenuItemLayoutHelper$RectSize;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.iconSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 iconSize Lsun/swing/MenuItemLayoutHelper$RectSize;
MethodParameters:
Name Flags
iconSize
protected void (sun.swing.MenuItemLayoutHelper$RectSize);
descriptor: (Lsun/swing/MenuItemLayoutHelper$RectSize;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.textSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 textSize Lsun/swing/MenuItemLayoutHelper$RectSize;
MethodParameters:
Name Flags
textSize
protected void (sun.swing.MenuItemLayoutHelper$RectSize);
descriptor: (Lsun/swing/MenuItemLayoutHelper$RectSize;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.accSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 accSize Lsun/swing/MenuItemLayoutHelper$RectSize;
MethodParameters:
Name Flags
accSize
protected void (sun.swing.MenuItemLayoutHelper$RectSize);
descriptor: (Lsun/swing/MenuItemLayoutHelper$RectSize;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.checkSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 checkSize Lsun/swing/MenuItemLayoutHelper$RectSize;
MethodParameters:
Name Flags
checkSize
protected void (sun.swing.MenuItemLayoutHelper$RectSize);
descriptor: (Lsun/swing/MenuItemLayoutHelper$RectSize;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.arrowSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 arrowSize Lsun/swing/MenuItemLayoutHelper$RectSize;
MethodParameters:
Name Flags
arrowSize
protected void (sun.swing.MenuItemLayoutHelper$RectSize);
descriptor: (Lsun/swing/MenuItemLayoutHelper$RectSize;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.swing.MenuItemLayoutHelper.labelSize:Lsun/swing/MenuItemLayoutHelper$RectSize;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/MenuItemLayoutHelper;
0 2 1 labelSize Lsun/swing/MenuItemLayoutHelper$RectSize;
MethodParameters:
Name Flags
labelSize
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.MenuItemLayoutHelper.leftTextExtraWidth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/MenuItemLayoutHelper;
public static boolean useCheckAndArrow(javax.swing.JMenuItem);
descriptor: (Ljavax/swing/JMenuItem;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
instanceof javax.swing.JMenu
ifeq 4
2: aload 0
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.isTopLevelMenu:()Z
ifeq 4
3: iconst_0
istore 1
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 menuItem Ljavax/swing/JMenuItem;
1 5 1 b Z
MethodParameters:
Name Flags
menuItem
}
SourceFile: "MenuItemLayoutHelper.java"
NestMembers:
sun.swing.MenuItemLayoutHelper$ColumnAlignment sun.swing.MenuItemLayoutHelper$LayoutResult sun.swing.MenuItemLayoutHelper$RectSize
InnerClasses:
public ColumnAlignment = sun.swing.MenuItemLayoutHelper$ColumnAlignment of sun.swing.MenuItemLayoutHelper
public LayoutResult = sun.swing.MenuItemLayoutHelper$LayoutResult of sun.swing.MenuItemLayoutHelper
public RectSize = sun.swing.MenuItemLayoutHelper$RectSize of sun.swing.MenuItemLayoutHelper