public class sun.lwawt.macosx.CTrayIcon extends sun.lwawt.macosx.CFRetainedResource implements java.awt.peer.TrayIconPeer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.lwawt.macosx.CTrayIcon
super_class: sun.lwawt.macosx.CFRetainedResource
{
private java.awt.TrayIcon target;
descriptor: Ljava/awt/TrayIcon;
flags: (0x0002) ACC_PRIVATE
private java.awt.PopupMenu ;
descriptor: Ljava/awt/PopupMenu;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JDialog messageDialog;
descriptor: Ljavax/swing/JDialog;
flags: (0x0002) ACC_PRIVATE
private sun.lwawt.macosx.CTrayIcon$DialogEventHandler handler;
descriptor: Lsun/lwawt/macosx/CTrayIcon$DialogEventHandler;
flags: (0x0002) ACC_PRIVATE
private final java.awt.Frame dummyFrame;
descriptor: Ljava/awt/Frame;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static int mouseClickButtons;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic sun.lwawt.macosx.CTrayIcon.mouseClickButtons:I
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.awt.TrayIcon);
descriptor: (Ljava/awt/TrayIcon;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
lconst_0
iconst_1
invokespecial sun.lwawt.macosx.CFRetainedResource.<init>:(JZ)V
1: aload 0
aconst_null
putfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
2: aload 0
aconst_null
putfield sun.lwawt.macosx.CTrayIcon.handler:Lsun/lwawt/macosx/CTrayIcon$DialogEventHandler;
3: aload 0
aload 1
putfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
4: aload 0
aload 1
invokevirtual java.awt.TrayIcon.getPopupMenu:()Ljava/awt/PopupMenu;
putfield sun.lwawt.macosx.CTrayIcon.popup:Ljava/awt/PopupMenu;
5: aload 0
new java.awt.Frame
dup
invokespecial java.awt.Frame.<init>:()V
putfield sun.lwawt.macosx.CTrayIcon.dummyFrame:Ljava/awt/Frame;
6: aload 0
aload 0
invokevirtual sun.lwawt.macosx.CTrayIcon.createModel:()J
invokevirtual sun.lwawt.macosx.CTrayIcon.setPtr:(J)V
7: aload 0
invokevirtual sun.lwawt.macosx.CTrayIcon.checkAndCreatePopupPeer:()Lsun/lwawt/macosx/CPopupMenu;
pop
8: aload 0
invokevirtual sun.lwawt.macosx.CTrayIcon.updateImage:()V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/lwawt/macosx/CTrayIcon;
0 10 1 target Ljava/awt/TrayIcon;
MethodParameters:
Name Flags
target
private sun.lwawt.macosx.CPopupMenu checkAndCreatePopupPeer();
descriptor: ()Lsun/lwawt/macosx/CPopupMenu;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield sun.lwawt.macosx.CTrayIcon.popup:Ljava/awt/PopupMenu;
ifnull 9
2: aload 0
getfield sun.lwawt.macosx.CTrayIcon.popup:Ljava/awt/PopupMenu;
invokevirtual java.awt.PopupMenu.getPeer:()Ljava/awt/peer/MenuComponentPeer;
checkcast sun.lwawt.macosx.CPopupMenu
astore 1
3: aload 1
ifnonnull 9
4: aload 0
getfield sun.lwawt.macosx.CTrayIcon.popup:Ljava/awt/PopupMenu;
invokevirtual java.awt.PopupMenu.addNotify:()V
5: aload 0
getfield sun.lwawt.macosx.CTrayIcon.popup:Ljava/awt/PopupMenu;
invokevirtual java.awt.PopupMenu.getPeer:()Ljava/awt/peer/MenuComponentPeer;
checkcast sun.lwawt.macosx.CPopupMenu
astore 1
6: goto 9
StackMap locals: sun.lwawt.macosx.CTrayIcon sun.lwawt.macosx.CPopupMenu
StackMap stack: java.lang.Exception
7: astore 2
start local 2 8: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/lwawt/macosx/CTrayIcon;
1 10 1 menuPeer Lsun/lwawt/macosx/CPopupMenu;
8 9 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 6 7 Class java.lang.Exception
private long createModel();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CTrayIcon.nativeCreate:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CTrayIcon;
private native long nativeCreate();
descriptor: ()J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public long ();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CTrayIcon.popup:Ljava/awt/PopupMenu;
ifnonnull 6
1: aload 0
getfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
invokevirtual java.awt.TrayIcon.getPopupMenu:()Ljava/awt/PopupMenu;
astore 1
start local 1 2: aload 1
ifnull 5
3: aload 0
aload 1
putfield sun.lwawt.macosx.CTrayIcon.popup:Ljava/awt/PopupMenu;
4: goto 6
5: StackMap locals: java.awt.PopupMenu
StackMap stack:
lconst_0
lreturn
end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CTrayIcon.checkAndCreatePopupPeer:()Lsun/lwawt/macosx/CPopupMenu;
getfield sun.lwawt.macosx.CPopupMenu.ptr:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/macosx/CTrayIcon;
2 6 1 popupMenu Ljava/awt/PopupMenu;
public void displayMessage(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic javax.swing.SwingUtilities.isEventDispatchThread:()Z
ifeq 3
1: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.lwawt.macosx.CTrayIcon.displayMessageOnEDT:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2: goto 7
3: StackMap locals:
StackMap stack:
new sun.lwawt.macosx.CTrayIcon$1
dup
aload 0
aload 1
aload 2
aload 3
invokespecial sun.lwawt.macosx.CTrayIcon$1.<init>:(Lsun/lwawt/macosx/CTrayIcon;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokestatic javax.swing.SwingUtilities.invokeAndWait:(Ljava/lang/Runnable;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 4
start local 4 6: new java.lang.AssertionError
dup
aload 4
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/macosx/CTrayIcon;
0 8 1 caption Ljava/lang/String;
0 8 2 text Ljava/lang/String;
0 8 3 messageType Ljava/lang/String;
6 7 4 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
caption final
text final
messageType final
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
ifnull 2
1: aload 0
invokevirtual sun.lwawt.macosx.CTrayIcon.disposeMessageDialog:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CTrayIcon.dummyFrame:Ljava/awt/Frame;
invokevirtual java.awt.Frame.dispose:()V
3: aload 0
getfield sun.lwawt.macosx.CTrayIcon.popup:Ljava/awt/PopupMenu;
ifnull 5
4: aload 0
getfield sun.lwawt.macosx.CTrayIcon.popup:Ljava/awt/PopupMenu;
invokevirtual java.awt.PopupMenu.removeNotify:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
aload 0
invokestatic sun.lwawt.macosx.LWCToolkit.targetDisposedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
6: aload 0
aconst_null
putfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
7: aload 0
invokespecial sun.lwawt.macosx.CFRetainedResource.dispose:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/macosx/CTrayIcon;
public void setToolTip(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 0
aload 1
invokedynamic run(Lsun/lwawt/macosx/CTrayIcon;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/CTrayIcon.lambda$0(Ljava/lang/String;J)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CTrayIcon.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/CTrayIcon;
0 2 1 tooltip Ljava/lang/String;
MethodParameters:
Name Flags
tooltip
private native void nativeSetToolTip(long, java.lang.String);
descriptor: (JLjava/lang/String;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
trayIconModel
tooltip
public void (int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CTrayIcon;
0 1 1 x I
0 1 2 y I
MethodParameters:
Name Flags
x
y
public void updateImage();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
invokevirtual java.awt.TrayIcon.getImage:()Ljava/awt/Image;
astore 1
start local 1 1: aload 1
ifnonnull 2
return
2: StackMap locals: java.awt.Image
StackMap stack:
new java.awt.MediaTracker
dup
new java.awt.Button
dup
ldc ""
invokespecial java.awt.Button.<init>:(Ljava/lang/String;)V
invokespecial java.awt.MediaTracker.<init>:(Ljava/awt/Component;)V
astore 2
start local 2 3: aload 2
aload 1
iconst_0
invokevirtual java.awt.MediaTracker.addImage:(Ljava/awt/Image;I)V
4: aload 2
invokevirtual java.awt.MediaTracker.waitForAll:()V
5: goto 7
StackMap locals: sun.lwawt.macosx.CTrayIcon java.awt.Image java.awt.MediaTracker
StackMap stack: java.lang.InterruptedException
6: pop
7: StackMap locals:
StackMap stack:
aload 1
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
ifle 9
8: aload 1
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
ifgt 10
9: StackMap locals:
StackMap stack:
return
10: StackMap locals:
StackMap stack:
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 3
start local 3 11: aload 0
getfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
invokevirtual java.awt.TrayIcon.isImageAutoSize:()Z
istore 4
start local 4 12: aload 3
aload 0
iload 4
invokedynamic run(Lsun/lwawt/macosx/CTrayIcon;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/CTrayIcon.lambda$1(ZJ)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CImage.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
13: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/lwawt/macosx/CTrayIcon;
1 14 1 image Ljava/awt/Image;
3 14 2 tracker Ljava/awt/MediaTracker;
11 14 3 cimage Lsun/lwawt/macosx/CImage;
12 14 4 imageAutoSize Z
Exception table:
from to target type
4 5 6 Class java.lang.InterruptedException
private native void setNativeImage(long, long, boolean);
descriptor: (JJZ)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
model final
nsimage final
autosize final
private void postEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
new sun.lwawt.macosx.CTrayIcon$2
dup
aload 0
aload 1
invokespecial sun.lwawt.macosx.CTrayIcon$2.<init>:(Lsun/lwawt/macosx/CTrayIcon;Ljava/awt/AWTEvent;)V
invokestatic sun.awt.SunToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CTrayIcon;
0 2 1 event Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
event final
private void handleMouseEvent(sun.lwawt.macosx.NSEvent);
descriptor: (Lsun/lwawt/macosx/NSEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=14, locals=17, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getButtonNumber:()I
istore 2
start local 2 1: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
checkcast sun.awt.SunToolkit
astore 3
start local 3 2: iload 2
iconst_2
if_icmple 3
aload 3
invokevirtual sun.awt.SunToolkit.areExtraMouseButtonsEnabled:()Z
ifeq 4
3: StackMap locals: int sun.awt.SunToolkit
StackMap stack:
iload 2
aload 3
invokevirtual sun.awt.SunToolkit.getNumberOfButtons:()I
iconst_1
isub
if_icmple 5
4: StackMap locals:
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getType:()I
invokestatic sun.lwawt.macosx.NSEvent.nsToJavaEventType:(I)I
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: iconst_0
istore 6
start local 6 8: iload 4
sipush 503
if_icmpeq 11
9: iload 2
invokestatic sun.lwawt.macosx.NSEvent.nsToJavaButton:(I)I
istore 5
10: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getClickCount:()I
istore 6
11: StackMap locals: int int int
StackMap stack:
iload 2
12: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getModifierFlags:()I
13: invokestatic sun.lwawt.macosx.NSEvent.nsToJavaMouseModifiers:(II)I
istore 7
start local 7 14: iload 7
invokestatic sun.lwawt.macosx.NSEvent.isPopupTrigger:(I)Z
istore 8
start local 8 15: iload 5
ifle 17
16: iload 5
invokestatic java.awt.event.MouseEvent.getMaskForButton:(I)I
goto 18
StackMap locals: int int
StackMap stack:
17: iconst_0
18: StackMap locals:
StackMap stack: int
istore 9
start local 9 19: invokestatic java.lang.System.currentTimeMillis:()J
lstore 10
start local 10 20: iload 4
sipush 501
if_icmpne 23
21: getstatic sun.lwawt.macosx.CTrayIcon.mouseClickButtons:I
iload 9
ior
putstatic sun.lwawt.macosx.CTrayIcon.mouseClickButtons:I
22: goto 25
StackMap locals: int long
StackMap stack:
23: iload 4
sipush 506
if_icmpne 25
24: iconst_0
putstatic sun.lwawt.macosx.CTrayIcon.mouseClickButtons:I
25: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getAbsX:()I
istore 12
start local 12 26: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getAbsY:()I
istore 13
start local 13 27: new java.awt.event.MouseEvent
dup
aload 0
getfield sun.lwawt.macosx.CTrayIcon.dummyFrame:Ljava/awt/Frame;
iload 4
lload 10
28: iload 7
iload 12
iload 13
iload 12
iload 13
iload 6
iload 8
29: iload 5
30: invokespecial java.awt.event.MouseEvent.<init>:(Ljava/awt/Component;IJIIIIIIZI)V
astore 14
start local 14 31: aload 14
aload 0
getfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
invokevirtual java.awt.event.MouseEvent.setSource:(Ljava/lang/Object;)V
32: aload 0
aload 14
invokevirtual sun.lwawt.macosx.CTrayIcon.postEvent:(Ljava/awt/AWTEvent;)V
33: iload 4
sipush 501
if_icmpne 39
iload 8
ifeq 39
34: aload 0
getfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
invokevirtual java.awt.TrayIcon.getActionCommand:()Ljava/lang/String;
astore 15
start local 15 35: new java.awt.event.ActionEvent
dup
aload 0
getfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
36: sipush 1001
aload 15
37: invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;)V
astore 16
start local 16 38: aload 0
aload 16
invokevirtual sun.lwawt.macosx.CTrayIcon.postEvent:(Ljava/awt/AWTEvent;)V
end local 16 end local 15 39: StackMap locals: int int java.awt.event.MouseEvent
StackMap stack:
iload 4
sipush 502
if_icmpne 48
40: getstatic sun.lwawt.macosx.CTrayIcon.mouseClickButtons:I
iload 9
iand
ifeq 47
41: new java.awt.event.MouseEvent
dup
aload 0
getfield sun.lwawt.macosx.CTrayIcon.dummyFrame:Ljava/awt/Frame;
42: sipush 500
lload 10
iload 7
iload 12
iload 13
43: iload 12
iload 13
iload 6
iload 8
iload 5
44: invokespecial java.awt.event.MouseEvent.<init>:(Ljava/awt/Component;IJIIIIIIZI)V
astore 15
start local 15 45: aload 15
aload 0
getfield sun.lwawt.macosx.CTrayIcon.target:Ljava/awt/TrayIcon;
invokevirtual java.awt.event.MouseEvent.setSource:(Ljava/lang/Object;)V
46: aload 0
aload 15
invokevirtual sun.lwawt.macosx.CTrayIcon.postEvent:(Ljava/awt/AWTEvent;)V
end local 15 47: StackMap locals:
StackMap stack:
getstatic sun.lwawt.macosx.CTrayIcon.mouseClickButtons:I
iload 9
iconst_m1
ixor
iand
putstatic sun.lwawt.macosx.CTrayIcon.mouseClickButtons:I
48: StackMap locals:
StackMap stack:
return
end local 14 end local 13 end local 12 end local 10 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 49 0 this Lsun/lwawt/macosx/CTrayIcon;
0 49 1 nsEvent Lsun/lwawt/macosx/NSEvent;
1 49 2 buttonNumber I
2 49 3 tk Lsun/awt/SunToolkit;
6 49 4 jeventType I
7 49 5 jbuttonNumber I
8 49 6 jclickCount I
14 49 7 jmodifiers I
15 49 8 isPopupTrigger Z
19 49 9 eventButtonMask I
20 49 10 when J
26 49 12 absX I
27 49 13 absY I
31 49 14 mouseEvent Ljava/awt/event/MouseEvent;
35 39 15 cmd Ljava/lang/String;
38 39 16 event Ljava/awt/event/ActionEvent;
45 47 15 clickEvent Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
nsEvent
private native java.awt.geom.Point2D nativeGetIconLocation(long);
descriptor: (J)Ljava/awt/geom/Point2D;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
trayIconModel
public void displayMessageOnEDT(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
ifnull 2
1: aload 0
invokevirtual sun.lwawt.macosx.CTrayIcon.disposeMessageDialog:()V
2: StackMap locals:
StackMap stack:
aload 3
invokestatic sun.lwawt.macosx.CTrayIcon.getIconForMessageType:(Ljava/lang/String;)Ljavax/swing/Icon;
astore 4
start local 4 3: aload 4
ifnull 5
4: new javax.swing.ImageIcon
dup
aload 4
ldc 0.75
invokestatic sun.lwawt.macosx.CTrayIcon.scaleIcon:(Ljavax/swing/Icon;D)Ljava/awt/image/BufferedImage;
invokespecial javax.swing.ImageIcon.<init>:(Ljava/awt/Image;)V
astore 4
5: StackMap locals: javax.swing.Icon
StackMap stack:
invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
invokevirtual java.awt.Toolkit.getScreenSize:()Ljava/awt/Dimension;
astore 5
start local 5 6: aload 5
getfield java.awt.Dimension.width:I
bipush 8
idiv
istore 6
start local 6 7: aload 0
aload 0
aload 1
aload 2
iload 6
aload 4
invokevirtual sun.lwawt.macosx.CTrayIcon.createMessageDialog:(Ljava/lang/String;Ljava/lang/String;ILjavax/swing/Icon;)Ljavax/swing/JDialog;
putfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
8: aload 0
invokevirtual sun.lwawt.macosx.CTrayIcon.showMessageDialog:()V
9: return
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 10 0 this Lsun/lwawt/macosx/CTrayIcon;
0 10 1 caption Ljava/lang/String;
0 10 2 text Ljava/lang/String;
0 10 3 messageType Ljava/lang/String;
3 10 4 icon Ljavax/swing/Icon;
6 10 5 screenSize Ljava/awt/Dimension;
7 10 6 textWidth I
MethodParameters:
Name Flags
caption
text
messageType
private javax.swing.JDialog createMessageDialog(java.lang.String, java.lang.String, int, javax.swing.Icon);
descriptor: (Ljava/lang/String;Ljava/lang/String;ILjavax/swing/Icon;)Ljavax/swing/JDialog;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
new sun.lwawt.macosx.CTrayIcon$DialogEventHandler
dup
aload 0
invokespecial sun.lwawt.macosx.CTrayIcon$DialogEventHandler.<init>:(Lsun/lwawt/macosx/CTrayIcon;)V
putfield sun.lwawt.macosx.CTrayIcon.handler:Lsun/lwawt/macosx/CTrayIcon$DialogEventHandler;
1: aconst_null
astore 6
start local 6 2: aload 1
ifnull 4
3: aload 1
iload 3
iconst_0
iconst_1
invokestatic sun.lwawt.macosx.CTrayIcon.createTextArea:(Ljava/lang/String;IZZ)Ljavax/swing/JTextArea;
astore 6
4: StackMap locals: sun.lwawt.macosx.CTrayIcon java.lang.String java.lang.String int javax.swing.Icon top javax.swing.JTextArea
StackMap stack:
aconst_null
astore 7
start local 7 5: aload 2
ifnull 7
6: aload 2
iload 3
iconst_1
iconst_0
invokestatic sun.lwawt.macosx.CTrayIcon.createTextArea:(Ljava/lang/String;IZZ)Ljavax/swing/JTextArea;
astore 7
7: StackMap locals: javax.swing.JTextArea
StackMap stack:
aconst_null
astore 8
start local 8 8: aload 6
ifnull 14
9: aload 7
ifnull 12
10: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
aastore
dup
iconst_2
aload 7
aastore
astore 8
11: goto 16
12: StackMap locals: java.lang.Object[]
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
astore 8
13: goto 16
14: StackMap locals:
StackMap stack:
aload 7
ifnull 16
15: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
astore 8
16: StackMap locals:
StackMap stack:
new javax.swing.JOptionPane
dup
aload 8
invokespecial javax.swing.JOptionPane.<init>:(Ljava/lang/Object;)V
astore 9
start local 9 17: aload 9
aload 4
invokevirtual javax.swing.JOptionPane.setIcon:(Ljavax/swing/Icon;)V
18: aload 9
aload 0
getfield sun.lwawt.macosx.CTrayIcon.handler:Lsun/lwawt/macosx/CTrayIcon$DialogEventHandler;
invokevirtual javax.swing.JOptionPane.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
19: aload 9
iconst_1
invokevirtual javax.swing.JOptionPane.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JPanel
astore 10
start local 10 20: aload 10
iconst_0
invokevirtual javax.swing.JPanel.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JButton
astore 11
start local 11 21: aload 11
ldc "JComponent.sizeVariant"
ldc "small"
invokevirtual javax.swing.JButton.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 11 end local 10 22: goto 24
StackMap locals: sun.lwawt.macosx.CTrayIcon java.lang.String java.lang.String int javax.swing.Icon top javax.swing.JTextArea javax.swing.JTextArea java.lang.Object[] javax.swing.JOptionPane
StackMap stack: java.lang.Throwable
23: pop
24: StackMap locals:
StackMap stack:
new javax.swing.JDialog
dup
aconst_null
invokespecial javax.swing.JDialog.<init>:(Ljava/awt/Dialog;)V
astore 5
start local 5 25: aload 5
invokevirtual javax.swing.JDialog.getRootPane:()Ljavax/swing/JRootPane;
astore 10
start local 10 26: aload 10
ldc "Window.style"
ldc "small"
invokevirtual javax.swing.JRootPane.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
27: aload 10
ldc "Window.zoomable"
ldc "false"
invokevirtual javax.swing.JRootPane.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
28: aload 5
iconst_0
invokevirtual javax.swing.JDialog.setDefaultCloseOperation:(I)V
29: aload 5
iconst_0
invokevirtual javax.swing.JDialog.setModal:(Z)V
30: aload 5
getstatic java.awt.Dialog$ModalExclusionType.TOOLKIT_EXCLUDE:Ljava/awt/Dialog$ModalExclusionType;
invokevirtual javax.swing.JDialog.setModalExclusionType:(Ljava/awt/Dialog$ModalExclusionType;)V
31: aload 5
iconst_1
invokevirtual javax.swing.JDialog.setAlwaysOnTop:(Z)V
32: aload 5
iconst_0
invokevirtual javax.swing.JDialog.setAutoRequestFocus:(Z)V
33: aload 5
iconst_0
invokevirtual javax.swing.JDialog.setResizable:(Z)V
34: aload 5
aload 9
invokevirtual javax.swing.JDialog.setContentPane:(Ljava/awt/Container;)V
35: aload 5
aload 0
getfield sun.lwawt.macosx.CTrayIcon.handler:Lsun/lwawt/macosx/CTrayIcon$DialogEventHandler;
invokevirtual javax.swing.JDialog.addWindowListener:(Ljava/awt/event/WindowListener;)V
36: invokestatic sun.awt.AWTAccessor.getWindowAccessor:()Lsun/awt/AWTAccessor$WindowAccessor;
aload 5
iconst_1
invokeinterface sun.awt.AWTAccessor$WindowAccessor.setTrayIconWindow:(Ljava/awt/Window;Z)V
37: aload 5
invokevirtual javax.swing.JDialog.pack:()V
38: aload 5
areturn
end local 10 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 39 0 this Lsun/lwawt/macosx/CTrayIcon;
0 39 1 caption Ljava/lang/String;
0 39 2 text Ljava/lang/String;
0 39 3 textWidth I
0 39 4 icon Ljavax/swing/Icon;
25 39 5 dialog Ljavax/swing/JDialog;
2 39 6 captionArea Ljavax/swing/JTextArea;
5 39 7 textArea Ljavax/swing/JTextArea;
8 39 8 panels [Ljava/lang/Object;
17 39 9 op Ljavax/swing/JOptionPane;
20 22 10 buttonPanel Ljavax/swing/JPanel;
21 22 11 ok Ljavax/swing/JButton;
26 39 10 rp Ljavax/swing/JRootPane;
Exception table:
from to target type
19 22 23 Class java.lang.Throwable
MethodParameters:
Name Flags
caption
text
textWidth
icon
private void showMessageDialog();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=1
start local 0 0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
invokevirtual java.awt.Toolkit.getScreenSize:()Ljava/awt/Dimension;
astore 1
start local 1 1: new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 2
start local 2 2: aload 0
aload 0
aload 2
invokedynamic run(Lsun/lwawt/macosx/CTrayIcon;Ljava/util/concurrent/atomic/AtomicReference;)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/CTrayIcon.lambda$3(Ljava/util/concurrent/atomic/AtomicReference;J)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CTrayIcon.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
3: aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.awt.geom.Point2D
astore 3
start local 3 4: aload 3
ifnonnull 6
5: return
6: StackMap locals: java.awt.Dimension java.util.concurrent.atomic.AtomicReference java.awt.geom.Point2D
StackMap stack:
aload 3
invokevirtual java.awt.geom.Point2D.getY:()D
d2i
istore 4
start local 4 7: aload 3
invokevirtual java.awt.geom.Point2D.getX:()D
d2i
istore 5
start local 5 8: iload 5
aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
invokevirtual javax.swing.JDialog.getWidth:()I
iadd
aload 1
getfield java.awt.Dimension.width:I
if_icmple 10
9: aload 1
getfield java.awt.Dimension.width:I
aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
invokevirtual javax.swing.JDialog.getWidth:()I
isub
istore 5
10: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
iload 5
iload 4
invokevirtual javax.swing.JDialog.setLocation:(II)V
11: aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
iconst_1
invokevirtual javax.swing.JDialog.setVisible:(Z)V
12: return
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 13 0 this Lsun/lwawt/macosx/CTrayIcon;
1 13 1 screenSize Ljava/awt/Dimension;
2 13 2 ref Ljava/util/concurrent/atomic/AtomicReference<Ljava/awt/geom/Point2D;>;
4 13 3 iconLoc Ljava/awt/geom/Point2D;
7 13 4 dialogY I
8 13 5 dialogX I
private void disposeMessageDialog();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic javax.swing.SwingUtilities.isEventDispatchThread:()Z
ifeq 3
1: aload 0
invokevirtual sun.lwawt.macosx.CTrayIcon.disposeMessageDialogOnEDT:()V
2: goto 7
3: StackMap locals:
StackMap stack:
new sun.lwawt.macosx.CTrayIcon$3
dup
aload 0
invokespecial sun.lwawt.macosx.CTrayIcon$3.<init>:(Lsun/lwawt/macosx/CTrayIcon;)V
invokestatic javax.swing.SwingUtilities.invokeAndWait:(Ljava/lang/Runnable;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 1
start local 1 6: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/macosx/CTrayIcon;
6 7 1 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
private void disposeMessageDialogOnEDT();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
ifnull 6
1: aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
aload 0
getfield sun.lwawt.macosx.CTrayIcon.handler:Lsun/lwawt/macosx/CTrayIcon$DialogEventHandler;
invokevirtual javax.swing.JDialog.removeWindowListener:(Ljava/awt/event/WindowListener;)V
2: aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
aload 0
getfield sun.lwawt.macosx.CTrayIcon.handler:Lsun/lwawt/macosx/CTrayIcon$DialogEventHandler;
invokevirtual javax.swing.JDialog.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
3: aload 0
getfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
invokevirtual javax.swing.JDialog.dispose:()V
4: aload 0
aconst_null
putfield sun.lwawt.macosx.CTrayIcon.messageDialog:Ljavax/swing/JDialog;
5: aload 0
aconst_null
putfield sun.lwawt.macosx.CTrayIcon.handler:Lsun/lwawt/macosx/CTrayIcon$DialogEventHandler;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/macosx/CTrayIcon;
private static java.awt.image.BufferedImage scaleIcon(javax.swing.Icon, double);
descriptor: (Ljavax/swing/Icon;D)Ljava/awt/image/BufferedImage;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=13, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface javax.swing.Icon.getIconWidth:()I
istore 3
start local 3 3: aload 0
invokeinterface javax.swing.Icon.getIconHeight:()I
istore 4
start local 4 4: invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
5: astore 5
start local 5 6: aload 5
invokevirtual java.awt.GraphicsEnvironment.getDefaultScreenDevice:()Ljava/awt/GraphicsDevice;
astore 6
start local 6 7: aload 6
invokevirtual java.awt.GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 7
start local 7 8: aload 7
iload 3
iload 4
9: iconst_3
10: invokevirtual java.awt.GraphicsConfiguration.createCompatibleImage:(III)Ljava/awt/image/BufferedImage;
astore 8
start local 8 11: aload 8
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
astore 9
start local 9 12: aload 0
aconst_null
aload 9
iconst_0
iconst_0
invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
13: aload 9
invokevirtual java.awt.Graphics2D.dispose:()V
14: iload 3
i2d
dload 1
dmul
d2i
istore 10
start local 10 15: iload 4
i2d
dload 1
dmul
d2i
istore 11
start local 11 16: aload 7
iload 10
iload 11
17: iconst_3
18: invokevirtual java.awt.GraphicsConfiguration.createCompatibleImage:(III)Ljava/awt/image/BufferedImage;
astore 12
start local 12 19: aload 12
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
astore 9
20: aload 9
getstatic java.awt.RenderingHints.KEY_INTERPOLATION:Ljava/awt/RenderingHints$Key;
21: getstatic java.awt.RenderingHints.VALUE_INTERPOLATION_BILINEAR:Ljava/lang/Object;
22: invokevirtual java.awt.Graphics2D.setRenderingHint:(Ljava/awt/RenderingHints$Key;Ljava/lang/Object;)V
23: aload 9
aload 8
iconst_0
iconst_0
iload 10
iload 11
aconst_null
invokevirtual java.awt.Graphics2D.drawImage:(Ljava/awt/Image;IIIILjava/awt/image/ImageObserver;)Z
pop
24: aload 9
invokevirtual java.awt.Graphics2D.dispose:()V
25: aload 12
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 icon Ljavax/swing/Icon;
0 26 1 scaleFactor D
3 26 3 w I
4 26 4 h I
6 26 5 ge Ljava/awt/GraphicsEnvironment;
7 26 6 gd Ljava/awt/GraphicsDevice;
8 26 7 gc Ljava/awt/GraphicsConfiguration;
11 26 8 iconImage Ljava/awt/image/BufferedImage;
12 26 9 g Ljava/awt/Graphics2D;
15 26 10 scaledW I
16 26 11 scaledH I
19 26 12 scaledImage Ljava/awt/image/BufferedImage;
MethodParameters:
Name Flags
icon
scaleFactor
private static javax.swing.Icon getIconForMessageType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/swing/Icon;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "ERROR"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: ldc "OptionPane.errorIcon"
invokestatic javax.swing.UIManager.getIcon:(Ljava/lang/Object;)Ljavax/swing/Icon;
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "WARNING"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: ldc "OptionPane.warningIcon"
invokestatic javax.swing.UIManager.getIcon:(Ljava/lang/Object;)Ljavax/swing/Icon;
areturn
4: StackMap locals:
StackMap stack:
ldc "OptionPane.informationIcon"
invokestatic javax.swing.UIManager.getIcon:(Ljava/lang/Object;)Ljavax/swing/Icon;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 messageType Ljava/lang/String;
MethodParameters:
Name Flags
messageType
private static javax.swing.JTextArea createTextArea(java.lang.String, int, boolean, boolean);
descriptor: (Ljava/lang/String;IZZ)Ljavax/swing/JTextArea;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new javax.swing.JTextArea
dup
aload 0
invokespecial javax.swing.JTextArea.<init>:(Ljava/lang/String;)V
astore 4
start local 4 1: aload 4
iconst_1
invokevirtual javax.swing.JTextArea.setLineWrap:(Z)V
2: aload 4
iconst_1
invokevirtual javax.swing.JTextArea.setWrapStyleWord:(Z)V
3: aload 4
iconst_0
invokevirtual javax.swing.JTextArea.setEditable:(Z)V
4: aload 4
iconst_0
invokevirtual javax.swing.JTextArea.setFocusable:(Z)V
5: aload 4
aconst_null
invokevirtual javax.swing.JTextArea.setBorder:(Ljavax/swing/border/Border;)V
6: aload 4
new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
invokevirtual javax.swing.JLabel.getBackground:()Ljava/awt/Color;
invokevirtual javax.swing.JTextArea.setBackground:(Ljava/awt/Color;)V
7: iload 2
ifeq 9
8: aload 4
ldc "JComponent.sizeVariant"
ldc "small"
invokevirtual javax.swing.JTextArea.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
9: StackMap locals: javax.swing.JTextArea
StackMap stack:
iload 3
ifeq 13
10: aload 4
invokevirtual javax.swing.JTextArea.getFont:()Ljava/awt/Font;
astore 5
start local 5 11: new java.awt.Font
dup
aload 5
invokevirtual java.awt.Font.getName:()Ljava/lang/String;
iconst_1
aload 5
invokevirtual java.awt.Font.getSize:()I
invokespecial java.awt.Font.<init>:(Ljava/lang/String;II)V
astore 6
start local 6 12: aload 4
aload 6
invokevirtual javax.swing.JTextArea.setFont:(Ljava/awt/Font;)V
end local 6 end local 5 13: StackMap locals:
StackMap stack:
aload 4
iload 1
iconst_1
invokevirtual javax.swing.JTextArea.setSize:(II)V
14: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 text Ljava/lang/String;
0 15 1 width I
0 15 2 isSmall Z
0 15 3 isBold Z
1 15 4 textArea Ljavax/swing/JTextArea;
11 13 5 font Ljava/awt/Font;
12 13 6 boldFont Ljava/awt/Font;
MethodParameters:
Name Flags
text
width
isSmall
isBold
private void lambda$0(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.CTrayIcon.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/CTrayIcon;
0 1 2 ptr J
private void lambda$1(boolean, long);
descriptor: (ZJ)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 2 0: aload 0
aload 0
lload 2
iload 1
invokedynamic run(Lsun/lwawt/macosx/CTrayIcon;JZ)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/CTrayIcon.lambda$2(JZJ)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CTrayIcon.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CTrayIcon;
0 2 2 imagePtr J
private void lambda$3(java.util.concurrent.atomic.AtomicReference, long);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;J)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 0: aload 1
aload 0
lload 2
invokevirtual sun.lwawt.macosx.CTrayIcon.nativeGetIconLocation:(J)Ljava/awt/geom/Point2D;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CTrayIcon;
0 2 2 ptr J
private void lambda$2(long, boolean, long);
descriptor: (JZJ)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 4 0: aload 0
lload 4
lload 1
iload 3
invokevirtual sun.lwawt.macosx.CTrayIcon.setNativeImage:(JJZ)V
1: return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CTrayIcon;
0 2 4 ptr J
}
SourceFile: "CTrayIcon.java"
NestMembers:
sun.lwawt.macosx.CTrayIcon$1 sun.lwawt.macosx.CTrayIcon$2 sun.lwawt.macosx.CTrayIcon$3 sun.lwawt.macosx.CTrayIcon$DialogEventHandler
InnerClasses:
public final ModalExclusionType = java.awt.Dialog$ModalExclusionType of java.awt.Dialog
public abstract Key = java.awt.RenderingHints$Key of java.awt.RenderingHints
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract WindowAccessor = sun.awt.AWTAccessor$WindowAccessor 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
sun.lwawt.macosx.CTrayIcon$1
sun.lwawt.macosx.CTrayIcon$2
sun.lwawt.macosx.CTrayIcon$3
private final DialogEventHandler = sun.lwawt.macosx.CTrayIcon$DialogEventHandler of sun.lwawt.macosx.CTrayIcon