public class extends sun.lwawt.macosx.CMenuComponent implements java.awt.peer.MenuItemPeer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.lwawt.macosx.CMenuItem
super_class: sun.lwawt.macosx.CMenuComponent
{
private final java.util.concurrent.atomic.AtomicBoolean ;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean ;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/lwawt/macosx/CMenuItem;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.lwawt.macosx.CMenuItem.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void (java.awt.MenuItem);
descriptor: (Ljava/awt/MenuItem;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.lwawt.macosx.CMenuComponent.<init>:(Ljava/awt/MenuComponent;)V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
putfield sun.lwawt.macosx.CMenuItem.enabled:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
aload 1
invokevirtual sun.lwawt.macosx.CMenuItem.initialize:(Ljava/awt/MenuItem;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CMenuItem;
0 4 1 target Ljava/awt/MenuItem;
MethodParameters:
Name Flags
target
protected void (java.awt.MenuItem);
descriptor: (Ljava/awt/MenuItem;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.CMenuItem.isSeparator:()Z
ifne 3
1: aload 0
aload 1
invokevirtual java.awt.MenuItem.getLabel:()Ljava/lang/String;
invokevirtual sun.lwawt.macosx.CMenuItem.setLabel:(Ljava/lang/String;)V
2: aload 0
aload 1
invokevirtual java.awt.MenuItem.isEnabled:()Z
invokevirtual sun.lwawt.macosx.CMenuItem.setEnabled:(Z)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CMenuItem;
0 4 1 target Ljava/awt/MenuItem;
MethodParameters:
Name Flags
target
private boolean ();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CMenuItem.getTarget:()Ljava/awt/MenuComponent;
checkcast java.awt.MenuItem
invokevirtual java.awt.MenuItem.getLabel:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
ldc "-"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
iconst_1
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CMenuItem;
1 3 1 label Ljava/lang/String;
long ();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CMenuItem.getTarget:()Ljava/awt/MenuComponent;
invokevirtual java.awt.MenuComponent.getParent:()Ljava/awt/MenuContainer;
invokestatic sun.lwawt.LWToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.lwawt.macosx.CMenuComponent
astore 1
start local 1 1: aload 1
aload 0
invokedynamic run(Lsun/lwawt/macosx/CMenuItem;)Lsun/lwawt/macosx/CFRetainedResource$CFNativeActionGet;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)J
sun/lwawt/macosx/CMenuItem.lambda$0(J)J (7)
(J)J
invokevirtual sun.lwawt.macosx.CMenuComponent.executeGet:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeActionGet;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CMenuItem;
1 2 1 parent Lsun/lwawt/macosx/CMenuComponent;
public void (java.lang.String, char, int, int);
descriptor: (Ljava/lang/String;CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
istore 5
start local 5 1: iload 3
ifne 8
2: aload 0
invokevirtual sun.lwawt.macosx.CMenuItem.getTarget:()Ljava/awt/MenuComponent;
checkcast java.awt.MenuItem
invokevirtual java.awt.MenuItem.getShortcut:()Ljava/awt/MenuShortcut;
astore 6
start local 6 3: aload 6
ifnull 8
4: aload 6
invokevirtual java.awt.MenuShortcut.getKey:()I
istore 3
5: iload 5
iconst_4
ior
istore 5
6: aload 6
invokevirtual java.awt.MenuShortcut.usesShiftModifier:()Z
ifeq 8
7: iload 5
iconst_1
ior
istore 5
end local 6 8: StackMap locals: int
StackMap stack:
aload 1
ifnonnull 10
9: ldc ""
astore 1
10: StackMap locals:
StackMap stack:
iload 2
ldc 65535
if_icmpne 12
11: iconst_0
istore 2
12: StackMap locals:
StackMap stack:
aload 1
astore 6
start local 6 13: iload 2
istore 7
start local 7 14: iload 3
istore 8
start local 8 15: iload 5
istore 9
start local 9 16: aload 0
aload 0
aload 6
iload 7
iload 8
iload 9
invokedynamic run(Lsun/lwawt/macosx/CMenuItem;Ljava/lang/String;CII)Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)V
sun/lwawt/macosx/CMenuItem.lambda$1(Ljava/lang/String;CIIJ)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CMenuItem.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
17: return
end local 9 end local 8 end local 7 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 18 0 this Lsun/lwawt/macosx/CMenuItem;
0 18 1 label Ljava/lang/String;
0 18 2 keyChar C
0 18 3 keyCode I
0 18 4 modifiers I
1 18 5 keyMask I
3 8 6 shortcut Ljava/awt/MenuShortcut;
13 18 6 finalLabel Ljava/lang/String;
14 18 7 finalKeyChar C
15 18 8 finalKeyCode I
16 18 9 finalKeyMask I
MethodParameters:
Name Flags
label
keyChar
keyCode
modifiers
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
iconst_0
iconst_0
invokevirtual sun.lwawt.macosx.CMenuItem.setLabel:(Ljava/lang/String;CII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CMenuItem;
0 2 1 label Ljava/lang/String;
MethodParameters:
Name Flags
label
public final void (java.awt.Image);
descriptor: (Ljava/awt/Image;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic sun.lwawt.macosx.CImage.getCreator:()Lsun/lwawt/macosx/CImage$Creator;
aload 1
invokevirtual sun.lwawt.macosx.CImage$Creator.createFromImage:(Ljava/awt/Image;)Lsun/lwawt/macosx/CImage;
astore 2
start local 2 1: aload 0
aload 0
aload 2
invokedynamic run(Lsun/lwawt/macosx/CMenuItem;Lsun/lwawt/macosx/CImage;)Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)V
sun/lwawt/macosx/CMenuItem.lambda$2(Lsun/lwawt/macosx/CImage;J)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CMenuItem.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CMenuItem;
0 3 1 img Ljava/awt/Image;
1 3 2 cimg Lsun/lwawt/macosx/CImage;
MethodParameters:
Name Flags
img final
public final void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokedynamic run(Lsun/lwawt/macosx/CMenuItem;Ljava/lang/String;)Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)V
sun/lwawt/macosx/CMenuItem.lambda$4(Ljava/lang/String;J)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CMenuItem.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CMenuItem;
0 2 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text final
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual sun.lwawt.macosx.CMenuItem.setEnabled:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CMenuItem;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.lwawt.macosx.CMenuItem.setEnabled:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CMenuItem;
public final boolean ();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CMenuItem.enabled:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CMenuItem;
public void (boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.CMenuItem.getTarget:()Ljava/awt/MenuComponent;
invokevirtual java.awt.MenuComponent.getParent:()Ljava/awt/MenuContainer;
invokestatic sun.lwawt.LWToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof sun.lwawt.macosx.CMenuItem
ifeq 3
2: iload 1
aload 2
checkcast sun.lwawt.macosx.CMenuItem
invokevirtual sun.lwawt.macosx.CMenuItem.isEnabled:()Z
iand
istore 1
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CMenuItem.enabled:Ljava/util/concurrent/atomic/AtomicBoolean;
iload 1
ifeq 4
iconst_0
goto 5
StackMap locals:
StackMap stack: java.util.concurrent.atomic.AtomicBoolean
4: iconst_1
StackMap locals: sun.lwawt.macosx.CMenuItem int java.lang.Object
StackMap stack: java.util.concurrent.atomic.AtomicBoolean int
5: iload 1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 8
6: iload 1
istore 3
start local 3 7: aload 0
aload 0
iload 3
invokedynamic run(Lsun/lwawt/macosx/CMenuItem;Z)Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)V
sun/lwawt/macosx/CMenuItem.lambda$5(ZJ)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CMenuItem.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/macosx/CMenuItem;
0 9 1 b Z
1 9 2 parent Ljava/lang/Object;
7 8 3 finalB Z
MethodParameters:
Name Flags
b
private native long (long, boolean);
descriptor: (JZ)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
parentMenu
isSeparator
private native void (long, java.lang.String, char, int, int);
descriptor: (JLjava/lang/String;CII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
modelPtr
label
keyChar
keyCode
modifiers
private native void (long, long);
descriptor: (JJ)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
modelPtr
image
private native void (long, java.lang.String);
descriptor: (JLjava/lang/String;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
modelPtr
text
private native void (long, boolean);
descriptor: (JZ)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
modelPtr
b
void handleAction(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: getstatic sun.lwawt.macosx.CMenuItem.$assertionsDisabled:Z
ifne 1
invokestatic sun.lwawt.macosx.CThreading.assertAppKit:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CMenuItem.getTarget:()Ljava/awt/MenuComponent;
new sun.lwawt.macosx.CMenuItem$1
dup
aload 0
lload 1
iload 3
invokespecial sun.lwawt.macosx.CMenuItem$1.<init>:(Lsun/lwawt/macosx/CMenuItem;JI)V
invokestatic sun.awt.SunToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CMenuItem;
0 3 1 when J
0 3 3 modifiers I
MethodParameters:
Name Flags
when final
modifiers final
private long (long);
descriptor: (J)J
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
aload 0
invokevirtual sun.lwawt.macosx.CMenuItem.isSeparator:()Z
invokevirtual sun.lwawt.macosx.CMenuItem.nativeCreate:(JZ)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CMenuItem;
0 1 1 ptr J
private void (java.lang.String, char, int, int, long);
descriptor: (Ljava/lang/String;CIIJ)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=7, args_size=6
start local 0 start local 5 0: aload 0
lload 5
aload 1
iload 2
1: iload 3
iload 4
2: invokevirtual sun.lwawt.macosx.CMenuItem.nativeSetLabel:(JLjava/lang/String;CII)V
3: return
end local 5 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CMenuItem;
0 4 5 ptr J
private void (sun.lwawt.macosx.CImage, long);
descriptor: (Lsun/lwawt/macosx/CImage;J)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 2 0: aload 1
ifnonnull 3
1: aload 0
lload 2
lconst_0
invokevirtual sun.lwawt.macosx.CMenuItem.nativeSetImage:(JJ)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 0
lload 2
invokedynamic run(Lsun/lwawt/macosx/CMenuItem;J)Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)V
sun/lwawt/macosx/CMenuItem.lambda$3(JJ)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CImage.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/CMenuItem;
0 5 2 ptr J
private void (java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 0: aload 0
lload 2
aload 1
invokevirtual sun.lwawt.macosx.CMenuItem.nativeSetTooltip:(JLjava/lang/String;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CMenuItem;
0 1 2 ptr J
private void (boolean, long);
descriptor: (ZJ)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 0: aload 0
lload 2
iload 1
invokevirtual sun.lwawt.macosx.CMenuItem.nativeSetEnabled:(JZ)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CMenuItem;
0 1 2 ptr J
private void (long, long);
descriptor: (JJ)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 3 0: aload 0
lload 1
lload 3
invokevirtual sun.lwawt.macosx.CMenuItem.nativeSetImage:(JJ)V
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CMenuItem;
0 1 3 imgPtr J
}
SourceFile: "CMenuItem.java"
NestMembers:
sun.lwawt.macosx.CMenuItem$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract CFNativeAction = sun.lwawt.macosx.CFRetainedResource$CFNativeAction of sun.lwawt.macosx.CFRetainedResource
abstract CFNativeActionGet = sun.lwawt.macosx.CFRetainedResource$CFNativeActionGet of sun.lwawt.macosx.CFRetainedResource
public Creator = sun.lwawt.macosx.CImage$Creator of sun.lwawt.macosx.CImage
sun.lwawt.macosx.CMenuItem$1