public class extends javax.swing.JComponent implements javax.accessibility.Accessible, javax.swing.MenuElement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JMenuBar
super_class: javax.swing.JComponent
{
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "MenuBarUI"
private transient javax.swing.SingleSelectionModel ;
descriptor: Ljavax/swing/SingleSelectionModel;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.awt.Insets ;
descriptor: Ljava/awt/Insets;
flags: (0x0002) ACC_PRIVATE
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JComponent.<init>:()V
1: aload 0
iconst_1
putfield javax.swing.JMenuBar.paintBorder:Z
2: aload 0
aconst_null
putfield javax.swing.JMenuBar.margin:Ljava/awt/Insets;
3: aload 0
iconst_0
invokevirtual javax.swing.JMenuBar.setFocusTraversalKeysEnabled:(Z)V
4: aload 0
new javax.swing.DefaultSingleSelectionModel
dup
invokespecial javax.swing.DefaultSingleSelectionModel.<init>:()V
invokevirtual javax.swing.JMenuBar.setSelectionModel:(Ljavax/swing/SingleSelectionModel;)V
5: aload 0
invokevirtual javax.swing.JMenuBar.updateUI:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JMenuBar;
public javax.swing.plaf.MenuBarUI ();
descriptor: ()Ljavax/swing/plaf/MenuBarUI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JMenuBar.ui:Ljavax/swing/plaf/ComponentUI;
checkcast javax.swing.plaf.MenuBarUI
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
public void (javax.swing.plaf.MenuBarUI);
descriptor: (Ljavax/swing/plaf/MenuBarUI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.JComponent.setUI:(Ljavax/swing/plaf/ComponentUI;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JMenuBar;
0 2 1 ui Ljavax/swing/plaf/MenuBarUI;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(hidden = true, visualUpdate = true, description = "The UI object that implements the Component's LookAndFeel.")
MethodParameters:
Name Flags
ui
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 1
start local 1 1: aload 1
instanceof sun.awt.SunToolkit
ifeq 3
2: aload 1
checkcast sun.awt.SunToolkit
invokevirtual sun.awt.SunToolkit.updateScreenMenuBarUI:()V
3: StackMap locals: java.awt.Toolkit
StackMap stack:
aload 0
aload 0
invokestatic javax.swing.UIManager.getUI:(Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
checkcast javax.swing.plaf.MenuBarUI
invokevirtual javax.swing.JMenuBar.setUI:(Ljavax/swing/plaf/MenuBarUI;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JMenuBar;
1 5 1 tk Ljava/awt/Toolkit;
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "MenuBarUI"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
public javax.swing.SingleSelectionModel ();
descriptor: ()Ljavax/swing/SingleSelectionModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JMenuBar.selectionModel:Ljavax/swing/SingleSelectionModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
public void (javax.swing.SingleSelectionModel);
descriptor: (Ljavax/swing/SingleSelectionModel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JMenuBar.selectionModel:Ljavax/swing/SingleSelectionModel;
astore 2
start local 2 1: aload 0
aload 1
putfield javax.swing.JMenuBar.selectionModel:Ljavax/swing/SingleSelectionModel;
2: aload 0
ldc "selectionModel"
aload 2
aload 0
getfield javax.swing.JMenuBar.selectionModel:Ljavax/swing/SingleSelectionModel;
invokevirtual javax.swing.JMenuBar.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JMenuBar;
0 4 1 model Ljavax/swing/SingleSelectionModel;
1 4 2 oldValue Ljavax/swing/SingleSelectionModel;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(description = "The selection model, recording which child is selected.")
MethodParameters:
Name Flags
model
public javax.swing.JMenu (javax.swing.JMenu);
descriptor: (Ljavax/swing/JMenu;)Ljavax/swing/JMenu;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.JComponent.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JMenuBar;
0 2 1 c Ljavax/swing/JMenu;
MethodParameters:
Name Flags
c
public javax.swing.JMenu (int);
descriptor: (I)Ljavax/swing/JMenu;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.JMenuBar.getComponentAtIndex:(I)Ljava/awt/Component;
astore 2
start local 2 1: aload 2
instanceof javax.swing.JMenu
ifeq 3
2: aload 2
checkcast javax.swing.JMenu
areturn
3: StackMap locals: java.awt.Component
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JMenuBar;
0 4 1 index I
1 4 2 c Ljava/awt/Component;
MethodParameters:
Name Flags
index
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JMenuBar.getComponentCount:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
public void (javax.swing.JMenu);
descriptor: (Ljavax/swing/JMenu;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.Error
dup
ldc "setHelpMenu() not yet implemented."
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
0 1 1 menu Ljavax/swing/JMenu;
MethodParameters:
Name Flags
menu
public javax.swing.JMenu ();
descriptor: ()Ljavax/swing/JMenu;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "getHelpMenu() not yet implemented."
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
RuntimeVisibleAnnotations:
java.beans.Transient()
public java.awt.Component (int);
descriptor: (I)Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual javax.swing.JMenuBar.getComponentCount:()I
if_icmplt 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual javax.swing.JMenuBar.getComponent:(I)Ljava/awt/Component;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JMenuBar;
0 3 1 i I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
i
public int (java.awt.Component);
descriptor: (Ljava/awt/Component;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JMenuBar.getComponentCount:()I
istore 2
start local 2 1: aload 0
invokevirtual javax.swing.JMenuBar.getComponents:()[Ljava/awt/Component;
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 8
4: StackMap locals: int java.awt.Component[] int
StackMap stack:
aload 3
iload 4
aaload
astore 5
start local 5 5: aload 5
aload 1
if_acmpne 7
6: iload 4
ireturn
end local 5 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 2
if_icmplt 4
end local 4 9: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/JMenuBar;
0 10 1 c Ljava/awt/Component;
1 10 2 ncomponents I
2 10 3 component [Ljava/awt/Component;
3 9 4 i I
5 7 5 comp Ljava/awt/Component;
MethodParameters:
Name Flags
c
public void (java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JMenuBar.getSelectionModel:()Ljavax/swing/SingleSelectionModel;
astore 2
start local 2 1: aload 0
aload 1
invokevirtual javax.swing.JMenuBar.getComponentIndex:(Ljava/awt/Component;)I
istore 3
start local 3 2: aload 2
iload 3
invokeinterface javax.swing.SingleSelectionModel.setSelectedIndex:(I)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JMenuBar;
0 4 1 sel Ljava/awt/Component;
1 4 2 model Ljavax/swing/SingleSelectionModel;
2 4 3 index I
MethodParameters:
Name Flags
sel
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JMenuBar.selectionModel:Ljavax/swing/SingleSelectionModel;
invokeinterface javax.swing.SingleSelectionModel.isSelected:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JMenuBar.paintBorder:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
public void (boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JMenuBar.paintBorder:Z
istore 2
start local 2 1: aload 0
iload 1
putfield javax.swing.JMenuBar.paintBorder:Z
2: aload 0
ldc "borderPainted"
iload 2
aload 0
getfield javax.swing.JMenuBar.paintBorder:Z
invokevirtual javax.swing.JMenuBar.firePropertyChange:(Ljava/lang/String;ZZ)V
3: iload 1
iload 2
if_icmpeq 6
4: aload 0
invokevirtual javax.swing.JMenuBar.revalidate:()V
5: aload 0
invokevirtual javax.swing.JMenuBar.repaint:()V
6: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JMenuBar;
0 7 1 b Z
1 7 2 oldValue Z
RuntimeVisibleAnnotations:
java.beans.BeanProperty(visualUpdate = true, description = "Whether the border should be painted.")
MethodParameters:
Name Flags
b
protected void (java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JMenuBar.isBorderPainted:()Z
ifeq 2
1: aload 0
aload 1
invokespecial javax.swing.JComponent.paintBorder:(Ljava/awt/Graphics;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JMenuBar;
0 3 1 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g
public void (java.awt.Insets);
descriptor: (Ljava/awt/Insets;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JMenuBar.margin:Ljava/awt/Insets;
astore 2
start local 2 1: aload 0
aload 1
putfield javax.swing.JMenuBar.margin:Ljava/awt/Insets;
2: aload 0
ldc "margin"
aload 2
aload 1
invokevirtual javax.swing.JMenuBar.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: aload 2
ifnull 4
aload 2
aload 1
invokevirtual java.awt.Insets.equals:(Ljava/lang/Object;)Z
ifne 6
4: StackMap locals: java.awt.Insets
StackMap stack:
aload 0
invokevirtual javax.swing.JMenuBar.revalidate:()V
5: aload 0
invokevirtual javax.swing.JMenuBar.repaint:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JMenuBar;
0 7 1 m Ljava/awt/Insets;
1 7 2 old Ljava/awt/Insets;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(visualUpdate = true, description = "The space between the menubar's border and its contents")
MethodParameters:
Name Flags
m
public java.awt.Insets ();
descriptor: ()Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JMenuBar.margin:Ljava/awt/Insets;
ifnonnull 2
1: new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JMenuBar.margin:Ljava/awt/Insets;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JMenuBar;
public void (java.awt.event.MouseEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager);
descriptor: (Ljava/awt/event/MouseEvent;[Ljavax/swing/MenuElement;Ljavax/swing/MenuSelectionManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
0 1 1 event Ljava/awt/event/MouseEvent;
0 1 2 path [Ljavax/swing/MenuElement;
0 1 3 manager Ljavax/swing/MenuSelectionManager;
MethodParameters:
Name Flags
event
path
manager
public void (java.awt.event.KeyEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager);
descriptor: (Ljava/awt/event/KeyEvent;[Ljavax/swing/MenuElement;Ljavax/swing/MenuSelectionManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
0 1 1 e Ljava/awt/event/KeyEvent;
0 1 2 path [Ljavax/swing/MenuElement;
0 1 3 manager Ljavax/swing/MenuSelectionManager;
MethodParameters:
Name Flags
e
path
manager
public void (boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
0 1 1 isIncluded Z
MethodParameters:
Name Flags
isIncluded
public javax.swing.MenuElement[] ();
descriptor: ()[Ljavax/swing/MenuElement;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 2
start local 2 1: aload 0
invokevirtual javax.swing.JMenuBar.getComponentCount:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 8
4: StackMap locals: javax.swing.JMenuBar top java.util.Vector int int
StackMap stack:
aload 0
iload 4
invokevirtual javax.swing.JMenuBar.getComponent:(I)Ljava/awt/Component;
astore 5
start local 5 5: aload 5
instanceof javax.swing.MenuElement
ifeq 7
6: aload 2
aload 5
checkcast javax.swing.MenuElement
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
7: StackMap locals: java.awt.Component
StackMap stack:
iinc 4 1
end local 5 StackMap locals:
StackMap stack:
8: iload 4
iload 3
if_icmplt 4
9: aload 2
invokevirtual java.util.Vector.size:()I
anewarray javax.swing.MenuElement
astore 1
start local 1 10: iconst_0
istore 4
aload 2
invokevirtual java.util.Vector.size:()I
istore 3
goto 13
11: StackMap locals: javax.swing.JMenuBar javax.swing.MenuElement[] java.util.Vector int int
StackMap stack:
aload 1
iload 4
aload 2
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.MenuElement
aastore
12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 3
if_icmplt 11
14: aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/JMenuBar;
10 15 1 result [Ljavax/swing/MenuElement;
1 15 2 tmp Ljava/util/Vector<Ljavax/swing/MenuElement;>;
2 15 3 c I
3 15 4 i I
5 8 5 m Ljava/awt/Component;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
public java.awt.Component ();
descriptor: ()Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar;
protected java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.JMenuBar.paintBorder:Z
ifeq 2
1: ldc "true"
goto 3
StackMap locals:
StackMap stack:
2: ldc "false"
3: StackMap locals:
StackMap stack: java.lang.String
astore 1
start local 1 4: aload 0
getfield javax.swing.JMenuBar.margin:Ljava/awt/Insets;
ifnull 6
5: aload 0
getfield javax.swing.JMenuBar.margin:Ljava/awt/Insets;
invokevirtual java.awt.Insets.toString:()Ljava/lang/String;
goto 7
StackMap locals: java.lang.String
StackMap stack:
6: ldc ""
7: StackMap locals:
StackMap stack: java.lang.String
astore 2
start local 2 8: new java.lang.StringBuilder
dup
aload 0
invokespecial javax.swing.JComponent.paramString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: ldc ",margin="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc ",paintBorder="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/JMenuBar;
4 12 1 paintBorderString Ljava/lang/String;
8 12 2 marginString Ljava/lang/String;
public javax.accessibility.AccessibleContext ();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JMenuBar.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new javax.swing.JMenuBar$AccessibleJMenuBar
dup
aload 0
invokespecial javax.swing.JMenuBar$AccessibleJMenuBar.<init>:(Ljavax/swing/JMenuBar;)V
putfield javax.swing.JMenuBar.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JMenuBar.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JMenuBar;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
protected boolean (javax.swing.KeyStroke, java.awt.event.KeyEvent, int, boolean);
descriptor: (Ljavax/swing/KeyStroke;Ljava/awt/event/KeyEvent;IZ)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
iload 4
invokespecial javax.swing.JComponent.processKeyBinding:(Ljavax/swing/KeyStroke;Ljava/awt/event/KeyEvent;IZ)Z
istore 5
start local 5 1: iload 5
ifne 11
2: aload 0
invokevirtual javax.swing.JMenuBar.getSubElements:()[Ljavax/swing/MenuElement;
astore 6
start local 6 3: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 10
StackMap locals: javax.swing.JMenuBar javax.swing.KeyStroke java.awt.event.KeyEvent int int int javax.swing.MenuElement[] top int int javax.swing.MenuElement[]
StackMap stack:
4: aload 10
iload 8
aaload
astore 7
start local 7 5: aload 7
aload 1
aload 2
iload 3
iload 4
6: invokestatic javax.swing.JMenuBar.processBindingForKeyStrokeRecursive:(Ljavax/swing/MenuElement;Ljavax/swing/KeyStroke;Ljava/awt/event/KeyEvent;IZ)Z
7: ifeq 9
8: iconst_1
ireturn
end local 7 9: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
10: iload 8
iload 9
if_icmplt 4
end local 6 11: StackMap locals: javax.swing.JMenuBar javax.swing.KeyStroke java.awt.event.KeyEvent int int int
StackMap stack:
iload 5
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/JMenuBar;
0 12 1 ks Ljavax/swing/KeyStroke;
0 12 2 e Ljava/awt/event/KeyEvent;
0 12 3 condition I
0 12 4 pressed Z
1 12 5 retValue Z
3 11 6 subElements [Ljavax/swing/MenuElement;
5 9 7 subElement Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
ks
e
condition
pressed
static boolean (javax.swing.MenuElement, javax.swing.KeyStroke, java.awt.event.KeyEvent, int, boolean);
descriptor: (Ljavax/swing/MenuElement;Ljavax/swing/KeyStroke;Ljava/awt/event/KeyEvent;IZ)Z
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface javax.swing.MenuElement.getComponent:()Ljava/awt/Component;
astore 5
start local 5 3: aload 5
invokevirtual java.awt.Component.isVisible:()Z
ifne 4
aload 5
instanceof javax.swing.JPopupMenu
ifeq 5
StackMap locals: java.awt.Component
StackMap stack:
4: aload 5
invokevirtual java.awt.Component.isEnabled:()Z
ifne 6
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 5
ifnull 9
aload 5
instanceof javax.swing.JComponent
ifeq 9
7: aload 5
checkcast javax.swing.JComponent
aload 1
aload 2
iload 3
iload 4
invokevirtual javax.swing.JComponent.processKeyBinding:(Ljavax/swing/KeyStroke;Ljava/awt/event/KeyEvent;IZ)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
invokeinterface javax.swing.MenuElement.getSubElements:()[Ljavax/swing/MenuElement;
astore 6
start local 6 10: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 15
StackMap locals: javax.swing.MenuElement javax.swing.KeyStroke java.awt.event.KeyEvent int int java.awt.Component javax.swing.MenuElement[] top int int javax.swing.MenuElement[]
StackMap stack:
11: aload 10
iload 8
aaload
astore 7
start local 7 12: aload 7
aload 1
aload 2
iload 3
iload 4
invokestatic javax.swing.JMenuBar.processBindingForKeyStrokeRecursive:(Ljavax/swing/MenuElement;Ljavax/swing/KeyStroke;Ljava/awt/event/KeyEvent;IZ)Z
ifeq 14
13: iconst_1
ireturn
end local 7 14: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
15: iload 8
iload 9
if_icmplt 11
16: iconst_0
ireturn
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 17 0 elem Ljavax/swing/MenuElement;
0 17 1 ks Ljavax/swing/KeyStroke;
0 17 2 e Ljava/awt/event/KeyEvent;
0 17 3 condition I
0 17 4 pressed Z
3 17 5 c Ljava/awt/Component;
10 17 6 subElements [Ljavax/swing/MenuElement;
12 14 7 subElement Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
elem
ks
e
condition
pressed
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JComponent.addNotify:()V
1: invokestatic javax.swing.KeyboardManager.getCurrentManager:()Ljavax/swing/KeyboardManager;
aload 0
invokevirtual javax.swing.KeyboardManager.registerMenuBar:(Ljavax/swing/JMenuBar;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JMenuBar;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JComponent.removeNotify:()V
1: invokestatic javax.swing.KeyboardManager.getCurrentManager:()Ljavax/swing/KeyboardManager;
aload 0
invokevirtual javax.swing.KeyboardManager.unregisterMenuBar:(Ljavax/swing/JMenuBar;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JMenuBar;
private void (java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 0
invokevirtual javax.swing.JMenuBar.getUIClassID:()Ljava/lang/String;
ldc "MenuBarUI"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 0
invokestatic javax.swing.JComponent.getWriteObjCounter:(Ljavax/swing/JComponent;)B
istore 2
start local 2 3: aload 0
iload 2
iconst_1
isub
i2b
dup
istore 2
invokestatic javax.swing.JComponent.setWriteObjCounter:(Ljavax/swing/JComponent;B)V
4: iload 2
ifne 6
aload 0
getfield javax.swing.JMenuBar.ui:Ljavax/swing/plaf/ComponentUI;
ifnull 6
5: aload 0
getfield javax.swing.JMenuBar.ui:Ljavax/swing/plaf/ComponentUI;
aload 0
invokevirtual javax.swing.plaf.ComponentUI.installUI:(Ljavax/swing/JComponent;)V
end local 2 6: StackMap locals:
StackMap stack:
iconst_4
anewarray java.lang.Object
astore 2
start local 2 7: iconst_0
istore 3
start local 3 8: aload 0
getfield javax.swing.JMenuBar.selectionModel:Ljavax/swing/SingleSelectionModel;
instanceof java.io.Serializable
ifeq 11
9: aload 2
iload 3
iinc 3 1
ldc "selectionModel"
aastore
10: aload 2
iload 3
iinc 3 1
aload 0
getfield javax.swing.JMenuBar.selectionModel:Ljavax/swing/SingleSelectionModel;
aastore
11: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
aload 2
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/JMenuBar;
0 13 1 s Ljava/io/ObjectOutputStream;
3 6 2 count B
7 13 2 kvData [Ljava/lang/Object;
8 13 3 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void (java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.lang.Object[]
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 9
4: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 2
iload 3
aaload
ifnonnull 6
5: goto 10
6: StackMap locals:
StackMap stack:
aload 2
iload 3
aaload
ldc "selectionModel"
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 0
aload 2
iload 3
iconst_1
iadd
aaload
checkcast javax.swing.SingleSelectionModel
putfield javax.swing.JMenuBar.selectionModel:Ljavax/swing/SingleSelectionModel;
8: StackMap locals:
StackMap stack:
iinc 3 2
StackMap locals:
StackMap stack:
9: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/JMenuBar;
0 11 1 s Ljava/io/ObjectInputStream;
2 11 2 kvData [Ljava/lang/Object;
3 10 3 i I
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
public javax.swing.plaf.ComponentUI ();
descriptor: ()Ljavax/swing/plaf/ComponentUI;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javax.swing.JMenuBar.getUI:()Ljavax/swing/plaf/MenuBarUI;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JMenuBar.java"
NestMembers:
javax.swing.JMenuBar$AccessibleJMenuBar
InnerClasses:
protected AccessibleJMenuBar = javax.swing.JMenuBar$AccessibleJMenuBar of javax.swing.JMenuBar
RuntimeVisibleAnnotations:
java.beans.JavaBean(defaultProperty = "UI", description = "A container for holding and displaying menus.")
javax.swing.SwingContainer()