class com.sun.glass.ui.mac.MacSystemClipboard extends com.sun.glass.ui.SystemClipboard
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.mac.MacSystemClipboard
super_class: com.sun.glass.ui.SystemClipboard
{
static final java.lang.String FILE_SCHEME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "file"
private static final java.lang.String BAD_URI_MSG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "bad URI in com.sun.glass.ui.mac.MacSystemClipboard for file: "
private static final java.lang.String BAD_URL_MSG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "bad URL in com.sun.glass.ui.mac.MacSystemClipboard for file: "
static final boolean SUPPORT_10_5_API;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final boolean SUPPORT_10_5_API_FORCE;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final boolean SUPPORT_10_6_API;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
long seed;
descriptor: J
flags: (0x0000)
final com.sun.glass.ui.mac.MacPasteboard pasteboard;
descriptor: Lcom/sun/glass/ui/mac/MacPasteboard;
flags: (0x0010) ACC_FINAL
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.glass.ui.SystemClipboard.<init>:(Ljava/lang/String;)V
1: aload 0
lconst_0
putfield com.sun.glass.ui.mac.MacSystemClipboard.seed:J
2: aload 1
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
-1833998801: 3
67834: 4
default: 9
}
StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String java.lang.String
StackMap stack:
3: aload 2
ldc "SYSTEM"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
goto 9
StackMap locals:
StackMap stack:
4: aload 2
ldc "DND"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 9
5: StackMap locals:
StackMap stack:
aload 0
new com.sun.glass.ui.mac.MacPasteboard
dup
iconst_2
invokespecial com.sun.glass.ui.mac.MacPasteboard.<init>:(I)V
putfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
new com.sun.glass.ui.mac.MacPasteboard
dup
iconst_1
invokespecial com.sun.glass.ui.mac.MacPasteboard.<init>:(I)V
putfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
new com.sun.glass.ui.mac.MacPasteboard
dup
aload 1
invokespecial com.sun.glass.ui.mac.MacPasteboard.<init>:(Ljava/lang/String;)V
putfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
0 11 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected boolean isOwner();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.seed:J
aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
invokevirtual com.sun.glass.ui.mac.MacPasteboard.getSeed:()J
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
protected int supportedSourceActionsFromSystem();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
invokevirtual com.sun.glass.ui.mac.MacPasteboard.getAllowedOperation:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
protected void pushTargetActionToSystem(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
0 1 1 actionDone I
MethodParameters:
Name Flags
actionDone
protected void pushToSystem(java.util.HashMap<java.lang.String, java.lang.Object>, );
descriptor: (Ljava/util/HashMap;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 1
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 81
StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.util.HashMap int java.util.HashMap java.util.HashMap[] top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 4: aload 1
aload 5
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 5: aload 7
ifnull 81
6: aload 5
dup
astore 8
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 7
-1882575103: 7
-1082243251: 8
-1004732798: 9
431188280: 10
817335912: 11
1569034681: 12
1678854698: 13
default: 78
}
StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.util.HashMap int java.util.HashMap java.util.HashMap[] java.lang.String java.util.Iterator java.lang.Object java.lang.String
StackMap stack:
7: aload 8
ldc "text/uri-list"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 78
StackMap locals:
StackMap stack:
8: aload 8
ldc "text/html"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 43
goto 78
StackMap locals:
StackMap stack:
9: aload 8
ldc "text/rtf"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 43
goto 78
StackMap locals:
StackMap stack:
10: aload 8
ldc "application/x-java-file-list"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 52
goto 78
StackMap locals:
StackMap stack:
11: aload 8
ldc "text/plain"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 43
goto 78
StackMap locals:
StackMap stack:
12: aload 8
ldc "application/x-java-drag-image"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
goto 78
StackMap locals:
StackMap stack:
13: aload 8
ldc "application/x-java-rawimage"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
goto 78
14: StackMap locals:
StackMap stack:
aload 0
aload 7
checkcast java.lang.String
ldc "\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
iconst_1
invokevirtual com.sun.glass.ui.mac.MacSystemClipboard.putToItemList:([Ljava/lang/String;Z)Ljava/util/List;
astore 9
start local 9 15: aload 9
invokeinterface java.util.List.isEmpty:()Z
ifne 81
16: aload 9
invokeinterface java.util.List.size:()I
anewarray java.util.HashMap
astore 4
17: aload 9
aload 4
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
18: goto 81
end local 9 19: StackMap locals:
StackMap stack:
aconst_null
astore 9
start local 9 20: aload 7
instanceof com.sun.glass.ui.Pixels
ifeq 23
21: aload 7
checkcast com.sun.glass.ui.Pixels
astore 9
22: goto 38
StackMap locals: com.sun.glass.ui.Pixels
StackMap stack:
23: aload 7
instanceof java.nio.ByteBuffer
ifeq 30
24: aload 7
checkcast java.nio.ByteBuffer
astore 10
start local 10 25: aload 10
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
pop
26: invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
aload 10
invokevirtual java.nio.ByteBuffer.getInt:()I
aload 10
invokevirtual java.nio.ByteBuffer.getInt:()I
aload 10
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
invokevirtual com.sun.glass.ui.Application.createPixels:(IILjava/nio/ByteBuffer;)Lcom/sun/glass/ui/Pixels;
astore 9
end local 10 27: goto 38
StackMap locals:
StackMap stack: java.lang.Exception
28: pop
29: goto 38
StackMap locals:
StackMap stack:
30: aload 7
instanceof java.nio.IntBuffer
ifeq 37
31: aload 7
checkcast java.nio.IntBuffer
astore 10
start local 10 32: aload 10
invokevirtual java.nio.IntBuffer.rewind:()Ljava/nio/Buffer;
pop
33: invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
aload 10
invokevirtual java.nio.IntBuffer.get:()I
aload 10
invokevirtual java.nio.IntBuffer.get:()I
aload 10
invokevirtual java.nio.IntBuffer.slice:()Ljava/nio/IntBuffer;
invokevirtual com.sun.glass.ui.Application.createPixels:(IILjava/nio/IntBuffer;)Lcom/sun/glass/ui/Pixels;
astore 9
end local 10 34: goto 38
StackMap locals:
StackMap stack: java.lang.Exception
35: pop
36: goto 38
37: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
aload 7
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " cannot be converted to Pixels"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
aload 9
ifnull 81
39: aload 3
ifnonnull 41
40: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
41: StackMap locals:
StackMap stack:
aload 3
aload 5
invokestatic com.sun.glass.ui.mac.MacSystemClipboard$FormatEncoder.mimeToUtf:(Ljava/lang/String;)Ljava/lang/String;
aload 9
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
42: goto 81
end local 9 43: StackMap locals:
StackMap stack:
aload 7
instanceof java.lang.String
ifeq 49
44: aload 7
checkcast java.lang.String
astore 9
start local 9 45: aload 3
ifnonnull 47
46: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
47: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 5
invokestatic com.sun.glass.ui.mac.MacSystemClipboard$FormatEncoder.mimeToUtf:(Ljava/lang/String;)Ljava/lang/String;
aload 9
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 48: goto 81
49: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "DelayedCallback not implemented yet: RT-14593"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
50: invokestatic java.lang.Thread.dumpStack:()V
51: goto 81
52: StackMap locals:
StackMap stack:
aload 7
checkcast java.lang.String[]
astore 9
start local 9 53: aload 1
ldc "text/uri-list"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 59
54: aload 0
aload 9
iconst_1
invokevirtual com.sun.glass.ui.mac.MacSystemClipboard.putToItemList:([Ljava/lang/String;Z)Ljava/util/List;
astore 10
start local 10 55: aload 10
invokeinterface java.util.List.isEmpty:()Z
ifne 81
56: aload 10
invokeinterface java.util.List.size:()I
anewarray java.util.HashMap
astore 4
57: aload 10
aload 4
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
end local 10 58: goto 81
59: StackMap locals: java.lang.String[]
StackMap stack:
aload 3
ifnonnull 61
60: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
61: StackMap locals:
StackMap stack:
aconst_null
astore 10
start local 10 62: iconst_0
istore 11
start local 11 63: goto 72
64: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 9
iload 11
aaload
astore 12
start local 12 65: invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
aload 12
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
invokevirtual java.net.URI.toASCIIString:()Ljava/lang/String;
astore 13
start local 13 66: aload 10
ifnonnull 68
67: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 10
68: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 10
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
69: iload 11
aload 9
arraylength
iconst_1
isub
if_icmpge 71
70: aload 10
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 end local 12 71: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
72: iload 11
aload 9
arraylength
if_icmplt 64
end local 11 73: aload 10
ifnull 81
74: aload 3
ldc "public.utf8-plain-text"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 81
75: aload 3
ldc "public.utf8-plain-text"
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
76: aload 3
ldc "public.utf8-plain-text"
aload 10
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 77: goto 81
end local 9 78: StackMap locals:
StackMap stack:
aload 3
ifnonnull 80
79: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
80: StackMap locals:
StackMap stack:
aload 3
aload 5
invokestatic com.sun.glass.ui.mac.MacSystemClipboard$FormatEncoder.mimeToUtf:(Ljava/lang/String;)Ljava/lang/String;
aload 0
aload 7
invokevirtual com.sun.glass.ui.mac.MacSystemClipboard.serialize:(Ljava/lang/Object;)[B
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 5 81: StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.util.HashMap int java.util.HashMap java.util.HashMap[] top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
82: aload 3
ifnull 88
83: aload 4
ifnull 84
aload 4
arraylength
ifne 87
84: StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.util.HashMap int java.util.HashMap java.util.HashMap[]
StackMap stack:
iconst_1
anewarray java.util.HashMap
astore 4
85: aload 4
iconst_0
aload 3
aastore
86: goto 88
87: StackMap locals:
StackMap stack:
aload 4
iconst_0
aaload
aload 3
invokevirtual java.util.HashMap.putAll:(Ljava/util/Map;)V
88: StackMap locals:
StackMap stack:
aload 4
ifnull 90
89: aload 0
aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
aload 4
iload 2
invokevirtual com.sun.glass.ui.mac.MacPasteboard.putItems:([Ljava/util/HashMap;I)J
putfield com.sun.glass.ui.mac.MacSystemClipboard.seed:J
90: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 91 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
0 91 1 data Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
0 91 2 supportedActions I
1 91 3 itemFirst Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
2 91 4 itemList [Ljava/util/HashMap;
4 81 5 mime Ljava/lang/String;
5 81 7 object Ljava/lang/Object;
15 19 9 items Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;
20 43 9 pixels Lcom/sun/glass/ui/Pixels;
25 27 10 bb Ljava/nio/ByteBuffer;
32 34 10 ib Ljava/nio/IntBuffer;
45 48 9 string Ljava/lang/String;
53 78 9 files [Ljava/lang/String;
55 58 10 items Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;
62 77 10 string Ljava/lang/StringBuilder;
63 73 11 i I
65 71 12 file Ljava/lang/String;
66 71 13 path Ljava/lang/String;
Exception table:
from to target type
24 27 28 Class java.lang.Exception
31 34 35 Class java.lang.Exception
Signature: (Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;I)V
MethodParameters:
Name Flags
data
supportedActions
protected java.lang.Object popFromSystem(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
invokevirtual com.sun.glass.ui.mac.MacPasteboard.getUTFs:()[[Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.String[][]
StackMap stack:
aload 1
dup
astore 3
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 6
-1882575103: 4
-1082243251: 5
-1004732798: 6
431188280: 7
817335912: 8
1678854698: 9
default: 44
}
StackMap locals: java.lang.String
StackMap stack:
4: aload 3
ldc "text/uri-list"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
goto 44
StackMap locals:
StackMap stack:
5: aload 3
ldc "text/html"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
goto 44
StackMap locals:
StackMap stack:
6: aload 3
ldc "text/rtf"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
goto 44
StackMap locals:
StackMap stack:
7: aload 3
ldc "application/x-java-file-list"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 31
goto 44
StackMap locals:
StackMap stack:
8: aload 3
ldc "text/plain"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
goto 44
StackMap locals:
StackMap stack:
9: aload 3
ldc "application/x-java-rawimage"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 44
10: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 11: iconst_0
istore 5
start local 5 12: goto 19
13: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
iload 5
invokevirtual com.sun.glass.ui.mac.MacPasteboard.getItemAsRawImage:(I)[B
astore 6
start local 6 14: aload 6
ifnull 18
15: aload 0
aload 6
checkcast byte[]
invokevirtual com.sun.glass.ui.mac.MacSystemClipboard.getPixelsForRawImage:([B)Lcom/sun/glass/ui/Pixels;
astore 7
start local 7 16: aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: goto 20
end local 7 end local 6 18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 2
arraylength
if_icmplt 13
end local 5 20: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.glass.ui.mac.MacSystemClipboard.getObjectFromList:(Ljava/util/List;)Ljava/lang/Object;
areturn
end local 4 21: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 22: iconst_0
istore 5
start local 5 23: goto 29
24: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
iload 5
aload 1
invokestatic com.sun.glass.ui.mac.MacSystemClipboard$FormatEncoder.mimeToUtf:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.sun.glass.ui.mac.MacPasteboard.getItemStringForUTF:(ILjava/lang/String;)Ljava/lang/String;
astore 6
start local 6 25: aload 6
ifnull 28
26: aload 4
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: goto 30
end local 6 28: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
29: iload 5
aload 2
arraylength
if_icmplt 24
end local 5 30: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.glass.ui.mac.MacSystemClipboard.getObjectFromList:(Ljava/util/List;)Ljava/lang/Object;
areturn
end local 4 31: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 32: iconst_0
istore 5
start local 5 33: goto 38
34: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
iload 5
ldc "public.file-url"
invokevirtual com.sun.glass.ui.mac.MacPasteboard.getItemStringForUTF:(ILjava/lang/String;)Ljava/lang/String;
astore 6
start local 6 35: aload 6
ifnull 37
36: aload 4
aload 6
invokestatic com.sun.glass.ui.mac.MacSystemClipboard._convertFileReferencePath:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 37: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
38: iload 5
aload 2
arraylength
if_icmplt 34
end local 5 39: aconst_null
astore 5
start local 5 40: aload 4
invokeinterface java.util.List.size:()I
ifle 43
41: aload 4
invokeinterface java.util.List.size:()I
anewarray java.lang.String
astore 5
42: aload 4
aload 5
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
43: StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String java.lang.String[][] java.lang.String java.util.List java.lang.String[]
StackMap stack:
aload 5
areturn
end local 5 end local 4 44: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 45: iconst_0
istore 5
start local 5 46: goto 53
47: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
iload 5
aload 1
invokestatic com.sun.glass.ui.mac.MacSystemClipboard$FormatEncoder.mimeToUtf:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.sun.glass.ui.mac.MacPasteboard.getItemBytesForUTF:(ILjava/lang/String;)[B
astore 6
start local 6 48: aload 6
ifnull 52
49: aload 6
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 7
start local 7 50: aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
51: goto 54
end local 7 end local 6 52: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
53: iload 5
aload 2
arraylength
if_icmplt 47
end local 5 54: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.glass.ui.mac.MacSystemClipboard.getObjectFromList:(Ljava/util/List;)Ljava/lang/Object;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
0 55 1 mime Ljava/lang/String;
1 55 2 utfs [[Ljava/lang/String;
11 21 4 list Ljava/util/List<Lcom/sun/glass/ui/Pixels;>;
12 20 5 i I
14 18 6 data Ljava/lang/Object;
16 18 7 pixels Lcom/sun/glass/ui/Pixels;
22 31 4 list Ljava/util/List<Ljava/lang/String;>;
23 30 5 i I
25 28 6 item Ljava/lang/String;
32 44 4 list Ljava/util/List<Ljava/lang/String;>;
33 39 5 i I
35 37 6 file Ljava/lang/String;
40 44 5 object [Ljava/lang/String;
45 55 4 list Ljava/util/List<Ljava/nio/ByteBuffer;>;
46 54 5 i I
48 52 6 data [B
50 52 7 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
mime
private getObjectFromList(java.util.List<?>);
descriptor: (Ljava/util/List;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
ifle 2
1: aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
0 3 1 list Ljava/util/List<*>;
Signature: (Ljava/util/List<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
list
protected java.lang.String[] mimesFromSystem();
descriptor: ()[Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=12, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
invokevirtual com.sun.glass.ui.mac.MacPasteboard.getUTFs:()[[Ljava/lang/String;
astore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 1
ifnull 15
3: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 14
StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String[][] java.util.List top int int java.lang.String[][]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
ifnull 13
6: aload 3
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 12
StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String[][] java.util.List java.lang.String[] int int java.lang.String[][] top int int java.lang.String[]
StackMap stack:
7: aload 10
iload 8
aaload
astore 7
start local 7 8: aload 7
invokestatic com.sun.glass.ui.mac.MacSystemClipboard$FormatEncoder.utfToMime:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 9: aload 11
ifnull 11
aload 2
aload 11
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 11
10: aload 2
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 7 11: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
12: iload 8
iload 9
if_icmplt 7
end local 3 13: StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String[][] java.util.List top int int java.lang.String[][]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 5
if_icmplt 4
15: StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String[][] java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.size:()I
anewarray java.lang.String
astore 3
start local 3 16: aload 2
aload 3
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
17: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
1 18 1 all [[Ljava/lang/String;
2 18 2 mimes Ljava/util/List<Ljava/lang/String;>;
5 13 3 utfs [Ljava/lang/String;
8 11 7 utf Ljava/lang/String;
9 11 11 mime Ljava/lang/String;
16 18 3 strings [Ljava/lang/String;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Mac OS X "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.glass.ui.mac.MacSystemClipboard.pasteboard:Lcom/sun/glass/ui/mac/MacPasteboard;
invokevirtual com.sun.glass.ui.mac.MacPasteboard.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " Clipboard"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
private java.net.URI createUri(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/net/URI;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: new java.net.URI
dup
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 3
2: goto 6
StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String java.lang.String java.net.URI
StackMap stack: java.net.URISyntaxException
3: pop
4: getstatic java.lang.System.err:Ljava/io/PrintStream;
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
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: invokestatic java.lang.Thread.dumpStack:()V
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
0 7 1 path Ljava/lang/String;
0 7 2 message Ljava/lang/String;
1 7 3 uri Ljava/net/URI;
Exception table:
from to target type
1 2 3 Class java.net.URISyntaxException
MethodParameters:
Name Flags
path
message
private java.util.HashMap<java.lang.String, java.lang.Object> getItemFromURIString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
start local 3 1: aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 5
2: ldc "public.file-url"
astore 2
start local 2 3: invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
aload 1
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
invokevirtual java.net.URI.toASCIIString:()Ljava/lang/String;
astore 3
4: goto 9
end local 2 5: StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String top java.lang.String
StackMap stack:
ldc "public.url"
astore 2
start local 2 6: aload 0
aload 1
ldc "bad URI in com.sun.glass.ui.mac.MacSystemClipboard for file: "
invokevirtual com.sun.glass.ui.mac.MacSystemClipboard.createUri:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URI;
astore 4
start local 4 7: aload 4
ifnull 9
8: aload 4
invokevirtual java.net.URI.toASCIIString:()Ljava/lang/String;
astore 3
end local 4 9: StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 3
ifnull 13
10: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 11: aload 4
aload 2
aload 3
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 4
areturn
end local 4 13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
0 14 1 string Ljava/lang/String;
3 5 2 utf Ljava/lang/String;
6 14 2 utf Ljava/lang/String;
1 14 3 path Ljava/lang/String;
7 9 4 uri Ljava/net/URI;
11 13 4 item Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Ljava/lang/String;)Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
string
private java.util.List<java.util.HashMap<java.lang.String, java.lang.Object>> putToItemList(java.lang.String[], boolean);
descriptor: ([Ljava/lang/String;Z)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String[] int java.util.List top int int java.lang.String[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: iload 2
ifeq 4
aload 4
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 7
4: StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String[] int java.util.List java.lang.String int int java.lang.String[]
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.glass.ui.mac.MacSystemClipboard.getItemFromURIString:(Ljava/lang/String;)Ljava/util/HashMap;
astore 8
start local 8 5: aload 8
ifnull 7
6: aload 3
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 4 7: StackMap locals: com.sun.glass.ui.mac.MacSystemClipboard java.lang.String[] int java.util.List top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 2
9: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
0 10 1 items [Ljava/lang/String;
0 10 2 excludeComments Z
1 10 3 uriList Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;
3 7 4 file Ljava/lang/String;
5 7 8 entry Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
Signature: ([Ljava/lang/String;Z)Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;
MethodParameters:
Name Flags
items
excludeComments
private static native java.lang.String _convertFileReferencePath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
path
private byte[] serialize(java.lang.Object);
descriptor: (Ljava/lang/Object;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.lang.String
ifeq 3
1: aload 1
checkcast java.lang.String
astore 2
start local 2 2: aload 2
invokevirtual java.lang.String.getBytes:()[B
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 1
instanceof java.nio.ByteBuffer
ifeq 6
4: aload 1
checkcast java.nio.ByteBuffer
astore 2
start local 2 5: aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
areturn
end local 2 6: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "can not handle "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/glass/ui/mac/MacSystemClipboard;
0 7 1 object Ljava/lang/Object;
2 3 2 string Ljava/lang/String;
5 6 2 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
object
}
SourceFile: "MacSystemClipboard.java"
NestMembers:
com.sun.glass.ui.mac.MacSystemClipboard$FormatEncoder
InnerClasses:
private FormatEncoder = com.sun.glass.ui.mac.MacSystemClipboard$FormatEncoder of com.sun.glass.ui.mac.MacSystemClipboard