public final class sun.lwawt.macosx.LWCToolkit extends sun.lwawt.LWToolkit
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.macosx.LWCToolkit
super_class: sun.lwawt.LWToolkit
{
private static final int BUTTONS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static sun.lwawt.macosx.CInputMethodDescriptor sInputMethodDescriptor;
descriptor: Lsun/lwawt/macosx/CInputMethodDescriptor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final boolean inAWT;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int NUM_APPLE_COLORS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int KEYBOARD_FOCUS_COLOR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int INACTIVE_SELECTION_BACKGROUND_COLOR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int INACTIVE_SELECTION_FOREGROUND_COLOR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static int[] appleColors;
descriptor: [I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean ;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.String APPKIT_THREAD_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "AppKit Thread"
private static final java.lang.String nsImagePrefix;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "NSImage://"
private static java.lang.Boolean sunAwtDisableCALayers;
descriptor: Ljava/lang/Boolean;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc Lsun/lwawt/macosx/LWCToolkit;
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.LWCToolkit.$assertionsDisabled:Z
3: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
4: new sun.lwawt.macosx.LWCToolkit$1
dup
invokespecial sun.lwawt.macosx.LWCToolkit$1.<init>:()V
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.ResourceBundle
astore 0
start local 0 6: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 8
invokestatic sun.lwawt.macosx.LWCToolkit.isInAquaSession:()Z
ifne 8
7: new java.awt.AWTError
dup
ldc "WindowServer is not available"
invokespecial java.awt.AWTError.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: java.util.ResourceBundle
StackMap stack:
invokestatic sun.awt.AWTAccessor.getToolkitAccessor:()Lsun/awt/AWTAccessor$ToolkitAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$ToolkitAccessor.setPlatformResources:(Ljava/util/ResourceBundle;)V
9: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 11
10: invokestatic sun.lwawt.macosx.LWCToolkit.initIDs:()V
11: StackMap locals:
StackMap stack:
new sun.lwawt.macosx.LWCToolkit$2
dup
invokespecial sun.lwawt.macosx.LWCToolkit$2.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putstatic sun.lwawt.macosx.LWCToolkit.inAWT:Z
end local 0 12: iconst_3
newarray 10
dup
iconst_0
13: ldc -8355712
iastore
dup
iconst_1
14: ldc -4144960
iastore
dup
iconst_2
15: ldc -13619152
iastore
16: putstatic sun.lwawt.macosx.LWCToolkit.appleColors:[I
17: iconst_1
putstatic sun.lwawt.macosx.LWCToolkit.areExtraMouseButtonsEnabled:Z
18: aconst_null
putstatic sun.lwawt.macosx.LWCToolkit.sunAwtDisableCALayers:Ljava/lang/Boolean;
return
LocalVariableTable:
Start End Slot Name Signature
6 12 0 platformResources Ljava/util/ResourceBundle;
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native void initAppkit(java.lang.ThreadGroup, boolean);
descriptor: (Ljava/lang/ThreadGroup;Z)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
appKitThreadGroup
headless
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.LWToolkit.<init>:()V
1: ldc "sun.awt.enableExtraMouseButtons"
ldc "true"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.lwawt.macosx.LWCToolkit.areExtraMouseButtonsEnabled:Z
2: ldc "sun.awt.enableExtraMouseButtons"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
getstatic sun.lwawt.macosx.LWCToolkit.areExtraMouseButtonsEnabled:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
3: invokestatic sun.awt.util.ThreadGroupUtils.getRootThreadGroup:()Ljava/lang/ThreadGroup;
invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
invokestatic sun.lwawt.macosx.LWCToolkit.initAppkit:(Ljava/lang/ThreadGroup;Z)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/LWCToolkit;
private native void loadNativeColors(int[], int[]);
descriptor: ([I[I)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
systemColors final
appleColors final
protected void loadSystemColors(int[]);
descriptor: ([I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic sun.lwawt.macosx.LWCToolkit.appleColors:[I
invokevirtual sun.lwawt.macosx.LWCToolkit.loadNativeColors:([I[I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 systemColors [I
MethodParameters:
Name Flags
systemColors final
public static java.awt.Color getAppleColor(int);
descriptor: (I)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.lwawt.macosx.LWCToolkit$AppleSpecificColor
dup
iload 0
invokespecial sun.lwawt.macosx.LWCToolkit$AppleSpecificColor.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 color I
MethodParameters:
Name Flags
color
static void systemColorsChanged();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic run()Ljava/lang/Runnable;
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:
()V
sun/lwawt/macosx/LWCToolkit.lambda$0()V (6)
()V
invokestatic java.awt.EventQueue.invokeLater:(Ljava/lang/Runnable;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static sun.lwawt.macosx.LWCToolkit getLWCToolkit();
descriptor: ()Lsun/lwawt/macosx/LWCToolkit;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
checkcast sun.lwawt.macosx.LWCToolkit
areturn
LocalVariableTable:
Start End Slot Name Signature
protected sun.lwawt.PlatformWindow createPlatformWindow(sun.lwawt.LWWindowPeer$PeerType);
descriptor: (Lsun/lwawt/LWWindowPeer$PeerType;)Lsun/lwawt/PlatformWindow;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic sun.lwawt.LWWindowPeer$PeerType.EMBEDDED_FRAME:Lsun/lwawt/LWWindowPeer$PeerType;
if_acmpne 2
1: new sun.lwawt.macosx.CPlatformEmbeddedFrame
dup
invokespecial sun.lwawt.macosx.CPlatformEmbeddedFrame.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic sun.lwawt.LWWindowPeer$PeerType.VIEW_EMBEDDED_FRAME:Lsun/lwawt/LWWindowPeer$PeerType;
if_acmpne 4
3: new sun.lwawt.macosx.CViewPlatformEmbeddedFrame
dup
invokespecial sun.lwawt.macosx.CViewPlatformEmbeddedFrame.<init>:()V
areturn
4: StackMap locals:
StackMap stack:
aload 1
getstatic sun.lwawt.LWWindowPeer$PeerType.LW_FRAME:Lsun/lwawt/LWWindowPeer$PeerType;
if_acmpne 6
5: new sun.lwawt.macosx.CPlatformLWWindow
dup
invokespecial sun.lwawt.macosx.CPlatformLWWindow.<init>:()V
areturn
6: StackMap locals:
StackMap stack:
getstatic sun.lwawt.macosx.LWCToolkit.$assertionsDisabled:Z
ifne 9
aload 1
getstatic sun.lwawt.LWWindowPeer$PeerType.SIMPLEWINDOW:Lsun/lwawt/LWWindowPeer$PeerType;
if_acmpeq 9
7: aload 1
getstatic sun.lwawt.LWWindowPeer$PeerType.DIALOG:Lsun/lwawt/LWWindowPeer$PeerType;
if_acmpeq 9
8: aload 1
getstatic sun.lwawt.LWWindowPeer$PeerType.FRAME:Lsun/lwawt/LWWindowPeer$PeerType;
if_acmpeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
new sun.lwawt.macosx.CPlatformWindow
dup
invokespecial sun.lwawt.macosx.CPlatformWindow.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/lwawt/macosx/LWCToolkit;
0 10 1 peerType Lsun/lwawt/LWWindowPeer$PeerType;
MethodParameters:
Name Flags
peerType
sun.lwawt.LWWindowPeer createEmbeddedFrame(sun.lwawt.macosx.CEmbeddedFrame);
descriptor: (Lsun/lwawt/macosx/CEmbeddedFrame;)Lsun/lwawt/LWWindowPeer;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.LWCToolkit.createPlatformComponent:()Lsun/lwawt/PlatformComponent;
astore 2
start local 2 1: aload 0
getstatic sun.lwawt.LWWindowPeer$PeerType.EMBEDDED_FRAME:Lsun/lwawt/LWWindowPeer$PeerType;
invokevirtual sun.lwawt.macosx.LWCToolkit.createPlatformWindow:(Lsun/lwawt/LWWindowPeer$PeerType;)Lsun/lwawt/PlatformWindow;
astore 3
start local 3 2: aload 0
aload 1
aload 2
aload 3
getstatic sun.lwawt.LWWindowPeer$PeerType.EMBEDDED_FRAME:Lsun/lwawt/LWWindowPeer$PeerType;
invokevirtual sun.lwawt.macosx.LWCToolkit.createDelegatedPeer:(Ljava/awt/Window;Lsun/lwawt/PlatformComponent;Lsun/lwawt/PlatformWindow;Lsun/lwawt/LWWindowPeer$PeerType;)Lsun/lwawt/LWWindowPeer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 target Lsun/lwawt/macosx/CEmbeddedFrame;
1 3 2 platformComponent Lsun/lwawt/PlatformComponent;
2 3 3 platformWindow Lsun/lwawt/PlatformWindow;
MethodParameters:
Name Flags
target
sun.lwawt.LWWindowPeer createEmbeddedFrame(sun.lwawt.macosx.CViewEmbeddedFrame);
descriptor: (Lsun/lwawt/macosx/CViewEmbeddedFrame;)Lsun/lwawt/LWWindowPeer;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.LWCToolkit.createPlatformComponent:()Lsun/lwawt/PlatformComponent;
astore 2
start local 2 1: aload 0
getstatic sun.lwawt.LWWindowPeer$PeerType.VIEW_EMBEDDED_FRAME:Lsun/lwawt/LWWindowPeer$PeerType;
invokevirtual sun.lwawt.macosx.LWCToolkit.createPlatformWindow:(Lsun/lwawt/LWWindowPeer$PeerType;)Lsun/lwawt/PlatformWindow;
astore 3
start local 3 2: aload 0
aload 1
aload 2
aload 3
getstatic sun.lwawt.LWWindowPeer$PeerType.VIEW_EMBEDDED_FRAME:Lsun/lwawt/LWWindowPeer$PeerType;
invokevirtual sun.lwawt.macosx.LWCToolkit.createDelegatedPeer:(Ljava/awt/Window;Lsun/lwawt/PlatformComponent;Lsun/lwawt/PlatformWindow;Lsun/lwawt/LWWindowPeer$PeerType;)Lsun/lwawt/LWWindowPeer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 target Lsun/lwawt/macosx/CViewEmbeddedFrame;
1 3 2 platformComponent Lsun/lwawt/PlatformComponent;
2 3 3 platformWindow Lsun/lwawt/PlatformWindow;
MethodParameters:
Name Flags
target
private sun.lwawt.macosx.CPrinterDialogPeer createCPrinterDialog(sun.lwawt.macosx.CPrinterDialog);
descriptor: (Lsun/lwawt/macosx/CPrinterDialog;)Lsun/lwawt/macosx/CPrinterDialogPeer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.LWCToolkit.createPlatformComponent:()Lsun/lwawt/PlatformComponent;
astore 2
start local 2 1: aload 0
getstatic sun.lwawt.LWWindowPeer$PeerType.DIALOG:Lsun/lwawt/LWWindowPeer$PeerType;
invokevirtual sun.lwawt.macosx.LWCToolkit.createPlatformWindow:(Lsun/lwawt/LWWindowPeer$PeerType;)Lsun/lwawt/PlatformWindow;
astore 3
start local 3 2: new sun.lwawt.macosx.CPrinterDialogPeer
dup
aload 1
aload 2
aload 3
invokespecial sun.lwawt.macosx.CPrinterDialogPeer.<init>:(Lsun/lwawt/macosx/CPrinterDialog;Lsun/lwawt/PlatformComponent;Lsun/lwawt/PlatformWindow;)V
astore 4
start local 4 3: aload 1
aload 4
invokestatic sun.lwawt.macosx.LWCToolkit.targetCreatedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
4: 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 5 0 this Lsun/lwawt/macosx/LWCToolkit;
0 5 1 target Lsun/lwawt/macosx/CPrinterDialog;
1 5 2 platformComponent Lsun/lwawt/PlatformComponent;
2 5 3 platformWindow Lsun/lwawt/PlatformWindow;
3 5 4 peer Lsun/lwawt/macosx/CPrinterDialogPeer;
MethodParameters:
Name Flags
target
public java.awt.peer.DialogPeer createDialog(java.awt.Dialog);
descriptor: (Ljava/awt/Dialog;)Ljava/awt/peer/DialogPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.lwawt.macosx.CPrinterDialog
ifeq 2
1: aload 0
aload 1
checkcast sun.lwawt.macosx.CPrinterDialog
invokevirtual sun.lwawt.macosx.LWCToolkit.createCPrinterDialog:(Lsun/lwawt/macosx/CPrinterDialog;)Lsun/lwawt/macosx/CPrinterDialogPeer;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.lwawt.LWToolkit.createDialog:(Ljava/awt/Dialog;)Ljava/awt/peer/DialogPeer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 target Ljava/awt/Dialog;
MethodParameters:
Name Flags
target
protected sun.lwawt.SecurityWarningWindow createSecurityWarning(java.awt.Window, sun.lwawt.LWWindowPeer);
descriptor: (Ljava/awt/Window;Lsun/lwawt/LWWindowPeer;)Lsun/lwawt/SecurityWarningWindow;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new sun.lwawt.macosx.CWarningWindow
dup
aload 1
aload 2
invokespecial sun.lwawt.macosx.CWarningWindow.<init>:(Ljava/awt/Window;Lsun/lwawt/LWWindowPeer;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 ownerWindow Ljava/awt/Window;
0 1 2 ownerPeer Lsun/lwawt/LWWindowPeer;
MethodParameters:
Name Flags
ownerWindow
ownerPeer
protected sun.lwawt.PlatformComponent createPlatformComponent();
descriptor: ()Lsun/lwawt/PlatformComponent;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new sun.lwawt.macosx.CPlatformComponent
dup
invokespecial sun.lwawt.macosx.CPlatformComponent.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
protected sun.lwawt.PlatformComponent createLwPlatformComponent();
descriptor: ()Lsun/lwawt/PlatformComponent;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new sun.lwawt.macosx.CPlatformLWComponent
dup
invokespecial sun.lwawt.macosx.CPlatformLWComponent.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
protected java.awt.peer.FileDialogPeer createFileDialogPeer(java.awt.FileDialog);
descriptor: (Ljava/awt/FileDialog;)Ljava/awt/peer/FileDialogPeer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CFileDialog
dup
aload 1
invokespecial sun.lwawt.macosx.CFileDialog.<init>:(Ljava/awt/FileDialog;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 target Ljava/awt/FileDialog;
MethodParameters:
Name Flags
target
public java.awt.peer.MenuPeer (java.awt.Menu);
descriptor: (Ljava/awt/Menu;)Ljava/awt/peer/MenuPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CMenu
dup
aload 1
invokespecial sun.lwawt.macosx.CMenu.<init>:(Ljava/awt/Menu;)V
astore 2
start local 2 1: aload 1
aload 2
invokestatic sun.lwawt.macosx.LWCToolkit.targetCreatedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 target Ljava/awt/Menu;
1 3 2 peer Ljava/awt/peer/MenuPeer;
MethodParameters:
Name Flags
target
public java.awt.peer.MenuBarPeer (java.awt.MenuBar);
descriptor: (Ljava/awt/MenuBar;)Ljava/awt/peer/MenuBarPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CMenuBar
dup
aload 1
invokespecial sun.lwawt.macosx.CMenuBar.<init>:(Ljava/awt/MenuBar;)V
astore 2
start local 2 1: aload 1
aload 2
invokestatic sun.lwawt.macosx.LWCToolkit.targetCreatedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 target Ljava/awt/MenuBar;
1 3 2 peer Ljava/awt/peer/MenuBarPeer;
MethodParameters:
Name Flags
target
public java.awt.peer.MenuItemPeer (java.awt.MenuItem);
descriptor: (Ljava/awt/MenuItem;)Ljava/awt/peer/MenuItemPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CMenuItem
dup
aload 1
invokespecial sun.lwawt.macosx.CMenuItem.<init>:(Ljava/awt/MenuItem;)V
astore 2
start local 2 1: aload 1
aload 2
invokestatic sun.lwawt.macosx.LWCToolkit.targetCreatedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 target Ljava/awt/MenuItem;
1 3 2 peer Ljava/awt/peer/MenuItemPeer;
MethodParameters:
Name Flags
target
public java.awt.peer.CheckboxMenuItemPeer (java.awt.CheckboxMenuItem);
descriptor: (Ljava/awt/CheckboxMenuItem;)Ljava/awt/peer/CheckboxMenuItemPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CCheckboxMenuItem
dup
aload 1
invokespecial sun.lwawt.macosx.CCheckboxMenuItem.<init>:(Ljava/awt/CheckboxMenuItem;)V
astore 2
start local 2 1: aload 1
aload 2
invokestatic sun.lwawt.macosx.LWCToolkit.targetCreatedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 target Ljava/awt/CheckboxMenuItem;
1 3 2 peer Ljava/awt/peer/CheckboxMenuItemPeer;
MethodParameters:
Name Flags
target
public java.awt.peer.PopupMenuPeer (java.awt.PopupMenu);
descriptor: (Ljava/awt/PopupMenu;)Ljava/awt/peer/PopupMenuPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CPopupMenu
dup
aload 1
invokespecial sun.lwawt.macosx.CPopupMenu.<init>:(Ljava/awt/PopupMenu;)V
astore 2
start local 2 1: aload 1
aload 2
invokestatic sun.lwawt.macosx.LWCToolkit.targetCreatedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 target Ljava/awt/PopupMenu;
1 3 2 peer Ljava/awt/peer/PopupMenuPeer;
MethodParameters:
Name Flags
target
public java.awt.peer.SystemTrayPeer createSystemTray(java.awt.SystemTray);
descriptor: (Ljava/awt/SystemTray;)Ljava/awt/peer/SystemTrayPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CSystemTray
dup
invokespecial sun.lwawt.macosx.CSystemTray.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 target Ljava/awt/SystemTray;
MethodParameters:
Name Flags
target
public java.awt.peer.TrayIconPeer createTrayIcon(java.awt.TrayIcon);
descriptor: (Ljava/awt/TrayIcon;)Ljava/awt/peer/TrayIconPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CTrayIcon
dup
aload 1
invokespecial sun.lwawt.macosx.CTrayIcon.<init>:(Ljava/awt/TrayIcon;)V
astore 2
start local 2 1: aload 1
aload 2
invokestatic sun.lwawt.macosx.LWCToolkit.targetCreatedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 target Ljava/awt/TrayIcon;
1 3 2 peer Ljava/awt/peer/TrayIconPeer;
MethodParameters:
Name Flags
target
public java.awt.peer.DesktopPeer createDesktopPeer(java.awt.Desktop);
descriptor: (Ljava/awt/Desktop;)Ljava/awt/peer/DesktopPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CDesktopPeer
dup
invokespecial sun.lwawt.macosx.CDesktopPeer.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 target Ljava/awt/Desktop;
MethodParameters:
Name Flags
target
public java.awt.peer.TaskbarPeer createTaskbarPeer(java.awt.Taskbar);
descriptor: (Ljava/awt/Taskbar;)Ljava/awt/peer/TaskbarPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.CTaskbarPeer
dup
invokespecial sun.lwawt.macosx.CTaskbarPeer.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 target Ljava/awt/Taskbar;
MethodParameters:
Name Flags
target
public sun.lwawt.LWCursorManager getCursorManager();
descriptor: ()Lsun/lwawt/LWCursorManager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.lwawt.macosx.CCursorManager.getInstance:()Lsun/lwawt/macosx/CCursorManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public java.awt.Cursor createCustomCursor(java.awt.Image, java.awt.Point, java.lang.String);
descriptor: (Ljava/awt/Image;Ljava/awt/Point;Ljava/lang/String;)Ljava/awt/Cursor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new sun.lwawt.macosx.CCustomCursor
dup
aload 1
aload 2
aload 3
invokespecial sun.lwawt.macosx.CCustomCursor.<init>:(Ljava/awt/Image;Ljava/awt/Point;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 cursor Ljava/awt/Image;
0 1 2 hotSpot Ljava/awt/Point;
0 1 3 name Ljava/lang/String;
Exceptions:
throws java.lang.IndexOutOfBoundsException, java.awt.HeadlessException
MethodParameters:
Name Flags
cursor final
hotSpot final
name final
public java.awt.Dimension getBestCursorSize(int, int);
descriptor: (II)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
invokestatic sun.lwawt.macosx.CCustomCursor.getBestCursorSize:(II)Ljava/awt/Dimension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 preferredWidth I
0 1 2 preferredHeight I
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
preferredWidth final
preferredHeight final
protected void platformCleanup();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
protected void platformInit();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
protected void platformRunMessage();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
protected void platformShutdown();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public java.awt.peer.FontPeer getFontPeer(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/awt/peer/FontPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new sun.lwawt.macosx.LWCToolkit$OSXPlatformFont
dup
aload 0
aload 1
iload 2
invokespecial sun.lwawt.macosx.LWCToolkit$OSXPlatformFont.<init>:(Lsun/lwawt/macosx/LWCToolkit;Ljava/lang/String;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 name Ljava/lang/String;
0 1 2 style I
MethodParameters:
Name Flags
name
style
protected void initializeDesktopProperties();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.LWToolkit.initializeDesktopProperties:()V
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 2: aload 1
getstatic java.awt.RenderingHints.KEY_TEXT_ANTIALIASING:Ljava/awt/RenderingHints$Key;
getstatic java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HRGB:Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "awt.font.desktophints"
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "awt.mouse.numButtons"
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.Autoscroll.initialDelay"
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.Autoscroll.interval"
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.Autoscroll.cursorHysteresis"
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.isDragImageSupported"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.Cursor.CopyDrop"
new sun.lwawt.macosx.NamedCursor
dup
ldc "DnD.Cursor.CopyDrop"
invokespecial sun.lwawt.macosx.NamedCursor.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.Cursor.MoveDrop"
new sun.lwawt.macosx.NamedCursor
dup
ldc "DnD.Cursor.MoveDrop"
invokespecial sun.lwawt.macosx.NamedCursor.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.Cursor.LinkDrop"
new sun.lwawt.macosx.NamedCursor
dup
ldc "DnD.Cursor.LinkDrop"
invokespecial sun.lwawt.macosx.NamedCursor.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.Cursor.CopyNoDrop"
new sun.lwawt.macosx.NamedCursor
dup
ldc "DnD.Cursor.CopyNoDrop"
invokespecial sun.lwawt.macosx.NamedCursor.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.Cursor.MoveNoDrop"
new sun.lwawt.macosx.NamedCursor
dup
ldc "DnD.Cursor.MoveNoDrop"
invokespecial sun.lwawt.macosx.NamedCursor.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 0
getfield sun.lwawt.macosx.LWCToolkit.desktopProperties:Ljava/util/Map;
ldc "DnD.Cursor.LinkNoDrop"
new sun.lwawt.macosx.NamedCursor
dup
ldc "DnD.Cursor.LinkNoDrop"
invokespecial sun.lwawt.macosx.NamedCursor.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/lwawt/macosx/LWCToolkit;
2 16 1 fontHints Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
protected boolean syncNativeQueue(long);
descriptor: (J)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual sun.lwawt.macosx.LWCToolkit.nativeSyncQueue:(J)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 timeout J
MethodParameters:
Name Flags
timeout
public native void beep();
descriptor: ()V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public int getScreenResolution();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
invokevirtual java.awt.GraphicsEnvironment.getDefaultScreenDevice:()Ljava/awt/GraphicsDevice;
1: checkcast sun.awt.CGraphicsDevice
2: invokevirtual sun.awt.CGraphicsDevice.getXResolution:()D
d2i
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/LWCToolkit;
Exceptions:
throws java.awt.HeadlessException
public java.awt.Insets getScreenInsets(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast sun.awt.CGraphicsConfig
invokevirtual sun.awt.CGraphicsConfig.getDevice:()Lsun/awt/CGraphicsDevice;
invokevirtual sun.awt.CGraphicsDevice.getScreenInsets:()Ljava/awt/Insets;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 gc Ljava/awt/GraphicsConfiguration;
MethodParameters:
Name Flags
gc final
public void sync();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: invokestatic sun.java2d.opengl.OGLRenderQueue.sync:()V
1: invokestatic sun.lwawt.macosx.LWCToolkit.flushNativeSelectors:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
public java.awt.peer.RobotPeer createRobot(java.awt.Robot, java.awt.GraphicsDevice);
descriptor: (Ljava/awt/Robot;Ljava/awt/GraphicsDevice;)Ljava/awt/peer/RobotPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new sun.lwawt.macosx.CRobot
dup
aload 1
aload 2
checkcast sun.awt.CGraphicsDevice
invokespecial sun.lwawt.macosx.CRobot.<init>:(Ljava/awt/Robot;Lsun/awt/CGraphicsDevice;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 target Ljava/awt/Robot;
0 1 2 screen Ljava/awt/GraphicsDevice;
MethodParameters:
Name Flags
target
screen
private native boolean isCapsLockOn();
descriptor: ()Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public boolean getLockingKeyState(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
lookupswitch { // 4
20: 2
144: 1
145: 1
262: 1
default: 3
}
1: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Toolkit.getLockingKeyState"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.LWCToolkit.isCapsLockOn:()Z
ireturn
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid key for Toolkit.getLockingKeyState"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/LWCToolkit;
0 4 1 keyCode I
Exceptions:
throws java.lang.UnsupportedOperationException
MethodParameters:
Name Flags
keyCode
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.lwawt.macosx.LWCToolkit.areExtraMouseButtonsEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
Exceptions:
throws java.awt.HeadlessException
public int getNumberOfButtons();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_5
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public boolean isTraySupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public sun.awt.datatransfer.DataTransferer getDataTransferer();
descriptor: ()Lsun/awt/datatransfer/DataTransferer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.lwawt.macosx.CDataTransferer.getInstanceImpl:()Lsun/lwawt/macosx/CDataTransferer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public boolean isAlwaysOnTopSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
private static void installToolkitThreadInJava();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
ldc "AppKit Thread"
invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
1: invokedynamic run()Ljava/security/PrivilegedAction;
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:
()Ljava/lang/Object;
sun/lwawt/macosx/LWCToolkit.lambda$2()Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
2: return
LocalVariableTable:
Start End Slot Name Signature
public boolean isWindowOpacitySupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public boolean isFrameStateSupported(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 6
0: 1
1: 1
2: 2
3: 2
4: 2
5: 2
6: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 state I
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
state
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_4
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "10")
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: sipush 256
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public java.awt.Image getImage(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.lwawt.macosx.LWCToolkit.checkForNSImage:(Ljava/lang/String;)Ljava/awt/Image;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: java.awt.Image
StackMap stack:
aload 1
invokestatic sun.lwawt.macosx.LWCToolkit.imageCached:(Ljava/lang/String;)Z
ifeq 5
4: aload 0
aload 1
invokespecial sun.lwawt.LWToolkit.getImage:(Ljava/lang/String;)Ljava/awt/Image;
areturn
5: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.lwawt.macosx.LWCToolkit.getScaledImageName:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 6: aload 3
invokestatic sun.lwawt.macosx.LWCToolkit.imageExists:(Ljava/lang/String;)Z
ifeq 8
7: aload 0
aload 1
aload 3
invokevirtual sun.lwawt.macosx.LWCToolkit.getImageWithResolutionVariant:(Ljava/lang/String;Ljava/lang/String;)Ljava/awt/Image;
goto 9
8: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokespecial sun.lwawt.LWToolkit.getImage:(Ljava/lang/String;)Ljava/awt/Image;
9: StackMap locals:
StackMap stack: java.awt.Image
areturn
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/LWCToolkit;
0 10 1 filename Ljava/lang/String;
1 10 2 nsImage Ljava/awt/Image;
6 10 3 filename2x Ljava/lang/String;
MethodParameters:
Name Flags
filename final
public java.awt.Image getImage(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/awt/Image;
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.LWCToolkit.imageCached:(Ljava/net/URL;)Z
ifeq 2
1: aload 0
aload 1
invokespecial sun.lwawt.LWToolkit.getImage:(Ljava/net/URL;)Ljava/awt/Image;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.lwawt.macosx.LWCToolkit.getScaledImageURL:(Ljava/net/URL;)Ljava/net/URL;
astore 2
start local 2 3: aload 2
invokestatic sun.lwawt.macosx.LWCToolkit.imageExists:(Ljava/net/URL;)Z
ifeq 5
4: aload 0
aload 1
aload 2
invokevirtual sun.lwawt.macosx.LWCToolkit.getImageWithResolutionVariant:(Ljava/net/URL;Ljava/net/URL;)Ljava/awt/Image;
goto 6
StackMap locals: java.net.URL
StackMap stack:
5: aload 0
aload 1
invokespecial sun.lwawt.LWToolkit.getImage:(Ljava/net/URL;)Ljava/awt/Image;
6: StackMap locals:
StackMap stack: java.awt.Image
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/macosx/LWCToolkit;
0 7 1 url Ljava/net/URL;
3 7 2 url2x Ljava/net/URL;
MethodParameters:
Name Flags
url
private java.awt.Image checkForNSImage(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/awt/Image;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 1
ldc "NSImage://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
aconst_null
areturn
2: StackMap locals:
StackMap stack:
invokestatic sun.lwawt.macosx.CImage.getCreator:()Lsun/lwawt/macosx/CImage$Creator;
aload 1
ldc "NSImage://"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual sun.lwawt.macosx.CImage$Creator.createImageFromName:(Ljava/lang/String;)Ljava/awt/Image;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
0 3 1 imageName Ljava/lang/String;
MethodParameters:
Name Flags
imageName final
public static boolean doEquals(java.lang.Object, java.lang.Object, java.awt.Component);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/awt/Component;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
iconst_1
newarray 4
astore 3
start local 3 2: new sun.lwawt.macosx.LWCToolkit$3
dup
aload 3
aload 0
aload 1
invokespecial sun.lwawt.macosx.LWCToolkit$3.<init>:([ZLjava/lang/Object;Ljava/lang/Object;)V
3: aload 2
4: invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/lang/Runnable;Ljava/awt/Component;)V
5: goto 8
StackMap locals: java.lang.Object java.lang.Object java.awt.Component boolean[]
StackMap stack: java.lang.Exception
6: astore 4
start local 4 7: aload 4
invokevirtual java.lang.Exception.printStackTrace:()V
end local 4 8: StackMap locals:
StackMap stack:
aload 3
dup
astore 4
monitorenter
9: aload 3
iconst_0
baload
aload 4
monitorexit
10: ireturn
StackMap locals: java.lang.Object java.lang.Object java.awt.Component boolean[] boolean[]
StackMap stack: java.lang.Throwable
11: aload 4
monitorexit
12: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 a Ljava/lang/Object;
0 13 1 b Ljava/lang/Object;
0 13 2 c Ljava/awt/Component;
2 13 3 ret [Z
7 8 4 e Ljava/lang/Exception;
Exception table:
from to target type
2 5 6 Class java.lang.Exception
9 10 11 any
11 12 11 any
MethodParameters:
Name Flags
a final
b final
c
public static <T> T invokeAndWait(java.util.concurrent.Callable<T>, java.awt.Component);
descriptor: (Ljava/util/concurrent/Callable;Ljava/awt/Component;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.lwawt.macosx.LWCToolkit$CallableWrapper
dup
aload 0
invokespecial sun.lwawt.macosx.LWCToolkit$CallableWrapper.<init>:(Ljava/util/concurrent/Callable;)V
astore 2
start local 2 1: aload 2
aload 1
invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/lang/Runnable;Ljava/awt/Component;)V
2: aload 2
invokevirtual sun.lwawt.macosx.LWCToolkit$CallableWrapper.getResult:()Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 callable Ljava/util/concurrent/Callable<TT;>;
0 3 1 component Ljava/awt/Component;
1 3 2 wrapper Lsun/lwawt/macosx/LWCToolkit$CallableWrapper<TT;>;
Exceptions:
throws java.lang.Exception
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TT;>;Ljava/awt/Component;)TT;
MethodParameters:
Name Flags
callable final
component
public static void invokeAndWait(java.lang.Runnable, java.awt.Component);
descriptor: (Ljava/lang/Runnable;Ljava/awt/Component;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ldc "Null component provided to invokeAndWait"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: invokestatic sun.lwawt.macosx.LWCToolkit.createAWTRunLoopMediator:()J
lstore 2
start local 2 2: new java.awt.event.InvocationEvent
dup
aload 1
3: aload 0
4: lload 2
invokedynamic run(J)Ljava/lang/Runnable;
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:
()V
sun/lwawt/macosx/LWCToolkit.lambda$3(J)V (6)
()V
5: iconst_1
6: invokespecial java.awt.event.InvocationEvent.<init>:(Ljava/lang/Object;Ljava/lang/Runnable;Ljava/lang/Runnable;Z)V
7: astore 4
start local 4 8: aload 1
invokestatic sun.awt.SunToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
astore 5
start local 5 9: aload 5
aload 4
invokestatic sun.awt.SunToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
10: aload 5
invokestatic sun.awt.SunToolkit.flushPendingEvents:(Lsun/awt/AppContext;)V
11: lload 2
iconst_0
invokestatic sun.lwawt.macosx.LWCToolkit.doAWTRunLoop:(JZ)V
12: aload 4
invokestatic sun.lwawt.macosx.LWCToolkit.checkException:(Ljava/awt/event/InvocationEvent;)V
13: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 runnable Ljava/lang/Runnable;
0 14 1 component Ljava/awt/Component;
2 14 2 mediator J
8 14 4 invocationEvent Ljava/awt/event/InvocationEvent;
9 14 5 appContext Lsun/awt/AppContext;
Exceptions:
throws java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
runnable
component
public static void invokeLater(java.lang.Runnable, java.awt.Component);
descriptor: (Ljava/lang/Runnable;Ljava/awt/Component;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "Null component provided to invokeLater"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new java.awt.event.InvocationEvent
dup
aload 1
aload 0
invokespecial java.awt.event.InvocationEvent.<init>:(Ljava/lang/Object;Ljava/lang/Runnable;)V
astore 2
start local 2 2: aload 1
invokestatic sun.awt.SunToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
astore 3
start local 3 3: aload 1
invokestatic sun.awt.SunToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 2
invokestatic sun.awt.SunToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
4: aload 3
invokestatic sun.awt.SunToolkit.flushPendingEvents:(Lsun/awt/AppContext;)V
5: aload 2
invokestatic sun.lwawt.macosx.LWCToolkit.checkException:(Ljava/awt/event/InvocationEvent;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 event Ljava/lang/Runnable;
0 7 1 component Ljava/awt/Component;
2 7 2 invocationEvent Ljava/awt/event/InvocationEvent;
3 7 3 appContext Lsun/awt/AppContext;
Exceptions:
throws java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
event
component
private static void checkException(java.awt.event.InvocationEvent);
descriptor: (Ljava/awt/event/InvocationEvent;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.event.InvocationEvent.getException:()Ljava/lang/Exception;
astore 1
start local 1 1: aload 1
ifnonnull 2
return
2: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
instanceof java.lang.reflect.UndeclaredThrowableException
ifeq 4
3: aload 1
checkcast java.lang.reflect.UndeclaredThrowableException
invokevirtual java.lang.reflect.UndeclaredThrowableException.getUndeclaredThrowable:()Ljava/lang/Throwable;
astore 1
4: StackMap locals:
StackMap stack:
new java.lang.reflect.InvocationTargetException
dup
aload 1
invokespecial java.lang.reflect.InvocationTargetException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 event Ljava/awt/event/InvocationEvent;
1 5 1 eventException Ljava/lang/Throwable;
Exceptions:
throws java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
event
static native void performOnMainThreadAfterDelay(java.lang.Runnable, long);
descriptor: (Ljava/lang/Runnable;J)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
r
delay
public java.awt.dnd.peer.DragSourceContextPeer createDragSourceContextPeer(java.awt.dnd.DragGestureEvent);
descriptor: (Ljava/awt/dnd/DragGestureEvent;)Ljava/awt/dnd/peer/DragSourceContextPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
invokestatic sun.awt.SunToolkit.getLightweightFrame:(Ljava/awt/Component;)Lsun/awt/LightweightFrame;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokevirtual sun.awt.LightweightFrame.createDragSourceContextPeer:(Ljava/awt/dnd/DragGestureEvent;)Ljava/awt/dnd/peer/DragSourceContextPeer;
areturn
3: StackMap locals: sun.awt.LightweightFrame
StackMap stack:
aload 1
invokestatic sun.lwawt.macosx.CDragSourceContextPeer.createDragSourceContextPeer:(Ljava/awt/dnd/DragGestureEvent;)Lsun/lwawt/macosx/CDragSourceContextPeer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/LWCToolkit;
0 4 1 dge Ljava/awt/dnd/DragGestureEvent;
1 4 2 f Lsun/awt/LightweightFrame;
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
MethodParameters:
Name Flags
dge
public <T extends java.awt.dnd.DragGestureRecognizer> T createDragGestureRecognizer(java.lang.Class<T>, java.awt.dnd.DragSource, java.awt.Component, int, java.awt.dnd.DragGestureListener);
descriptor: (Ljava/lang/Class;Ljava/awt/dnd/DragSource;Ljava/awt/Component;ILjava/awt/dnd/DragGestureListener;)Ljava/awt/dnd/DragGestureRecognizer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
invokestatic sun.awt.SunToolkit.getLightweightFrame:(Ljava/awt/Component;)Lsun/awt/LightweightFrame;
astore 6
start local 6 1: aload 6
ifnull 3
2: aload 6
aload 1
aload 2
aload 3
iload 4
aload 5
invokevirtual sun.awt.LightweightFrame.createDragGestureRecognizer:(Ljava/lang/Class;Ljava/awt/dnd/DragSource;Ljava/awt/Component;ILjava/awt/dnd/DragGestureListener;)Ljava/awt/dnd/DragGestureRecognizer;
areturn
3: StackMap locals: sun.awt.LightweightFrame
StackMap stack:
aconst_null
astore 7
start local 7 4: ldc Ljava/awt/dnd/MouseDragGestureRecognizer;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: new sun.lwawt.macosx.CMouseDragGestureRecognizer
dup
aload 2
aload 3
iload 4
aload 5
invokespecial sun.lwawt.macosx.CMouseDragGestureRecognizer.<init>:(Ljava/awt/dnd/DragSource;Ljava/awt/Component;ILjava/awt/dnd/DragGestureListener;)V
astore 7
6: StackMap locals: java.awt.dnd.DragGestureRecognizer
StackMap stack:
aload 7
areturn
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 7 0 this Lsun/lwawt/macosx/LWCToolkit;
0 7 1 abstractRecognizerClass Ljava/lang/Class<TT;>;
0 7 2 ds Ljava/awt/dnd/DragSource;
0 7 3 c Ljava/awt/Component;
0 7 4 srcActions I
0 7 5 dgl Ljava/awt/dnd/DragGestureListener;
1 7 6 f Lsun/awt/LightweightFrame;
4 7 7 dgr Ljava/awt/dnd/DragGestureRecognizer;
Signature: <T:Ljava/awt/dnd/DragGestureRecognizer;>(Ljava/lang/Class<TT;>;Ljava/awt/dnd/DragSource;Ljava/awt/Component;ILjava/awt/dnd/DragGestureListener;)TT;
MethodParameters:
Name Flags
abstractRecognizerClass
ds
c
srcActions
dgl
protected sun.lwawt.PlatformDropTarget createDropTarget(java.awt.dnd.DropTarget, java.awt.Component, sun.lwawt.LWComponentPeer<?, ?>);
descriptor: (Ljava/awt/dnd/DropTarget;Ljava/awt/Component;Lsun/lwawt/LWComponentPeer;)Lsun/lwawt/PlatformDropTarget;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new sun.lwawt.macosx.CDropTarget
dup
aload 1
aload 2
aload 3
invokespecial sun.lwawt.macosx.CDropTarget.<init>:(Ljava/awt/dnd/DropTarget;Ljava/awt/Component;Lsun/lwawt/LWComponentPeer;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 dropTarget Ljava/awt/dnd/DropTarget;
0 1 2 component Ljava/awt/Component;
0 1 3 peer Lsun/lwawt/LWComponentPeer<**>;
Signature: (Ljava/awt/dnd/DropTarget;Ljava/awt/Component;Lsun/lwawt/LWComponentPeer<**>;)Lsun/lwawt/PlatformDropTarget;
MethodParameters:
Name Flags
dropTarget
component
peer
public java.util.Locale getDefaultKeyboardLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic sun.lwawt.macosx.CInputMethod.getNativeLocale:()Ljava/util/Locale;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokespecial sun.lwawt.LWToolkit.getDefaultKeyboardLocale:()Ljava/util/Locale;
areturn
3: StackMap locals: java.util.Locale
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/LWCToolkit;
1 4 1 locale Ljava/util/Locale;
public java.awt.im.spi.InputMethodDescriptor getInputMethodAdapterDescriptor();
descriptor: ()Ljava/awt/im/spi/InputMethodDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.lwawt.macosx.LWCToolkit.sInputMethodDescriptor:Lsun/lwawt/macosx/CInputMethodDescriptor;
ifnonnull 2
1: new sun.lwawt.macosx.CInputMethodDescriptor
dup
invokespecial sun.lwawt.macosx.CInputMethodDescriptor.<init>:()V
putstatic sun.lwawt.macosx.LWCToolkit.sInputMethodDescriptor:Lsun/lwawt/macosx/CInputMethodDescriptor;
2: StackMap locals:
StackMap stack:
getstatic sun.lwawt.macosx.LWCToolkit.sInputMethodDescriptor:Lsun/lwawt/macosx/CInputMethodDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/LWCToolkit;
public java.util.Map<java.awt.font.TextAttribute, ?> mapInputMethodHighlight(java.awt.im.InputMethodHighlight);
descriptor: (Ljava/awt/im/InputMethodHighlight;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.lwawt.macosx.CInputMethod.mapInputMethodHighlight:(Ljava/awt/im/InputMethodHighlight;)Ljava/util/Map;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 highlight Ljava/awt/im/InputMethodHighlight;
Signature: (Ljava/awt/im/InputMethodHighlight;)Ljava/util/Map<Ljava/awt/font/TextAttribute;*>;
MethodParameters:
Name Flags
highlight
public int getFocusAcceleratorKeyMask();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 10
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public boolean isPrintableCharacterModifiersMask(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 6
iand
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/LWCToolkit;
0 2 1 mods I
MethodParameters:
Name Flags
mods
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public static synchronized boolean getSunAwtDisableCALayers();
descriptor: ()Z
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=0, args_size=0
0: getstatic sun.lwawt.macosx.LWCToolkit.sunAwtDisableCALayers:Ljava/lang/Boolean;
ifnonnull 3
1: new sun.security.action.GetBooleanAction
dup
ldc "sun.awt.disableCALayers"
invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
putstatic sun.lwawt.macosx.LWCToolkit.sunAwtDisableCALayers:Ljava/lang/Boolean;
3: StackMap locals:
StackMap stack:
getstatic sun.lwawt.macosx.LWCToolkit.sunAwtDisableCALayers:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
native boolean isApplicationActive();
descriptor: ()Z
flags: (0x0100) ACC_NATIVE
public static native boolean isEmbedded();
descriptor: ()Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
private static native boolean isInAquaSession();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public native void activateApplicationIgnoringOtherApps();
descriptor: ()V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
static native long createAWTRunLoopMediator();
descriptor: ()J
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static void doAWTRunLoop(long, boolean);
descriptor: (JZ)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: lload 0
iload 2
getstatic sun.lwawt.macosx.LWCToolkit.inAWT:Z
invokestatic sun.lwawt.macosx.LWCToolkit.doAWTRunLoopImpl:(JZZ)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 mediator J
0 2 2 processEvents Z
MethodParameters:
Name Flags
mediator
processEvents
private static native void doAWTRunLoopImpl(long, boolean, boolean);
descriptor: (JZZ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
mediator
processEvents
inAWT
static native void stopAWTRunLoop(long);
descriptor: (J)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
mediator
private native boolean nativeSyncQueue(long);
descriptor: (J)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
timeout
static native void flushNativeSelectors();
descriptor: ()V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
public java.awt.datatransfer.Clipboard createPlatformClipboard();
descriptor: ()Ljava/awt/datatransfer/Clipboard;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.lwawt.macosx.CClipboard
dup
ldc "System"
invokespecial sun.lwawt.macosx.CClipboard.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public boolean isModalExclusionTypeSupported(java.awt.Dialog$ModalExclusionType);
descriptor: (Ljava/awt/Dialog$ModalExclusionType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 5
1: aload 1
getstatic java.awt.Dialog$ModalExclusionType.NO_EXCLUDE:Ljava/awt/Dialog$ModalExclusionType;
if_acmpeq 5
2: aload 1
getstatic java.awt.Dialog$ModalExclusionType.APPLICATION_EXCLUDE:Ljava/awt/Dialog$ModalExclusionType;
if_acmpeq 5
3: aload 1
getstatic java.awt.Dialog$ModalExclusionType.TOOLKIT_EXCLUDE:Ljava/awt/Dialog$ModalExclusionType;
if_acmpeq 5
4: iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/lwawt/macosx/LWCToolkit;
0 6 1 exclusionType Ljava/awt/Dialog$ModalExclusionType;
MethodParameters:
Name Flags
exclusionType
public boolean isModalityTypeSupported(java.awt.Dialog$ModalityType);
descriptor: (Ljava/awt/Dialog$ModalityType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 6
1: aload 1
getstatic java.awt.Dialog$ModalityType.MODELESS:Ljava/awt/Dialog$ModalityType;
if_acmpeq 6
2: aload 1
getstatic java.awt.Dialog$ModalityType.DOCUMENT_MODAL:Ljava/awt/Dialog$ModalityType;
if_acmpeq 6
3: aload 1
getstatic java.awt.Dialog$ModalityType.APPLICATION_MODAL:Ljava/awt/Dialog$ModalityType;
if_acmpeq 6
4: aload 1
getstatic java.awt.Dialog$ModalityType.TOOLKIT_MODAL:Ljava/awt/Dialog$ModalityType;
if_acmpeq 6
5: iconst_0
ireturn
StackMap locals:
StackMap stack:
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/macosx/LWCToolkit;
0 7 1 modalityType Ljava/awt/Dialog$ModalityType;
MethodParameters:
Name Flags
modalityType
public boolean isWindowShapingSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public boolean isWindowTranslucencySupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public boolean isTranslucencyCapable(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
0 1 1 gc Ljava/awt/GraphicsConfiguration;
MethodParameters:
Name Flags
gc
public boolean isSwingBackbufferTranslucencySupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public boolean enableInputMethodsForTextComponent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
private static java.net.URL getScaledImageURL(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokestatic sun.lwawt.macosx.LWCToolkit.getScaledImageName:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
goto 4
StackMap locals: java.lang.String
StackMap stack:
2: new java.net.URL
dup
aload 0
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
3: aload 0
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
aload 0
invokevirtual java.net.URL.getPort:()I
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
4: StackMap locals:
StackMap stack: java.net.URL
areturn
end local 1 5: StackMap locals: java.net.URL
StackMap stack: java.net.MalformedURLException
pop
6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 url Ljava/net/URL;
1 5 1 scaledImagePath Ljava/lang/String;
Exception table:
from to target type
0 4 5 Class java.net.MalformedURLException
MethodParameters:
Name Flags
url
private static java.lang.String getScaledImageName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokestatic sun.lwawt.macosx.LWCToolkit.isValidPath:(Ljava/lang/String;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 3: iload 1
ifge 4
aload 0
goto 5
StackMap locals: int
StackMap stack:
4: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: astore 2
start local 2 6: aload 2
ldc "@2x"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 8
7: aconst_null
areturn
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 9: iload 3
ifge 10
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "@2x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 11
10: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "@2x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 12: iload 1
ifge 13
aload 4
goto 14
StackMap locals: java.lang.String
StackMap stack:
13: new java.lang.StringBuilder
dup
aload 0
iconst_0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
14: 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 path Ljava/lang/String;
3 15 1 slash I
6 15 2 name Ljava/lang/String;
9 15 3 dot I
12 15 4 name2x Ljava/lang/String;
MethodParameters:
Name Flags
path
private static boolean isValidPath(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 5
1: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 5
2: aload 0
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 5
3: aload 0
ldc "."
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 5
4: iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/lang/String;
MethodParameters:
Name Flags
path
protected sun.lwawt.PlatformWindow getPlatformWindowUnderMouse();
descriptor: ()Lsun/lwawt/PlatformWindow;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.lwawt.macosx.CPlatformWindow.nativeGetTopmostPlatformWindowUnderMouse:()Lsun/lwawt/macosx/CPlatformWindow;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/LWCToolkit;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.apple.laf.AquaMenuBarUI.getScreenMenuBarProperty:()Z
ifeq 3
1: ldc "MenuBarUI"
ldc "com.apple.laf.AquaMenuBarUI"
invokestatic javax.swing.UIManager.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
ldc "MenuBarUI"
aconst_null
invokestatic javax.swing.UIManager.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/LWCToolkit;
private static void lambda$0();
descriptor: ()V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
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:
()Ljava/lang/Object;
sun/lwawt/macosx/LWCToolkit.lambda$1()Ljava/lang/Object; (6)
()Ljava/lang/Object;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
1: return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Void lambda$2();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aconst_null
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
1: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$3(long);
descriptor: (J)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
0: lload 0
lconst_0
lcmp
ifeq 2
1: lload 0
invokestatic sun.lwawt.macosx.LWCToolkit.stopAWTRunLoop:(J)V
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Object lambda$1();
descriptor: ()Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.awt.AWTAccessor.getSystemColorAccessor:()Lsun/awt/AWTAccessor$SystemColorAccessor;
invokeinterface sun.awt.AWTAccessor$SystemColorAccessor.updateSystemColors:()V
1: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "LWCToolkit.java"
NestMembers:
sun.lwawt.macosx.LWCToolkit$1 sun.lwawt.macosx.LWCToolkit$2 sun.lwawt.macosx.LWCToolkit$3 sun.lwawt.macosx.LWCToolkit$AppleSpecificColor sun.lwawt.macosx.LWCToolkit$CallableWrapper sun.lwawt.macosx.LWCToolkit$OSXPlatformFont
InnerClasses:
public final ModalExclusionType = java.awt.Dialog$ModalExclusionType of java.awt.Dialog
public final ModalityType = java.awt.Dialog$ModalityType of java.awt.Dialog
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract SystemColorAccessor = sun.awt.AWTAccessor$SystemColorAccessor of sun.awt.AWTAccessor
public abstract ToolkitAccessor = sun.awt.AWTAccessor$ToolkitAccessor of sun.awt.AWTAccessor
public final PeerType = sun.lwawt.LWWindowPeer$PeerType of sun.lwawt.LWWindowPeer
public Creator = sun.lwawt.macosx.CImage$Creator of sun.lwawt.macosx.CImage
sun.lwawt.macosx.LWCToolkit$1
sun.lwawt.macosx.LWCToolkit$2
sun.lwawt.macosx.LWCToolkit$3
private AppleSpecificColor = sun.lwawt.macosx.LWCToolkit$AppleSpecificColor of sun.lwawt.macosx.LWCToolkit
final CallableWrapper = sun.lwawt.macosx.LWCToolkit$CallableWrapper of sun.lwawt.macosx.LWCToolkit
OSXPlatformFont = sun.lwawt.macosx.LWCToolkit$OSXPlatformFont of sun.lwawt.macosx.LWCToolkit