class com.apple.eawt._AppDockIconHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.apple.eawt._AppDockIconHandler
super_class: java.lang.Object
{
java.awt.PopupMenu fDockMenu;
descriptor: Ljava/awt/PopupMenu;
flags: (0x0000)
private static native void nativeSetDockMenu(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
cmenu final
private static native void nativeSetDockIconImage(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
image final
private static native void nativeSetDockIconProgress(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
value final
private static native long nativeGetDockIconImage();
descriptor: ()J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native void nativeSetDockIconBadge(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
badge final
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.apple.eawt._AppDockIconHandler.fDockMenu:Ljava/awt/PopupMenu;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/eawt/_AppDockIconHandler;
public void setDockMenu(java.awt.PopupMenu);
descriptor: (Ljava/awt/PopupMenu;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.apple.eawt._AppDockIconHandler.fDockMenu:Ljava/awt/PopupMenu;
1: aload 1
ifnonnull 4
2: lconst_0
invokestatic com.apple.eawt._AppDockIconHandler.nativeSetDockMenu:(J)V
3: return
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.PopupMenu.getParent:()Ljava/awt/MenuContainer;
astore 2
start local 2 5: aload 2
ifnonnull 9
6: new java.awt.MenuBar
dup
invokespecial java.awt.MenuBar.<init>:()V
astore 3
start local 3 7: aload 3
aload 1
invokevirtual java.awt.MenuBar.add:(Ljava/awt/Menu;)Ljava/awt/Menu;
pop
8: aload 3
invokevirtual java.awt.MenuBar.addNotify:()V
end local 3 9: StackMap locals: java.awt.MenuContainer
StackMap stack:
aload 1
invokevirtual java.awt.PopupMenu.addNotify:()V
10: invokestatic sun.awt.AWTAccessor.getMenuComponentAccessor:()Lsun/awt/AWTAccessor$MenuComponentAccessor;
aload 0
getfield com.apple.eawt._AppDockIconHandler.fDockMenu:Ljava/awt/PopupMenu;
invokeinterface sun.awt.AWTAccessor$MenuComponentAccessor.getPeer:(Ljava/awt/MenuComponent;)Ljava/awt/peer/MenuComponentPeer;
checkcast sun.lwawt.macosx.CMenu
astore 3
start local 3 11: aload 3
invokevirtual sun.lwawt.macosx.CMenu.getNativeMenu:()J
invokestatic com.apple.eawt._AppDockIconHandler.nativeSetDockMenu:(J)V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/apple/eawt/_AppDockIconHandler;
0 13 1 menu Ljava/awt/PopupMenu;
5 13 2 container Ljava/awt/MenuContainer;
7 9 3 newParent Ljava/awt/MenuBar;
11 13 3 peer Lsun/lwawt/macosx/CMenu;
MethodParameters:
Name Flags
menu final
public java.awt.PopupMenu getDockMenu();
descriptor: ()Ljava/awt/PopupMenu;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.apple.eawt._AppDockIconHandler.fDockMenu:Ljava/awt/PopupMenu;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/eawt/_AppDockIconHandler;
public void setDockIconImage(java.awt.Image);
descriptor: (Ljava/awt/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.lwawt.macosx.CImage.createFromImage:(Ljava/awt/Image;)Lsun/lwawt/macosx/CImage;
astore 2
start local 2 1: aload 2
invokedynamic run()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
com/apple/eawt/_AppDockIconHandler.nativeSetDockIconImage(J)V (6)
(J)V
invokevirtual sun.lwawt.macosx.CImage.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
end local 2 2: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 2
start local 2 4: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
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 Lcom/apple/eawt/_AppDockIconHandler;
0 6 1 image Ljava/awt/Image;
1 2 2 cImage Lsun/lwawt/macosx/CImage;
4 5 2 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.Throwable
MethodParameters:
Name Flags
image final
java.awt.Image getDockIconImage();
descriptor: ()Ljava/awt/Image;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=1
start local 0 0: invokestatic com.apple.eawt._AppDockIconHandler.nativeGetDockIconImage:()J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifne 3
2: aconst_null
areturn
3: StackMap locals: long
StackMap stack:
ldc Lsun/lwawt/macosx/CImage;
4: ldc "getCreator"
iconst_0
anewarray java.lang.Class
5: invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 6: aload 3
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
7: aload 3
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.lwawt.macosx.CImage$Creator
astore 4
start local 4 8: aload 4
lload 1
invokevirtual sun.lwawt.macosx.CImage$Creator.createImageUsingNativeSize:(J)Ljava/awt/Image;
9: areturn
end local 4 end local 3 end local 1 10: StackMap locals: com.apple.eawt._AppDockIconHandler
StackMap stack: java.lang.Throwable
astore 1
start local 1 11: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/apple/eawt/_AppDockIconHandler;
1 10 1 dockNSImage J
6 10 3 getCreatorMethod Ljava/lang/reflect/Method;
8 10 4 imageCreator Lsun/lwawt/macosx/CImage$Creator;
11 12 1 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 10 Class java.lang.Throwable
3 9 10 Class java.lang.Throwable
void setDockIconBadge(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.apple.eawt._AppDockIconHandler.nativeSetDockIconBadge:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/eawt/_AppDockIconHandler;
0 2 1 badge Ljava/lang/String;
MethodParameters:
Name Flags
badge final
void setDockIconProgress(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic com.apple.eawt._AppDockIconHandler.nativeSetDockIconProgress:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/eawt/_AppDockIconHandler;
0 2 1 value I
MethodParameters:
Name Flags
value
}
SourceFile: "_AppDockIconHandler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract MenuComponentAccessor = sun.awt.AWTAccessor$MenuComponentAccessor of sun.awt.AWTAccessor
public abstract CFNativeAction = sun.lwawt.macosx.CFRetainedResource$CFNativeAction of sun.lwawt.macosx.CFRetainedResource
public Creator = sun.lwawt.macosx.CImage$Creator of sun.lwawt.macosx.CImage