class javax.swing.plaf.basic.BasicMenuBarUI$Handler implements javax.swing.event.ChangeListener, java.awt.event.ContainerListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicMenuBarUI$Handler
super_class: java.lang.Object
{
final javax.swing.plaf.basic.BasicMenuBarUI this$0;
descriptor: Ljavax/swing/plaf/basic/BasicMenuBarUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(javax.swing.plaf.basic.BasicMenuBarUI);
descriptor: (Ljavax/swing/plaf/basic/BasicMenuBarUI;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicMenuBarUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicMenuBarUI;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
MethodParameters:
Name Flags
this$0 final
public void stateChanged(javax.swing.event.ChangeEvent);
descriptor: (Ljavax/swing/event/ChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicMenuBarUI;
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
istore 3
start local 3 2: goto 8
3: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicMenuBarUI;
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
iload 2
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
astore 4
start local 4 4: aload 4
ifnull 7
aload 4
invokevirtual javax.swing.JMenu.isSelected:()Z
ifeq 7
5: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicMenuBarUI;
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getSelectionModel:()Ljavax/swing/SingleSelectionModel;
iload 2
invokeinterface javax.swing.SingleSelectionModel.setSelectedIndex:(I)V
6: goto 9
end local 4 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 3
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
0 10 1 e Ljavax/swing/event/ChangeEvent;
1 10 2 i I
2 10 3 c I
4 7 4 menu Ljavax/swing/JMenu;
MethodParameters:
Name Flags
e
public void componentAdded(java.awt.event.ContainerEvent);
descriptor: (Ljava/awt/event/ContainerEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ContainerEvent.getChild:()Ljava/awt/Component;
astore 2
start local 2 1: aload 2
instanceof javax.swing.JMenu
ifeq 3
2: aload 2
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.getModel:()Ljavax/swing/ButtonModel;
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicMenuBarUI;
getfield javax.swing.plaf.basic.BasicMenuBarUI.changeListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.ButtonModel.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
3: StackMap locals: java.awt.Component
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
0 4 1 e Ljava/awt/event/ContainerEvent;
1 4 2 c Ljava/awt/Component;
MethodParameters:
Name Flags
e
public void componentRemoved(java.awt.event.ContainerEvent);
descriptor: (Ljava/awt/event/ContainerEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ContainerEvent.getChild:()Ljava/awt/Component;
astore 2
start local 2 1: aload 2
instanceof javax.swing.JMenu
ifeq 3
2: aload 2
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.getModel:()Ljavax/swing/ButtonModel;
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicMenuBarUI;
getfield javax.swing.plaf.basic.BasicMenuBarUI.changeListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.ButtonModel.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
3: StackMap locals: java.awt.Component
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
0 4 1 e Ljava/awt/event/ContainerEvent;
1 4 2 c Ljava/awt/Component;
MethodParameters:
Name Flags
e
}
SourceFile: "BasicMenuBarUI.java"
NestHost: javax.swing.plaf.basic.BasicMenuBarUI
InnerClasses:
private Handler = javax.swing.plaf.basic.BasicMenuBarUI$Handler of javax.swing.plaf.basic.BasicMenuBarUI