public class extends java.awt.MenuItem implements java.awt.MenuContainer, javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.Menu
super_class: java.awt.MenuItem
{
private final java.util.Vector<java.awt.MenuItem> ;
descriptor: Ljava/util/Vector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Vector<Ljava/awt/MenuItem;>;
private final boolean ;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
volatile boolean ;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "menu"
private static int ;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final long ;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8809584163345499784
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic java.awt.Toolkit.loadLibraries:()V
1: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 3
2: invokestatic java.awt.Menu.initIDs:()V
3: StackMap locals:
StackMap stack:
new java.awt.Menu$1
dup
invokespecial java.awt.Menu$1.<init>:()V
4: invokestatic sun.awt.AWTAccessor.setMenuAccessor:(Lsun/awt/AWTAccessor$MenuAccessor;)V
5: iconst_0
putstatic java.awt.Menu.nameCounter:I
6: return
LocalVariableTable:
Start End Slot Name Signature
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc ""
iconst_0
invokespecial java.awt.Menu.<init>:(Ljava/lang/String;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Menu;
Exceptions:
throws java.awt.HeadlessException
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial java.awt.Menu.<init>:(Ljava/lang/String;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Menu;
0 2 1 label Ljava/lang/String;
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
label
public void (java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.awt.MenuItem.<init>:(Ljava/lang/String;)V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield java.awt.Menu.items:Ljava/util/Vector;
2: aload 0
iconst_1
putfield java.awt.Menu.menuSerializedDataVersion:I
3: aload 0
iload 2
putfield java.awt.Menu.tearOff:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Menu;
0 5 1 label Ljava/lang/String;
0 5 2 tearOff Z
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
label
tearOff
java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc Ljava/awt/Menu;
dup
astore 1
monitorenter
1: new java.lang.StringBuilder
dup
ldc "menu"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.awt.Menu.nameCounter:I
dup
iconst_1
iadd
putstatic java.awt.Menu.nameCounter:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
monitorexit
2: areturn
3: StackMap locals: java.awt.Menu java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Menu;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Menu.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield java.awt.Menu.peer:Ljava/awt/peer/MenuComponentPeer;
ifnonnull 3
2: aload 0
aload 0
invokevirtual java.awt.Menu.getComponentFactory:()Lsun/awt/ComponentFactory;
aload 0
invokeinterface sun.awt.ComponentFactory.createMenu:(Ljava/awt/Menu;)Ljava/awt/peer/MenuPeer;
putfield java.awt.Menu.peer:Ljava/awt/peer/MenuComponentPeer;
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual java.awt.Menu.getItemCount:()I
istore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 10
6: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.awt.Menu.getItem:(I)Ljava/awt/MenuItem;
astore 4
start local 4 7: aload 4
aload 0
putfield java.awt.MenuItem.parent:Ljava/awt/MenuContainer;
8: aload 4
invokevirtual java.awt.MenuItem.addNotify:()V
end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 2
if_icmplt 6
end local 3 end local 2 11: aload 1
monitorexit
12: goto 15
StackMap locals: java.awt.Menu java.lang.Object
StackMap stack: java.lang.Throwable
13: aload 1
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/awt/Menu;
4 11 2 nitems I
5 11 3 i I
7 9 4 mi Ljava/awt/MenuItem;
Exception table:
from to target type
1 12 13 any
13 14 13 any
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Menu.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual java.awt.Menu.getItemCount:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: java.lang.Object int int
StackMap stack:
aload 0
iload 3
invokevirtual java.awt.Menu.getItem:(I)Ljava/awt/MenuItem;
invokevirtual java.awt.MenuItem.removeNotify:()V
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 2
if_icmplt 4
end local 3 7: aload 0
invokespecial java.awt.MenuItem.removeNotify:()V
end local 2 8: aload 1
monitorexit
9: goto 12
StackMap locals: java.awt.Menu java.lang.Object
StackMap stack: java.lang.Throwable
10: aload 1
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/awt/Menu;
2 8 2 nitems I
3 7 3 i I
Exception table:
from to target type
1 9 10 any
10 11 10 any
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Menu.tearOff:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Menu;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Menu.countItems:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Menu;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Menu.countItemsImpl:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Menu;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
final int ();
descriptor: ()I
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Menu.items:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Menu;
public java.awt.MenuItem (int);
descriptor: (I)Ljava/awt/MenuItem;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual java.awt.Menu.getItemImpl:(I)Ljava/awt/MenuItem;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Menu;
0 1 1 index I
MethodParameters:
Name Flags
index
final java.awt.MenuItem (int);
descriptor: (I)Ljava/awt/MenuItem;
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.Menu.items:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.awt.MenuItem
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Menu;
0 1 1 index I
MethodParameters:
Name Flags
index
public java.awt.MenuItem (java.awt.MenuItem);
descriptor: (Ljava/awt/MenuItem;)Ljava/awt/MenuItem;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Menu.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 1
getfield java.awt.MenuItem.parent:Ljava/awt/MenuContainer;
ifnull 3
2: aload 1
getfield java.awt.MenuItem.parent:Ljava/awt/MenuContainer;
aload 1
invokeinterface java.awt.MenuContainer.remove:(Ljava/awt/MenuComponent;)V
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield java.awt.Menu.items:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
4: aload 1
aload 0
putfield java.awt.MenuItem.parent:Ljava/awt/MenuContainer;
5: aload 0
getfield java.awt.Menu.peer:Ljava/awt/peer/MenuComponentPeer;
checkcast java.awt.peer.MenuPeer
astore 3
start local 3 6: aload 3
ifnull 9
7: aload 1
invokevirtual java.awt.MenuItem.addNotify:()V
8: aload 3
aload 1
invokeinterface java.awt.peer.MenuPeer.addItem:(Ljava/awt/MenuItem;)V
9: StackMap locals: java.awt.peer.MenuPeer
StackMap stack:
aload 1
aload 2
monitorexit
10: areturn
end local 3 11: StackMap locals: java.awt.Menu java.awt.MenuItem java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
12: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/awt/Menu;
0 13 1 mi Ljava/awt/MenuItem;
6 11 3 peer Ljava/awt/peer/MenuPeer;
Exception table:
from to target type
1 10 11 any
11 12 11 any
MethodParameters:
Name Flags
mi
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.awt.MenuItem
dup
aload 1
invokespecial java.awt.MenuItem.<init>:(Ljava/lang/String;)V
invokevirtual java.awt.Menu.add:(Ljava/awt/MenuItem;)Ljava/awt/MenuItem;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Menu;
0 2 1 label Ljava/lang/String;
MethodParameters:
Name Flags
label
public void (java.awt.MenuItem, int);
descriptor: (Ljava/awt/MenuItem;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.awt.Menu.getTreeLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
1: iload 2
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "index less than zero."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual java.awt.Menu.getItemCount:()I
istore 4
start local 4 4: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 5
start local 5 5: iload 2
istore 6
start local 6 6: goto 10
7: StackMap locals: int java.util.Vector int
StackMap stack:
aload 5
aload 0
iload 2
invokevirtual java.awt.Menu.getItem:(I)Ljava/awt/MenuItem;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
8: aload 0
iload 2
invokevirtual java.awt.Menu.remove:(I)V
9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 4
if_icmplt 7
end local 6 11: aload 0
aload 1
invokevirtual java.awt.Menu.add:(Ljava/awt/MenuItem;)Ljava/awt/MenuItem;
pop
12: iconst_0
istore 6
start local 6 13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
aload 5
iload 6
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.awt.MenuItem
invokevirtual java.awt.Menu.add:(Ljava/awt/MenuItem;)Ljava/awt/MenuItem;
pop
15: iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
aload 5
invokevirtual java.util.Vector.size:()I
if_icmplt 14
end local 6 end local 5 end local 4 17: aload 3
monitorexit
18: goto 21
StackMap locals: java.awt.Menu java.awt.MenuItem int java.lang.Object
StackMap stack: java.lang.Throwable
19: aload 3
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/awt/Menu;
0 22 1 menuitem Ljava/awt/MenuItem;
0 22 2 index I
4 17 4 nitems I
5 17 5 tempItems Ljava/util/Vector<Ljava/awt/MenuItem;>;
6 11 6 i I
13 17 6 i I
Exception table:
from to target type
1 18 19 any
19 20 19 any
MethodParameters:
Name Flags
menuitem
index
public void (java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new java.awt.MenuItem
dup
aload 1
invokespecial java.awt.MenuItem.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.awt.Menu.insert:(Ljava/awt/MenuItem;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Menu;
0 2 1 label Ljava/lang/String;
0 2 2 index I
MethodParameters:
Name Flags
label
index
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "-"
invokevirtual java.awt.Menu.add:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Menu;
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Menu.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "index less than zero."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual java.awt.Menu.getItemCount:()I
istore 3
start local 3 4: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 4
start local 4 5: iload 1
istore 5
start local 5 6: goto 10
7: StackMap locals: int java.util.Vector int
StackMap stack:
aload 4
aload 0
iload 1
invokevirtual java.awt.Menu.getItem:(I)Ljava/awt/MenuItem;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
8: aload 0
iload 1
invokevirtual java.awt.Menu.remove:(I)V
9: iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 3
if_icmplt 7
end local 5 11: aload 0
invokevirtual java.awt.Menu.addSeparator:()V
12: iconst_0
istore 5
start local 5 13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 5
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.awt.MenuItem
invokevirtual java.awt.Menu.add:(Ljava/awt/MenuItem;)Ljava/awt/MenuItem;
pop
15: iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
aload 4
invokevirtual java.util.Vector.size:()I
if_icmplt 14
end local 5 end local 4 end local 3 17: aload 2
monitorexit
18: goto 21
StackMap locals: java.awt.Menu int java.lang.Object
StackMap stack: java.lang.Throwable
19: aload 2
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/awt/Menu;
0 22 1 index I
4 17 3 nitems I
5 17 4 tempItems Ljava/util/Vector<Ljava/awt/MenuItem;>;
6 11 5 i I
13 17 5 i I
Exception table:
from to target type
1 18 19 any
19 20 19 any
MethodParameters:
Name Flags
index
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Menu.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
iload 1
invokevirtual java.awt.Menu.getItem:(I)Ljava/awt/MenuItem;
astore 3
start local 3 2: aload 0
getfield java.awt.Menu.items:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.removeElementAt:(I)V
3: aload 0
getfield java.awt.Menu.peer:Ljava/awt/peer/MenuComponentPeer;
checkcast java.awt.peer.MenuPeer
astore 4
start local 4 4: aload 4
ifnull 7
5: aload 4
iload 1
invokeinterface java.awt.peer.MenuPeer.delItem:(I)V
6: aload 3
invokevirtual java.awt.MenuItem.removeNotify:()V
7: StackMap locals: java.lang.Object java.awt.MenuItem java.awt.peer.MenuPeer
StackMap stack:
aload 3
aconst_null
putfield java.awt.MenuItem.parent:Ljava/awt/MenuContainer;
end local 4 end local 3 8: aload 2
monitorexit
9: goto 12
StackMap locals: java.awt.Menu int java.lang.Object
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/awt/Menu;
0 13 1 index I
2 8 3 mi Ljava/awt/MenuItem;
4 8 4 peer Ljava/awt/peer/MenuPeer;
Exception table:
from to target type
1 9 10 any
10 11 10 any
MethodParameters:
Name Flags
index
public void (java.awt.MenuComponent);
descriptor: (Ljava/awt/MenuComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Menu.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield java.awt.Menu.items:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
istore 3
start local 3 2: iload 3
iflt 4
3: aload 0
iload 3
invokevirtual java.awt.Menu.remove:(I)V
end local 3 4: StackMap locals: java.lang.Object
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/Menu;
0 9 1 item Ljava/awt/MenuComponent;
2 4 3 index I
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
item
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Menu.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual java.awt.Menu.getItemCount:()I
istore 2
start local 2 2: iload 2
iconst_1
isub
istore 3
start local 3 3: goto 6
4: StackMap locals: java.lang.Object int int
StackMap stack:
aload 0
iload 3
invokevirtual java.awt.Menu.remove:(I)V
5: iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
ifge 4
end local 3 end local 2 7: aload 1
monitorexit
8: goto 11
StackMap locals: java.awt.Menu java.lang.Object
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/awt/Menu;
2 7 2 nitems I
3 7 3 i I
Exception table:
from to target type
1 8 9 any
9 10 9 any
boolean handleShortcut(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)Z
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Menu.getItemCount:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.awt.Menu.getItem:(I)Ljava/awt/MenuItem;
astore 4
start local 4 4: aload 4
aload 1
invokevirtual java.awt.MenuItem.handleShortcut:(Ljava/awt/event/KeyEvent;)Z
ifeq 6
5: iconst_1
ireturn
end local 4 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 3
end local 3 8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/Menu;
0 9 1 e Ljava/awt/event/KeyEvent;
1 9 2 nitems I
2 8 3 i I
4 6 4 mi Ljava/awt/MenuItem;
MethodParameters:
Name Flags
e
java.awt.MenuItem (java.awt.MenuShortcut);
descriptor: (Ljava/awt/MenuShortcut;)Ljava/awt/MenuItem;
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Menu.getItemCount:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.awt.Menu.getItem:(I)Ljava/awt/MenuItem;
aload 1
invokevirtual java.awt.MenuItem.getShortcutMenuItem:(Ljava/awt/MenuShortcut;)Ljava/awt/MenuItem;
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 4
areturn
end local 4 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 3
end local 3 8: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/Menu;
0 9 1 s Ljava/awt/MenuShortcut;
1 9 2 nitems I
2 8 3 i I
4 6 4 mi Ljava/awt/MenuItem;
MethodParameters:
Name Flags
s
synchronized java.util.Enumeration<java.awt.MenuShortcut> shortcuts();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=6, args_size=1
start local 0 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual java.awt.Menu.getItemCount:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 15
4: StackMap locals: java.util.Vector int int
StackMap stack:
aload 0
iload 3
invokevirtual java.awt.Menu.getItem:(I)Ljava/awt/MenuItem;
astore 4
start local 4 5: aload 4
instanceof java.awt.Menu
ifeq 11
6: aload 4
checkcast java.awt.Menu
invokevirtual java.awt.Menu.shortcuts:()Ljava/util/Enumeration;
astore 5
start local 5 7: goto 9
8: StackMap locals: java.awt.MenuItem java.util.Enumeration
StackMap stack:
aload 1
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.awt.MenuShortcut
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 8
end local 5 10: goto 14
11: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.awt.MenuItem.getShortcut:()Ljava/awt/MenuShortcut;
astore 5
start local 5 12: aload 5
ifnull 14
13: aload 1
aload 5
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 5 end local 4 14: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 2
if_icmplt 4
end local 3 16: aload 1
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljava/awt/Menu;
1 17 1 shortcuts Ljava/util/Vector<Ljava/awt/MenuShortcut;>;
2 17 2 nitems I
3 16 3 i I
5 14 4 mi Ljava/awt/MenuItem;
7 10 5 e Ljava/util/Enumeration<Ljava/awt/MenuShortcut;>;
12 14 5 ms Ljava/awt/MenuShortcut;
Signature: ()Ljava/util/Enumeration<Ljava/awt/MenuShortcut;>;
void (java.awt.MenuShortcut);
descriptor: (Ljava/awt/MenuShortcut;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Menu.getItemCount:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.awt.Menu.getItem:(I)Ljava/awt/MenuItem;
aload 1
invokevirtual java.awt.MenuItem.deleteShortcut:(Ljava/awt/MenuShortcut;)V
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 2
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/Menu;
0 7 1 s Ljava/awt/MenuShortcut;
1 7 2 nitems I
2 6 3 i I
MethodParameters:
Name Flags
s
private void (java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Menu;
0 2 1 s Ljava/io/ObjectOutputStream;
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=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 0
getfield java.awt.Menu.items:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.awt.MenuItem
astore 3
start local 3 4: aload 3
aload 0
putfield java.awt.MenuItem.parent:Ljava/awt/MenuContainer;
end local 3 5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield java.awt.Menu.items:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 3
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/awt/Menu;
0 8 1 s Ljava/io/ObjectInputStream;
2 7 2 i I
4 5 3 item Ljava/awt/MenuItem;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException, java.awt.HeadlessException
MethodParameters:
Name Flags
s
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc ",tearOff="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.awt.Menu.tearOff:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc ",isHelpMenu="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.awt.Menu.isHelpMenu:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
aload 0
invokespecial java.awt.MenuItem.paramString:()Ljava/lang/String;
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;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Menu;
1 2 1 str Ljava/lang/String;
private static native void ();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
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 java.awt.Menu.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new java.awt.Menu$AccessibleAWTMenu
dup
aload 0
invokespecial java.awt.Menu$AccessibleAWTMenu.<init>:(Ljava/awt/Menu;)V
putfield java.awt.Menu.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Menu.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/Menu;
int (java.awt.MenuComponent);
descriptor: (Ljava/awt/MenuComponent;)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.Menu.items:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Menu;
0 1 1 child Ljava/awt/MenuComponent;
MethodParameters:
Name Flags
child
}
SourceFile: "Menu.java"
NestMembers:
java.awt.Menu$1 java.awt.Menu$AccessibleAWTMenu
InnerClasses:
java.awt.Menu$1
protected AccessibleAWTMenu = java.awt.Menu$AccessibleAWTMenu of java.awt.Menu
public abstract MenuAccessor = sun.awt.AWTAccessor$MenuAccessor of sun.awt.AWTAccessor