public class extends javax.swing.JComponent$AccessibleJComponent implements javax.accessibility.AccessibleSelection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JMenuBar$AccessibleJMenuBar
super_class: javax.swing.JComponent$AccessibleJComponent
{
final javax.swing.JMenuBar ;
descriptor: Ljavax/swing/JMenuBar;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void (javax.swing.JMenuBar);
descriptor: (Ljavax/swing/JMenuBar;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
aload 0
aload 1
invokespecial javax.swing.JComponent$AccessibleJComponent.<init>:(Ljavax/swing/JComponent;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
MethodParameters:
Name Flags
this$0 final
public javax.accessibility.AccessibleStateSet ();
descriptor: ()Ljavax/accessibility/AccessibleStateSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JComponent$AccessibleJComponent.getAccessibleStateSet:()Ljavax/accessibility/AccessibleStateSet;
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
1 2 1 states Ljavax/accessibility/AccessibleStateSet;
public javax.accessibility.AccessibleRole ();
descriptor: ()Ljavax/accessibility/AccessibleRole;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic javax.accessibility.AccessibleRole.MENU_BAR:Ljavax/accessibility/AccessibleRole;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
public javax.accessibility.AccessibleSelection ();
descriptor: ()Ljavax/accessibility/AccessibleSelection;
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$AccessibleJMenuBar;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.isSelected:()Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
public javax.accessibility.Accessible (int);
descriptor: (I)Ljavax/accessibility/Accessible;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.isSelected:()Z
ifeq 6
1: iload 1
ifeq 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getSelectionModel:()Ljavax/swing/SingleSelectionModel;
invokeinterface javax.swing.SingleSelectionModel.getSelectedIndex:()I
istore 2
start local 2 4: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
iload 2
invokevirtual javax.swing.JMenuBar.getComponentAtIndex:(I)Ljava/awt/Component;
instanceof javax.accessibility.Accessible
ifeq 6
5: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
iload 2
invokevirtual javax.swing.JMenuBar.getComponentAtIndex:(I)Ljava/awt/Component;
checkcast javax.accessibility.Accessible
areturn
end local 2 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
0 7 1 i I
4 6 2 j I
MethodParameters:
Name Flags
i
public boolean (int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getSelectionModel:()Ljavax/swing/SingleSelectionModel;
invokeinterface javax.swing.SingleSelectionModel.getSelectedIndex:()I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
0 2 1 i I
MethodParameters:
Name Flags
i
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getSelectionModel:()Ljavax/swing/SingleSelectionModel;
invokeinterface javax.swing.SingleSelectionModel.getSelectedIndex:()I
istore 2
start local 2 1: iload 1
iload 2
if_icmpne 3
2: return
3: StackMap locals: int
StackMap stack:
iload 2
iflt 7
iload 2
aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
if_icmpge 7
4: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
iload 2
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
astore 3
start local 3 5: aload 3
ifnull 7
6: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
aconst_null
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 3 7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getSelectionModel:()Ljavax/swing/SingleSelectionModel;
iload 1
invokeinterface javax.swing.SingleSelectionModel.setSelectedIndex:(I)V
8: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
iload 1
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
astore 3
start local 3 9: aload 3
ifnull 15
10: iconst_3
anewarray javax.swing.MenuElement
astore 4
start local 4 11: aload 4
iconst_0
aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
aastore
12: aload 4
iconst_1
aload 3
aastore
13: aload 4
iconst_2
aload 3
invokevirtual javax.swing.JMenu.getPopupMenu:()Ljavax/swing/JPopupMenu;
aastore
14: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
aload 4
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 4 15: StackMap locals: javax.swing.JMenu
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
0 16 1 i I
1 16 2 j I
5 7 3 menu Ljavax/swing/JMenu;
9 16 3 menu Ljavax/swing/JMenu;
11 15 4 me [Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
i
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iflt 5
iload 1
aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
if_icmpge 5
1: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
iload 1
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
astore 2
start local 2 2: aload 2
ifnull 4
3: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
aconst_null
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
4: StackMap locals: javax.swing.JMenu
StackMap stack:
aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getSelectionModel:()Ljavax/swing/SingleSelectionModel;
iconst_m1
invokeinterface javax.swing.SingleSelectionModel.setSelectedIndex:(I)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
0 6 1 i I
2 5 2 menu Ljavax/swing/JMenu;
MethodParameters:
Name Flags
i
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getSelectionModel:()Ljavax/swing/SingleSelectionModel;
invokeinterface javax.swing.SingleSelectionModel.getSelectedIndex:()I
istore 1
start local 1 1: iload 1
iflt 5
iload 1
aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
if_icmpge 5
2: aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
iload 1
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
astore 2
start local 2 3: aload 2
ifnull 5
4: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
aconst_null
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
end local 2 5: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.JMenuBar$AccessibleJMenuBar.this$0:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getSelectionModel:()Ljavax/swing/SingleSelectionModel;
iconst_m1
invokeinterface javax.swing.SingleSelectionModel.setSelectedIndex:(I)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
1 7 1 i I
3 5 2 menu Ljavax/swing/JMenu;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JMenuBar$AccessibleJMenuBar;
}
SourceFile: "JMenuBar.java"
NestHost: javax.swing.JMenuBar
InnerClasses:
public abstract AccessibleJComponent = javax.swing.JComponent$AccessibleJComponent of javax.swing.JComponent
protected AccessibleJMenuBar = javax.swing.JMenuBar$AccessibleJMenuBar of javax.swing.JMenuBar