final class com.sun.glass.ui.mac.MacPasteboard
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.glass.ui.mac.MacPasteboard
super_class: java.lang.Object
{
public static final int General;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int DragAndDrop;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int UtfIndex;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int ObjectIndex;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final java.lang.String UtfString;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "public.utf8-plain-text"
public static final java.lang.String UtfPdf;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "com.adobe.pdf"
public static final java.lang.String UtfTiff;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "public.tiff"
public static final java.lang.String UtfPng;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "public.png"
public static final java.lang.String UtfRtf;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "public.rtf"
public static final java.lang.String UtfRtfd;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "com.apple.flat-rtfd"
public static final java.lang.String UtfHtml;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "public.html"
public static final java.lang.String UtfTabularText;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "public.utf8-tab-separated-values-text"
public static final java.lang.String UtfFont;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "com.apple.cocoa.pasteboard.character-formatting"
public static final java.lang.String UtfColor;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "com.apple.cocoa.pasteboard.color"
public static final java.lang.String UtfSound;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "com.apple.cocoa.pasteboard.sound"
public static final java.lang.String UtfMultipleTextSelection;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "com.apple.cocoa.pasteboard.multiple-text-selection"
public static final java.lang.String UtfFindPanelSearchOptions;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "com.apple.cocoa.pasteboard.find-panel-search-options"
public static final java.lang.String UtfUrl;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "public.url"
public static final java.lang.String UtfFileUrl;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "public.file-url"
public static final java.lang.String UtfRawImageType;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "application.x-java-rawimage"
public static final java.lang.String UtfDragImageType;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "application.x-java-drag-image"
public static final java.lang.String UtfDragImageOffset;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "application.x-java-drag-image-offset"
private long ptr;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean user;
descriptor: Z
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.MacPasteboard._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 native long _createSystemPasteboard(int);
descriptor: (I)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
type
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lconst_0
putfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
2: aload 0
iconst_0
putfield com.sun.glass.ui.mac.MacPasteboard.user:Z
3: aload 0
aload 0
iload 1
invokevirtual com.sun.glass.ui.mac.MacPasteboard._createSystemPasteboard:(I)J
putfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
0 5 1 type I
MethodParameters:
Name Flags
type
private native long _createUserPasteboard(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
name
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lconst_0
putfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
2: aload 0
iconst_1
putfield com.sun.glass.ui.mac.MacPasteboard.user:Z
3: aload 0
aload 0
aload 1
invokevirtual com.sun.glass.ui.mac.MacPasteboard._createUserPasteboard:(Ljava/lang/String;)J
putfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
0 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public long getNativePasteboard();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
private native java.lang.String _getName(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
invokevirtual com.sun.glass.ui.mac.MacPasteboard._getName:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
private native java.lang.String[][] _getUTFs(long);
descriptor: (J)[[Ljava/lang/String;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public java.lang.String[][] getUTFs();
descriptor: ()[[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
invokevirtual com.sun.glass.ui.mac.MacPasteboard._getUTFs:(J)[[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
private native byte[] _getItemAsRawImage(long, int);
descriptor: (JI)[B
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
index
public byte[] getItemAsRawImage(int);
descriptor: (I)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
iload 1
invokevirtual com.sun.glass.ui.mac.MacPasteboard._getItemAsRawImage:(JI)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
0 2 1 index I
MethodParameters:
Name Flags
index
private native java.lang.String _getItemStringForUTF(long, int, java.lang.String);
descriptor: (JILjava/lang/String;)Ljava/lang/String;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
index
utf
public java.lang.String getItemStringForUTF(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
iload 1
aload 2
invokevirtual com.sun.glass.ui.mac.MacPasteboard._getItemStringForUTF:(JILjava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
0 2 1 index I
0 2 2 utf Ljava/lang/String;
MethodParameters:
Name Flags
index
utf
private native byte[] _getItemBytesForUTF(long, int, java.lang.String);
descriptor: (JILjava/lang/String;)[B
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
index
utf
public byte[] getItemBytesForUTF(int, java.lang.String);
descriptor: (ILjava/lang/String;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
iload 1
aload 2
invokevirtual com.sun.glass.ui.mac.MacPasteboard._getItemBytesForUTF:(JILjava/lang/String;)[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
0 2 1 index I
0 2 2 utf Ljava/lang/String;
MethodParameters:
Name Flags
index
utf
private native long _putItemsFromArray(long, java.lang.Object[], int);
descriptor: (J[Ljava/lang/Object;I)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
items
supportedActions
public long putItemsFromArray(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
aload 1
iload 2
invokevirtual com.sun.glass.ui.mac.MacPasteboard._putItemsFromArray:(J[Ljava/lang/Object;I)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
0 1 1 items [Ljava/lang/Object;
0 1 2 supportedActions I
MethodParameters:
Name Flags
items
supportedActions
private [] hashMapToArray(java.util.HashMap<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/HashMap;)[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ifnull 11
aload 1
invokevirtual java.util.HashMap.size:()I
ifle 11
2: aload 1
invokevirtual java.util.HashMap.size:()I
anewarray java.lang.Object
astore 2
3: iconst_0
istore 3
start local 3 4: aload 1
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: com.sun.glass.ui.mac.MacPasteboard java.util.HashMap java.lang.Object[] int top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: iconst_2
anewarray java.lang.Object
astore 6
start local 6 7: aload 6
iconst_0
aload 4
aastore
8: aload 6
iconst_1
aload 1
aload 4
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
9: aload 2
iload 3
iinc 3 1
aload 6
aastore
end local 6 end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 11: StackMap locals: com.sun.glass.ui.mac.MacPasteboard java.util.HashMap java.lang.Object[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
0 12 1 hashmap Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
1 12 2 array [Ljava/lang/Object;
4 11 3 index I
6 10 4 utf Ljava/lang/String;
7 10 6 item [Ljava/lang/Object;
Signature: (Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;)[Ljava/lang/Object;
MethodParameters:
Name Flags
hashmap
public long putItems(java.util.HashMap<java.lang.String, java.lang.Object>[], );
descriptor: ([Ljava/util/HashMap;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 1
arraylength
anewarray java.lang.Object
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 3
iload 4
aload 0
aload 1
iload 4
aaload
invokevirtual com.sun.glass.ui.mac.MacPasteboard.hashMapToArray:(Ljava/util/HashMap;)[Ljava/lang/Object;
aastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 1
arraylength
if_icmplt 4
end local 4 7: aload 0
aload 3
iload 2
invokevirtual com.sun.glass.ui.mac.MacPasteboard.putItemsFromArray:([Ljava/lang/Object;I)J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
0 8 1 items [Ljava/util/HashMap;
0 8 2 supportedActions I
2 8 3 array [Ljava/lang/Object;
3 7 4 i I
Signature: ([Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;I)J
MethodParameters:
Name Flags
items
supportedActions
private native long _clear(long);
descriptor: (J)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public long clear();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
invokevirtual com.sun.glass.ui.mac.MacPasteboard._clear:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
private native long _getSeed(long);
descriptor: (J)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public long getSeed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
invokevirtual com.sun.glass.ui.mac.MacPasteboard._getSeed:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
private native int _getAllowedOperation(long);
descriptor: (J)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public int getAllowedOperation();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
invokevirtual com.sun.glass.ui.mac.MacPasteboard._getAllowedOperation:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
private native void _release(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacPasteboard.assertValid:()V
1: aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
lconst_0
lcmp
ifeq 3
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.user:Z
ifeq 3
2: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
invokevirtual com.sun.glass.ui.mac.MacPasteboard._release:(J)V
3: StackMap locals:
StackMap stack:
aload 0
lconst_0
putfield com.sun.glass.ui.mac.MacPasteboard.ptr:J
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/mac/MacPasteboard;
private void assertValid();
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.MacPasteboard.ptr:J
lconst_0
lcmp
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "The MacPasteboard is not valid"
invokespecial java.lang.IllegalStateException.<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/MacPasteboard;
}
SourceFile: "MacPasteboard.java"