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 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=5, 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: aload 0
getfield com.apple.eawt._AppDockIconHandler.fDockMenu:Ljava/awt/PopupMenu;
invokevirtual java.awt.PopupMenu.getPeer:()Ljava/awt/peer/MenuComponentPeer;
checkcast sun.lwawt.macosx.CMenu
invokevirtual sun.lwawt.macosx.CMenu.getNativeMenu:()J
lstore 3
start local 3 11: lload 3
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 nsMenuPtr J
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=4, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt._AppDockIconHandler.getCImageCreator:()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 2
new com.apple.eawt._AppDockIconHandler$1
dup
aload 0
invokespecial com.apple.eawt._AppDockIconHandler$1.<init>:(Lcom/apple/eawt/_AppDockIconHandler;)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=3, 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:
invokestatic com.apple.eawt._AppDockIconHandler.getCImageCreator:()Lsun/lwawt/macosx/CImage$Creator;
lload 1
invokevirtual sun.lwawt.macosx.CImage$Creator.createImageUsingNativeSize:(J)Ljava/awt/image/BufferedImage;
4: areturn
end local 1 5: StackMap locals: com.apple.eawt._AppDockIconHandler
StackMap stack: java.lang.Throwable
astore 1
start local 1 6: 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 7 0 this Lcom/apple/eawt/_AppDockIconHandler;
1 5 1 dockNSImage J
6 7 1 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 5 Class java.lang.Throwable
3 4 5 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
static sun.lwawt.macosx.CImage$Creator getCImageCreator();
descriptor: ()Lsun/lwawt/macosx/CImage$Creator;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc Lsun/lwawt/macosx/CImage;
ldc "getCreator"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 0
start local 0 1: aload 0
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
2: aload 0
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
3: areturn
end local 0 4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 0
start local 0 5: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 getCreatorMethod Ljava/lang/reflect/Method;
5 6 0 e Ljava/lang/Throwable;
Exception table:
from to target type
0 3 4 Class java.lang.Throwable
}
SourceFile: "_AppDockIconHandler.java"
NestMembers:
com.apple.eawt._AppDockIconHandler$1
InnerClasses:
com.apple.eawt._AppDockIconHandler$1
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