public final class sun.lwawt.macosx.CDesktopPeer implements java.awt.peer.DesktopPeer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.macosx.CDesktopPeer
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CDesktopPeer;
public boolean isSupported(java.awt.Desktop$Action);
descriptor: (Ljava/awt/Desktop$Action;)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/CDesktopPeer;
0 1 1 action Ljava/awt/Desktop$Action;
MethodParameters:
Name Flags
action
public void open(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.lwawt.macosx.CDesktopPeer.lsOpenFile:(Ljava/io/File;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void edit(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.lwawt.macosx.CDesktopPeer.lsOpenFile:(Ljava/io/File;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void print(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual sun.lwawt.macosx.CDesktopPeer.lsOpenFile:(Ljava/io/File;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void mail(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.lwawt.macosx.CDesktopPeer.lsOpen:(Ljava/net/URI;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 uri Ljava/net/URI;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
public void browse(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.lwawt.macosx.CDesktopPeer.lsOpen:(Ljava/net/URI;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 uri Ljava/net/URI;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
public void addAppEventListener(java.awt.desktop.SystemEventListener);
descriptor: (Ljava/awt/desktop/SystemEventListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.addAppEventListener:(Ljava/awt/desktop/SystemEventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 listener Ljava/awt/desktop/SystemEventListener;
MethodParameters:
Name Flags
listener
public void removeAppEventListener(java.awt.desktop.SystemEventListener);
descriptor: (Ljava/awt/desktop/SystemEventListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.removeAppEventListener:(Ljava/awt/desktop/SystemEventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 listener Ljava/awt/desktop/SystemEventListener;
MethodParameters:
Name Flags
listener
public void setAboutHandler(java.awt.desktop.AboutHandler);
descriptor: (Ljava/awt/desktop/AboutHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.setAboutHandler:(Ljava/awt/desktop/AboutHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 aboutHandler Ljava/awt/desktop/AboutHandler;
MethodParameters:
Name Flags
aboutHandler
public void setPreferencesHandler(java.awt.desktop.PreferencesHandler);
descriptor: (Ljava/awt/desktop/PreferencesHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.setPreferencesHandler:(Ljava/awt/desktop/PreferencesHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 preferencesHandler Ljava/awt/desktop/PreferencesHandler;
MethodParameters:
Name Flags
preferencesHandler
public void setOpenFileHandler(java.awt.desktop.OpenFilesHandler);
descriptor: (Ljava/awt/desktop/OpenFilesHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.setOpenFileHandler:(Ljava/awt/desktop/OpenFilesHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 openFileHandler Ljava/awt/desktop/OpenFilesHandler;
MethodParameters:
Name Flags
openFileHandler
public void setPrintFileHandler(java.awt.desktop.PrintFilesHandler);
descriptor: (Ljava/awt/desktop/PrintFilesHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.setPrintFileHandler:(Ljava/awt/desktop/PrintFilesHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 printFileHandler Ljava/awt/desktop/PrintFilesHandler;
MethodParameters:
Name Flags
printFileHandler
public void setOpenURIHandler(java.awt.desktop.OpenURIHandler);
descriptor: (Ljava/awt/desktop/OpenURIHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.setOpenURIHandler:(Ljava/awt/desktop/OpenURIHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 openURIHandler Ljava/awt/desktop/OpenURIHandler;
MethodParameters:
Name Flags
openURIHandler
public void setQuitHandler(java.awt.desktop.QuitHandler);
descriptor: (Ljava/awt/desktop/QuitHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.setQuitHandler:(Ljava/awt/desktop/QuitHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 quitHandler Ljava/awt/desktop/QuitHandler;
MethodParameters:
Name Flags
quitHandler
public void setQuitStrategy(java.awt.desktop.QuitStrategy);
descriptor: (Ljava/awt/desktop/QuitStrategy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.setQuitStrategy:(Ljava/awt/desktop/QuitStrategy;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 strategy Ljava/awt/desktop/QuitStrategy;
MethodParameters:
Name Flags
strategy
public void enableSuddenTermination();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
invokevirtual com.apple.eawt.Application.enableSuddenTermination:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
public void disableSuddenTermination();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
invokevirtual com.apple.eawt.Application.disableSuddenTermination:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
public void requestForeground(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
iload 1
invokevirtual com.apple.eawt.Application.requestForeground:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 allWindows Z
MethodParameters:
Name Flags
allWindows
public void openHelpViewer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
invokevirtual com.apple.eawt.Application.openHelpViewer:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
public void (javax.swing.JMenuBar);
descriptor: (Ljavax/swing/JMenuBar;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.apple.eawt.Application.getApplication:()Lcom/apple/eawt/Application;
aload 1
invokevirtual com.apple.eawt.Application.setDefaultMenuBar:(Ljavax/swing/JMenuBar;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 2 1 menuBar Ljavax/swing/JMenuBar;
MethodParameters:
Name Flags
menuBar
public boolean browseFileDirectory(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.apple.eio.FileManager.revealInFinder:(Ljava/io/File;)Z
1: ireturn
2: StackMap locals:
StackMap stack: java.io.FileNotFoundException
pop
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 4 1 file Ljava/io/File;
Exception table:
from to target type
0 1 2 Class java.io.FileNotFoundException
MethodParameters:
Name Flags
file
public boolean moveToTrash(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.apple.eio.FileManager.moveToTrash:(Ljava/io/File;)Z
1: ireturn
2: StackMap locals:
StackMap stack: java.io.FileNotFoundException
pop
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 4 1 file Ljava/io/File;
Exception table:
from to target type
0 1 2 Class java.io.FileNotFoundException
MethodParameters:
Name Flags
file
private void lsOpen(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.net.URI.toString:()Ljava/lang/String;
invokestatic sun.lwawt.macosx.CDesktopPeer._lsOpenURI:(Ljava/lang/String;)I
istore 2
start local 2 1: iload 2
ifeq 3
2: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Failed to mail or browse "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ". Error code: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 4 1 uri Ljava/net/URI;
1 4 2 status I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
private void lsOpenFile(java.io.File, boolean);
descriptor: (Ljava/io/File;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
iload 2
invokestatic sun.lwawt.macosx.CDesktopPeer._lsOpenFile:(Ljava/lang/String;Z)I
istore 3
start local 3 1: iload 3
ifeq 3
2: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Failed to open, edit or print "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ". Error code: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CDesktopPeer;
0 4 1 file Ljava/io/File;
0 4 2 print Z
1 4 3 status I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
print
private static native int _lsOpenURI(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
uri
private static native int _lsOpenFile(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
path
print
}
SourceFile: "CDesktopPeer.java"
InnerClasses:
public final Action = java.awt.Desktop$Action of java.awt.Desktop