public class extends java.awt.MenuItem implements java.awt.ItemSelectable, javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.CheckboxMenuItem
super_class: java.awt.MenuItem
{
private volatile boolean ;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile transient java.awt.event.ItemListener ;
descriptor: Ljava/awt/event/ItemListener;
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "chkmenuitem"
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: 6190621106981774043
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.CheckboxMenuItem.initIDs:()V
3: StackMap locals:
StackMap stack:
new java.awt.CheckboxMenuItem$1
dup
invokespecial java.awt.CheckboxMenuItem$1.<init>:()V
4: invokestatic sun.awt.AWTAccessor.setCheckboxMenuItemAccessor:(Lsun/awt/AWTAccessor$CheckboxMenuItemAccessor;)V
5: iconst_0
putstatic java.awt.CheckboxMenuItem.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.CheckboxMenuItem.<init>:(Ljava/lang/String;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/CheckboxMenuItem;
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.CheckboxMenuItem.<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/CheckboxMenuItem;
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=2, 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
iconst_1
putfield java.awt.CheckboxMenuItem.checkboxMenuItemSerializedDataVersion:I
2: aload 0
iload 2
putfield java.awt.CheckboxMenuItem.state:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/CheckboxMenuItem;
0 4 1 label Ljava/lang/String;
0 4 2 state Z
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
label
state
java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc Ljava/awt/CheckboxMenuItem;
dup
astore 1
monitorenter
1: new java.lang.StringBuilder
dup
ldc "chkmenuitem"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.awt.CheckboxMenuItem.nameCounter:I
dup
iconst_1
iadd
putstatic java.awt.CheckboxMenuItem.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.CheckboxMenuItem 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/CheckboxMenuItem;
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=2, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.CheckboxMenuItem.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield java.awt.CheckboxMenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
ifnonnull 3
2: aload 0
aload 0
invokevirtual java.awt.CheckboxMenuItem.getComponentFactory:()Lsun/awt/ComponentFactory;
aload 0
invokeinterface sun.awt.ComponentFactory.createCheckboxMenuItem:(Ljava/awt/CheckboxMenuItem;)Ljava/awt/peer/CheckboxMenuItemPeer;
putfield java.awt.CheckboxMenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokespecial java.awt.MenuItem.addNotify:()V
4: aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/CheckboxMenuItem;
Exception table:
from to target type
1 5 6 any
6 7 6 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.CheckboxMenuItem.state:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/CheckboxMenuItem;
public synchronized void (boolean);
descriptor: (Z)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield java.awt.CheckboxMenuItem.state:Z
1: aload 0
getfield java.awt.CheckboxMenuItem.peer:Ljava/awt/peer/MenuComponentPeer;
checkcast java.awt.peer.CheckboxMenuItemPeer
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
iload 1
invokeinterface java.awt.peer.CheckboxMenuItemPeer.setState:(Z)V
4: StackMap locals: java.awt.peer.CheckboxMenuItemPeer
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/CheckboxMenuItem;
0 5 1 b Z
2 5 2 peer Ljava/awt/peer/CheckboxMenuItemPeer;
MethodParameters:
Name Flags
b
public synchronized java.lang.Object[] ();
descriptor: ()[Ljava/lang/Object;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield java.awt.CheckboxMenuItem.state:Z
ifeq 4
1: iconst_1
anewarray java.lang.Object
astore 1
start local 1 2: aload 1
iconst_0
aload 0
getfield java.awt.CheckboxMenuItem.label:Ljava/lang/String;
aastore
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/CheckboxMenuItem;
2 4 1 items [Ljava/lang/Object;
public synchronized void (java.awt.event.ItemListener);
descriptor: (Ljava/awt/event/ItemListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.awt.CheckboxMenuItem.itemListener:Ljava/awt/event/ItemListener;
aload 1
invokestatic java.awt.AWTEventMulticaster.add:(Ljava/awt/event/ItemListener;Ljava/awt/event/ItemListener;)Ljava/awt/event/ItemListener;
putfield java.awt.CheckboxMenuItem.itemListener:Ljava/awt/event/ItemListener;
3: aload 0
iconst_1
putfield java.awt.CheckboxMenuItem.newEventsOnly:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/CheckboxMenuItem;
0 5 1 l Ljava/awt/event/ItemListener;
MethodParameters:
Name Flags
l
public synchronized void (java.awt.event.ItemListener);
descriptor: (Ljava/awt/event/ItemListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.awt.CheckboxMenuItem.itemListener:Ljava/awt/event/ItemListener;
aload 1
invokestatic java.awt.AWTEventMulticaster.remove:(Ljava/awt/event/ItemListener;Ljava/awt/event/ItemListener;)Ljava/awt/event/ItemListener;
putfield java.awt.CheckboxMenuItem.itemListener:Ljava/awt/event/ItemListener;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/CheckboxMenuItem;
0 4 1 l Ljava/awt/event/ItemListener;
MethodParameters:
Name Flags
l
public synchronized java.awt.event.ItemListener[] ();
descriptor: ()[Ljava/awt/event/ItemListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/awt/event/ItemListener;
invokevirtual java.awt.CheckboxMenuItem.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast java.awt.event.ItemListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/CheckboxMenuItem;
public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)[Ljava/util/EventListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ldc Ljava/awt/event/ItemListener;
if_acmpne 4
2: aload 0
getfield java.awt.CheckboxMenuItem.itemListener:Ljava/awt/event/ItemListener;
astore 2
3: goto 5
4: StackMap locals: java.util.EventListener
StackMap stack:
aload 0
aload 1
invokespecial java.awt.MenuItem.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
areturn
5: StackMap locals:
StackMap stack:
aload 2
aload 1
invokestatic java.awt.AWTEventMulticaster.getListeners:(Ljava/util/EventListener;Ljava/lang/Class;)[Ljava/util/EventListener;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/CheckboxMenuItem;
0 6 1 listenerType Ljava/lang/Class<TT;>;
1 6 2 l Ljava/util/EventListener;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;)[TT;
MethodParameters:
Name Flags
listenerType
boolean (java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)Z
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield java.awt.AWTEvent.id:I
sipush 701
if_icmpne 5
1: aload 0
getfield java.awt.CheckboxMenuItem.eventMask:J
ldc 512
land
lconst_0
lcmp
ifne 3
2: aload 0
getfield java.awt.CheckboxMenuItem.itemListener:Ljava/awt/event/ItemListener;
ifnull 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.awt.MenuItem.eventEnabled:(Ljava/awt/AWTEvent;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/CheckboxMenuItem;
0 6 1 e Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
protected void (java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.event.ItemEvent
ifeq 3
1: aload 0
aload 1
checkcast java.awt.event.ItemEvent
invokevirtual java.awt.CheckboxMenuItem.processItemEvent:(Ljava/awt/event/ItemEvent;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.awt.MenuItem.processEvent:(Ljava/awt/AWTEvent;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/CheckboxMenuItem;
0 5 1 e Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
protected void (java.awt.event.ItemEvent);
descriptor: (Ljava/awt/event/ItemEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.CheckboxMenuItem.itemListener:Ljava/awt/event/ItemListener;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.event.ItemListener.itemStateChanged:(Ljava/awt/event/ItemEvent;)V
3: StackMap locals: java.awt.event.ItemListener
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/CheckboxMenuItem;
0 4 1 e Ljava/awt/event/ItemEvent;
1 4 2 listener Ljava/awt/event/ItemListener;
MethodParameters:
Name Flags
e
void (long, int);
descriptor: (JI)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
getfield java.awt.CheckboxMenuItem.state:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.awt.CheckboxMenuItem
1: iconst_1
StackMap locals: java.awt.CheckboxMenuItem long int
StackMap stack: java.awt.CheckboxMenuItem int
2: invokevirtual java.awt.CheckboxMenuItem.setState:(Z)V
3: invokestatic java.awt.Toolkit.getEventQueue:()Ljava/awt/EventQueue;
4: new java.awt.event.ItemEvent
dup
aload 0
sipush 701
5: aload 0
invokevirtual java.awt.CheckboxMenuItem.getLabel:()Ljava/lang/String;
6: aload 0
getfield java.awt.CheckboxMenuItem.state:Z
ifeq 7
iconst_1
goto 8
7: StackMap locals: java.awt.CheckboxMenuItem long int
StackMap stack: java.awt.EventQueue new 4 new 4 java.awt.CheckboxMenuItem int java.lang.String
iconst_2
8: StackMap locals: java.awt.CheckboxMenuItem long int
StackMap stack: java.awt.EventQueue new 4 new 4 java.awt.CheckboxMenuItem int java.lang.String int
invokespecial java.awt.event.ItemEvent.<init>:(Ljava/awt/ItemSelectable;ILjava/lang/Object;I)V
9: invokevirtual java.awt.EventQueue.postEvent:(Ljava/awt/AWTEvent;)V
10: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/awt/CheckboxMenuItem;
0 11 1 when J
0 11 3 modifiers I
MethodParameters:
Name Flags
when
modifiers
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: 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
ldc ",state="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.awt.CheckboxMenuItem.state:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/CheckboxMenuItem;
private void (java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
ldc "itemL"
aload 0
getfield java.awt.CheckboxMenuItem.itemListener:Ljava/awt/event/ItemListener;
invokestatic java.awt.AWTEventMulticaster.save:(Ljava/io/ObjectOutputStream;Ljava/lang/String;Ljava/util/EventListener;)V
2: aload 1
aconst_null
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/CheckboxMenuItem;
0 4 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: goto 6
start local 2 2: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast java.lang.String
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 3
start local 3 3: ldc "itemL"
aload 3
if_acmpne 5
4: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.awt.event.ItemListener
invokevirtual java.awt.CheckboxMenuItem.addItemListener:(Ljava/awt/event/ItemListener;)V
goto 6
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
pop
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
dup
astore 2
start local 2 7: ifnonnull 2
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/CheckboxMenuItem;
0 9 1 s Ljava/io/ObjectInputStream;
2 6 2 keyOrNull Ljava/lang/Object;
7 9 2 keyOrNull Ljava/lang/Object;
3 6 3 key Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
s
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.CheckboxMenuItem.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new java.awt.CheckboxMenuItem$AccessibleAWTCheckboxMenuItem
dup
aload 0
invokespecial java.awt.CheckboxMenuItem$AccessibleAWTCheckboxMenuItem.<init>:(Ljava/awt/CheckboxMenuItem;)V
putfield java.awt.CheckboxMenuItem.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.CheckboxMenuItem.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/CheckboxMenuItem;
}
SourceFile: "CheckboxMenuItem.java"
NestMembers:
java.awt.CheckboxMenuItem$1 java.awt.CheckboxMenuItem$AccessibleAWTCheckboxMenuItem
InnerClasses:
java.awt.CheckboxMenuItem$1
protected AccessibleAWTCheckboxMenuItem = java.awt.CheckboxMenuItem$AccessibleAWTCheckboxMenuItem of java.awt.CheckboxMenuItem
public abstract CheckboxMenuItemAccessor = sun.awt.AWTAccessor$CheckboxMenuItemAccessor of sun.awt.AWTAccessor