public final class com.sun.glass.ui.mac.MacFileNSURL extends java.io.File
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.glass.ui.mac.MacFileNSURL
super_class: java.io.File
{
private long ptr;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic com.sun.glass.ui.mac.MacFileNSURL._initIDs:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static native void _initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private void <init>(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
1: aload 0
lload 2
putfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
2: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/mac/MacFileNSURL;
0 4 1 name Ljava/lang/String;
0 4 2 ptr J
MethodParameters:
Name Flags
name
ptr
private void checkNotDisposed();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
lconst_0
lcmp
ifne 2
1: new java.lang.RuntimeException
dup
ldc "The NSURL object has been diposed already"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacFileNSURL;
private native void _dispose(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
invokevirtual com.sun.glass.ui.mac.MacFileNSURL.checkNotDisposed:()V
2: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
invokevirtual com.sun.glass.ui.mac.MacFileNSURL._dispose:(J)V
3: aload 0
lconst_0
putfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/mac/MacFileNSURL;
private native boolean _startAccessingSecurityScopedResource(long);
descriptor: (J)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public boolean startAccessingSecurityScopedResource();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
invokevirtual com.sun.glass.ui.mac.MacFileNSURL.checkNotDisposed:()V
2: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
invokevirtual com.sun.glass.ui.mac.MacFileNSURL._startAccessingSecurityScopedResource:(J)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacFileNSURL;
private native void _stopAccessingSecurityScopedResource(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public void stopAccessingSecurityScopedResource();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
invokevirtual com.sun.glass.ui.mac.MacFileNSURL.checkNotDisposed:()V
2: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
invokevirtual com.sun.glass.ui.mac.MacFileNSURL._stopAccessingSecurityScopedResource:(J)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/mac/MacFileNSURL;
private native byte[] _getBookmark(long, long);
descriptor: (JJ)[B
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
baseDocumentPtr
public byte[] getBookmark();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
invokevirtual com.sun.glass.ui.mac.MacFileNSURL.checkNotDisposed:()V
2: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
lconst_0
invokevirtual com.sun.glass.ui.mac.MacFileNSURL._getBookmark:(JJ)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacFileNSURL;
private static native com.sun.glass.ui.mac.MacFileNSURL _createFromBookmark(byte[], long);
descriptor: ([BJ)Lcom/sun/glass/ui/mac/MacFileNSURL;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
data
baseDocumentPtr
public static com.sun.glass.ui.mac.MacFileNSURL createFromBookmark(byte[]);
descriptor: ([B)Lcom/sun/glass/ui/mac/MacFileNSURL;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "data must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
invokestatic com.sun.glass.ui.mac.MacCommonDialogs.isFileNSURLEnabled:()Z
ifne 5
4: new java.lang.RuntimeException
dup
ldc "The system property glass.macosx.enableFileNSURL is not 'true'"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
lconst_0
invokestatic com.sun.glass.ui.mac.MacFileNSURL._createFromBookmark:([BJ)Lcom/sun/glass/ui/mac/MacFileNSURL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 data [B
MethodParameters:
Name Flags
data
public byte[] getDocumentScopedBookmark(com.sun.glass.ui.mac.MacFileNSURL);
descriptor: (Lcom/sun/glass/ui/mac/MacFileNSURL;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
invokevirtual com.sun.glass.ui.mac.MacFileNSURL.checkNotDisposed:()V
2: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
aload 1
getfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
invokevirtual com.sun.glass.ui.mac.MacFileNSURL._getBookmark:(JJ)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacFileNSURL;
0 3 1 baseDocument Lcom/sun/glass/ui/mac/MacFileNSURL;
MethodParameters:
Name Flags
baseDocument
public static com.sun.glass.ui.mac.MacFileNSURL createFromDocumentScopedBookmark(byte[], com.sun.glass.ui.mac.MacFileNSURL);
descriptor: ([BLcom/sun/glass/ui/mac/MacFileNSURL;)Lcom/sun/glass/ui/mac/MacFileNSURL;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "data must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
invokestatic com.sun.glass.ui.mac.MacCommonDialogs.isFileNSURLEnabled:()Z
ifne 5
4: new java.lang.RuntimeException
dup
ldc "The system property glass.macosx.enableFileNSURL is not 'true'"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield com.sun.glass.ui.mac.MacFileNSURL.ptr:J
invokestatic com.sun.glass.ui.mac.MacFileNSURL._createFromBookmark:([BJ)Lcom/sun/glass/ui/mac/MacFileNSURL;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 data [B
0 6 1 baseDocument Lcom/sun/glass/ui/mac/MacFileNSURL;
MethodParameters:
Name Flags
data
baseDocument
}
SourceFile: "MacFileNSURL.java"