final class com.sun.javafx.tk.quantum.QuantumClipboard implements com.sun.javafx.tk.TKClipboard
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.tk.quantum.QuantumClipboard
super_class: java.lang.Object
{
private com.sun.glass.ui.ClipboardAssistance systemAssistant;
descriptor: Lcom/sun/glass/ui/ClipboardAssistance;
flags: (0x0002) ACC_PRIVATE
private java.security.AccessControlContext accessContext;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0002) ACC_PRIVATE
private boolean isCaching;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.List<javafx.util.Pair<javafx.scene.input.DataFormat, java.lang.Object>> dataCache;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljavafx/util/Pair<Ljavafx/scene/input/DataFormat;Ljava/lang/Object;>;>;
private java.util.Set<javafx.scene.input.TransferMode> transferModesCache;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljavafx/scene/input/TransferMode;>;
private javafx.scene.image.Image dragImage;
descriptor: Ljavafx/scene/image/Image;
flags: (0x0002) ACC_PRIVATE
private double dragOffsetX;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double dragOffsetY;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private static com.sun.glass.ui.ClipboardAssistance currentDragboard;
descriptor: Lcom/sun/glass/ui/ClipboardAssistance;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.util.regex.Pattern findTagIMG;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$javafx$scene$input$TransferMode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "IMG\\s+SRC=\\\"([^\\\"]+)\\\""
1: bipush 34
2: invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
3: putstatic com.sun.javafx.tk.quantum.QuantumClipboard.findTagIMG:Ljava/util/regex/Pattern;
4: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.javafx.tk.quantum.QuantumClipboard.accessContext:Ljava/security/AccessControlContext;
2: aload 0
aconst_null
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dragImage:Ljavafx/scene/image/Image;
3: aload 0
dconst_0
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetX:D
4: aload 0
dconst_0
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetY:D
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
public void setSecurityContext(java.security.AccessControlContext);
descriptor: (Ljava/security/AccessControlContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.accessContext:Ljava/security/AccessControlContext;
ifnull 2
1: new java.lang.RuntimeException
dup
ldc "Clipboard security context has been already set!"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.javafx.tk.quantum.QuantumClipboard.accessContext:Ljava/security/AccessControlContext;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 4 1 acc Ljava/security/AccessControlContext;
MethodParameters:
Name Flags
acc
private java.security.AccessControlContext getAccessControlContext();
descriptor: ()Ljava/security/AccessControlContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.accessContext:Ljava/security/AccessControlContext;
ifnonnull 2
1: new java.lang.RuntimeException
dup
ldc "Clipboard security context has not been set!"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.accessContext:Ljava/security/AccessControlContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
public static com.sun.javafx.tk.quantum.QuantumClipboard getClipboardInstance(com.sun.glass.ui.ClipboardAssistance);
descriptor: (Lcom/sun/glass/ui/ClipboardAssistance;)Lcom/sun/javafx/tk/quantum/QuantumClipboard;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new com.sun.javafx.tk.quantum.QuantumClipboard
dup
invokespecial com.sun.javafx.tk.quantum.QuantumClipboard.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
putfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
2: aload 1
iconst_0
putfield com.sun.javafx.tk.quantum.QuantumClipboard.isCaching:Z
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 assistant Lcom/sun/glass/ui/ClipboardAssistance;
1 4 1 c Lcom/sun/javafx/tk/quantum/QuantumClipboard;
MethodParameters:
Name Flags
assistant
static com.sun.glass.ui.ClipboardAssistance getCurrentDragboard();
descriptor: ()Lcom/sun/glass/ui/ClipboardAssistance;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
areturn
LocalVariableTable:
Start End Slot Name Signature
static void releaseCurrentDragboard();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.javafx.tk.quantum.QuantumClipboard getDragboardInstance(com.sun.glass.ui.ClipboardAssistance, boolean);
descriptor: (Lcom/sun/glass/ui/ClipboardAssistance;Z)Lcom/sun/javafx/tk/quantum/QuantumClipboard;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new com.sun.javafx.tk.quantum.QuantumClipboard
dup
invokespecial com.sun.javafx.tk.quantum.QuantumClipboard.<init>:()V
astore 2
start local 2 1: aload 2
aload 0
putfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
2: aload 2
iconst_1
putfield com.sun.javafx.tk.quantum.QuantumClipboard.isCaching:Z
3: iload 1
ifeq 5
4: aload 0
putstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
5: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 assistant Lcom/sun/glass/ui/ClipboardAssistance;
0 6 1 isDragSource Z
1 6 2 c Lcom/sun/javafx/tk/quantum/QuantumClipboard;
MethodParameters:
Name Flags
assistant
isDragSource
public static int transferModesToClipboardActions(java.util.Set<javafx.scene.input.TransferMode>);
descriptor: (Ljava/util/Set;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals: java.util.Set int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.input.TransferMode
astore 2
start local 2 3: invokestatic com.sun.javafx.tk.quantum.QuantumClipboard.$SWITCH_TABLE$javafx$scene$input$TransferMode:()[I
aload 2
invokevirtual javafx.scene.input.TransferMode.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 4
2: 6
3: 8
default: 10
}
4: StackMap locals: java.util.Set int javafx.scene.input.TransferMode java.util.Iterator
StackMap stack:
iload 1
iconst_1
ior
istore 1
5: goto 13
6: StackMap locals:
StackMap stack:
iload 1
iconst_2
ior
istore 1
7: goto 13
8: StackMap locals:
StackMap stack:
iload 1
ldc 1073741824
ior
istore 1
9: goto 13
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
11: new java.lang.StringBuilder
dup
ldc "unsupported TransferMode "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 13: StackMap locals: java.util.Set int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
14: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 tms Ljava/util/Set<Ljavafx/scene/input/TransferMode;>;
1 15 1 actions I
3 13 2 t Ljavafx/scene/input/TransferMode;
Signature: (Ljava/util/Set<Ljavafx/scene/input/TransferMode;>;)I
MethodParameters:
Name Flags
tms final
public void setSupportedTransferMode(java.util.Set<javafx.scene.input.TransferMode>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.isCaching:Z
ifeq 2
1: aload 0
aload 1
putfield com.sun.javafx.tk.quantum.QuantumClipboard.transferModesCache:Ljava/util/Set;
2: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.javafx.tk.quantum.QuantumClipboard.transferModesToClipboardActions:(Ljava/util/Set;)I
istore 2
start local 2 3: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
iload 2
invokevirtual com.sun.glass.ui.ClipboardAssistance.setSupportedActions:(I)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 5 1 tm Ljava/util/Set<Ljavafx/scene/input/TransferMode;>;
3 5 2 actions I
Signature: (Ljava/util/Set<Ljavafx/scene/input/TransferMode;>;)V
MethodParameters:
Name Flags
tm
public static java.util.Set<javafx.scene.input.TransferMode> clipboardActionsToTransferModes(int);
descriptor: (I)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc Ljavafx/scene/input/TransferMode;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
astore 1
start local 1 1: iload 0
iconst_1
iand
ifeq 3
2: aload 1
getstatic javafx.scene.input.TransferMode.COPY:Ljavafx/scene/input/TransferMode;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals: java.util.Set
StackMap stack:
iload 0
iconst_2
iand
ifeq 5
4: aload 1
getstatic javafx.scene.input.TransferMode.MOVE:Ljavafx/scene/input/TransferMode;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
iload 0
ldc 1073741824
iand
ifeq 7
6: aload 1
getstatic javafx.scene.input.TransferMode.LINK:Ljavafx/scene/input/TransferMode;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 actions I
1 8 1 tms Ljava/util/Set<Ljavafx/scene/input/TransferMode;>;
Signature: (I)Ljava/util/Set<Ljavafx/scene/input/TransferMode;>;
MethodParameters:
Name Flags
actions final
public java.util.Set<javafx.scene.input.TransferMode> getTransferModes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.transferModesCache:Ljava/util/Set;
ifnull 2
1: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.transferModesCache:Ljava/util/Set;
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
areturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
ifnull 3
getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
StackMap locals:
StackMap stack: com.sun.glass.ui.ClipboardAssistance
4: astore 1
start local 1 5: aload 1
invokevirtual com.sun.glass.ui.ClipboardAssistance.getSupportedSourceActions:()I
invokestatic com.sun.javafx.tk.quantum.QuantumClipboard.clipboardActionsToTransferModes:(I)Ljava/util/Set;
astore 2
start local 2 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
5 7 1 assistant Lcom/sun/glass/ui/ClipboardAssistance;
6 7 2 tms Ljava/util/Set<Ljavafx/scene/input/TransferMode;>;
Signature: ()Ljava/util/Set<Ljavafx/scene/input/TransferMode;>;
public void setDragView(javafx.scene.image.Image);
descriptor: (Ljavafx/scene/image/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dragImage:Ljavafx/scene/image/Image;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 2 1 image Ljavafx/scene/image/Image;
MethodParameters:
Name Flags
image
public void setDragViewOffsetX(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetX:D
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 2 1 offsetX D
MethodParameters:
Name Flags
offsetX
public void setDragViewOffsetY(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetY:D
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 2 1 offsetY D
MethodParameters:
Name Flags
offsetY
public javafx.scene.image.Image getDragView();
descriptor: ()Ljavafx/scene/image/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dragImage:Ljavafx/scene/image/Image;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
public double getDragViewOffsetX();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetX:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
public double getDragViewOffsetY();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetY:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
invokevirtual com.sun.glass.ui.ClipboardAssistance.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.isCaching:Z
ifeq 2
1: aload 0
aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
iconst_0
anewarray javafx.util.Pair
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javafx.util.Pair[]
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.putContentToPeer:([Ljavafx/util/Pair;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.clearCache:()V
3: aload 0
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.clearDragView:()V
4: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
invokevirtual com.sun.glass.ui.ClipboardAssistance.flush:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
public java.lang.Object getContent(javafx.scene.input.DataFormat);
descriptor: (Ljavafx/scene/input/DataFormat;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
ifnull 7
1: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.util.Pair
astore 2
start local 2 3: aload 2
invokevirtual javafx.util.Pair.getKey:()Ljava/lang/Object;
aload 1
if_acmpne 5
4: aload 2
invokevirtual javafx.util.Pair.getValue:()Ljava/lang/Object;
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aconst_null
areturn
7: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat
StackMap stack:
getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
ifnull 8
getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
goto 9
StackMap locals:
StackMap stack:
8: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
9: StackMap locals:
StackMap stack: com.sun.glass.ui.ClipboardAssistance
astore 2
start local 2 10: aload 1
getstatic javafx.scene.input.DataFormat.IMAGE:Ljavafx/scene/input/DataFormat;
if_acmpne 12
11: aload 0
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.readImage:()Ljavafx/scene/image/Image;
areturn
12: StackMap locals: com.sun.glass.ui.ClipboardAssistance
StackMap stack:
aload 1
getstatic javafx.scene.input.DataFormat.URL:Ljavafx/scene/input/DataFormat;
if_acmpne 14
13: aload 2
ldc "text/uri-list"
invokevirtual com.sun.glass.ui.ClipboardAssistance.getData:(Ljava/lang/String;)Ljava/lang/Object;
areturn
14: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.DataFormat.FILES:Ljavafx/scene/input/DataFormat;
if_acmpne 25
15: aload 2
ldc "application/x-java-file-list"
invokevirtual com.sun.glass.ui.ClipboardAssistance.getData:(Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 16: aload 3
ifnonnull 17
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
17: StackMap locals: java.lang.Object
StackMap stack:
aload 3
checkcast java.lang.String[]
astore 4
start local 4 18: new java.util.ArrayList
dup
aload 4
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
start local 5 19: iconst_0
istore 6
start local 6 20: goto 23
21: StackMap locals: java.lang.String[] java.util.List int
StackMap stack:
aload 5
new java.io.File
dup
aload 4
iload 6
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: iinc 6 1
StackMap locals:
StackMap stack:
23: iload 6
aload 4
arraylength
if_icmplt 21
end local 6 24: aload 5
areturn
end local 5 end local 4 end local 3 25: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat com.sun.glass.ui.ClipboardAssistance
StackMap stack:
aload 1
invokevirtual javafx.scene.input.DataFormat.getIdentifiers:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 39
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat com.sun.glass.ui.ClipboardAssistance top java.util.Iterator
StackMap stack:
26: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 27: aload 2
aload 3
invokevirtual com.sun.glass.ui.ClipboardAssistance.getData:(Ljava/lang/String;)Ljava/lang/Object;
astore 5
start local 5 28: aload 5
instanceof java.nio.ByteBuffer
ifeq 38
29: aload 5
checkcast java.nio.ByteBuffer
astore 6
start local 6 30: new java.io.ByteArrayInputStream
dup
31: aload 6
invokevirtual java.nio.ByteBuffer.array:()[B
32: invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 7
start local 7 33: new com.sun.javafx.tk.quantum.QuantumClipboard$1
dup
aload 0
aload 7
invokespecial com.sun.javafx.tk.quantum.QuantumClipboard$1.<init>:(Lcom/sun/javafx/tk/quantum/QuantumClipboard;Ljava/io/InputStream;)V
astore 8
start local 8 34: aload 8
invokeinterface java.io.ObjectInput.readObject:()Ljava/lang/Object;
astore 5
end local 8 end local 7 end local 6 35: goto 38
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat com.sun.glass.ui.ClipboardAssistance java.lang.String java.util.Iterator java.lang.Object
StackMap stack: java.io.IOException
36: pop
goto 38
37: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
38: StackMap locals:
StackMap stack:
aload 5
ifnull 39
aload 5
areturn
end local 5 end local 3 39: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat com.sun.glass.ui.ClipboardAssistance top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
40: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 41 1 dataFormat Ljavafx/scene/input/DataFormat;
3 5 2 pair Ljavafx/util/Pair<Ljavafx/scene/input/DataFormat;Ljava/lang/Object;>;
10 41 2 assistant Lcom/sun/glass/ui/ClipboardAssistance;
16 25 3 data Ljava/lang/Object;
18 25 4 paths [Ljava/lang/String;
19 25 5 list Ljava/util/List<Ljava/io/File;>;
20 24 6 i I
27 39 3 mimeType Ljava/lang/String;
28 39 5 data Ljava/lang/Object;
30 35 6 bb Ljava/nio/ByteBuffer;
33 35 7 bis Ljava/io/ByteArrayInputStream;
34 35 8 in Ljava/io/ObjectInput;
Exception table:
from to target type
29 35 36 Class java.io.IOException
29 35 37 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
dataFormat
private static javafx.scene.image.Image convertObjectToImage(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljavafx/scene/image/Image;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
instanceof javafx.scene.image.Image
ifeq 2
1: aload 0
checkcast javafx.scene.image.Image
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.nio.ByteBuffer
ifeq 13
3: aload 0
checkcast java.nio.ByteBuffer
astore 2
start local 2 4: aload 2
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
pop
5: aload 2
invokevirtual java.nio.ByteBuffer.getInt:()I
istore 3
start local 3 6: aload 2
invokevirtual java.nio.ByteBuffer.getInt:()I
istore 4
start local 4 7: invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
8: iload 3
iload 4
aload 2
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
9: invokevirtual com.sun.glass.ui.Application.createPixels:(IILjava/nio/ByteBuffer;)Lcom/sun/glass/ui/Pixels;
astore 1
end local 4 end local 3 start local 1 10: goto 17
end local 1 StackMap locals: java.lang.Object top java.nio.ByteBuffer
StackMap stack: java.lang.Exception
11: pop
12: aconst_null
areturn
end local 2 13: StackMap locals: java.lang.Object
StackMap stack:
aload 0
instanceof com.sun.glass.ui.Pixels
ifeq 16
14: aload 0
checkcast com.sun.glass.ui.Pixels
astore 1
start local 1 15: goto 17
end local 1 16: StackMap locals:
StackMap stack:
aconst_null
areturn
start local 1 17: StackMap locals: com.sun.glass.ui.Pixels
StackMap stack:
aload 1
18: invokestatic com.sun.javafx.tk.quantum.PixelUtils.pixelsToImage:(Lcom/sun/glass/ui/Pixels;)Lcom/sun/prism/Image;
astore 2
start local 2 19: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
20: aload 2
21: invokevirtual com.sun.javafx.tk.Toolkit.loadPlatformImage:(Ljava/lang/Object;)Lcom/sun/javafx/tk/ImageLoader;
astore 3
start local 3 22: invokestatic com.sun.javafx.tk.Toolkit.getImageAccessor:()Lcom/sun/javafx/tk/Toolkit$ImageAccessor;
aload 3
invokeinterface com.sun.javafx.tk.Toolkit$ImageAccessor.fromPlatformImage:(Ljava/lang/Object;)Ljavafx/scene/image/Image;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 obj Ljava/lang/Object;
10 11 1 pixels Lcom/sun/glass/ui/Pixels;
15 16 1 pixels Lcom/sun/glass/ui/Pixels;
17 23 1 pixels Lcom/sun/glass/ui/Pixels;
4 13 2 bb Ljava/nio/ByteBuffer;
6 10 3 width I
7 10 4 height I
19 23 2 platformImage Lcom/sun/prism/Image;
22 23 3 il Lcom/sun/javafx/tk/ImageLoader;
Exception table:
from to target type
4 10 11 Class java.lang.Exception
MethodParameters:
Name Flags
obj
private javafx.scene.image.Image readImage();
descriptor: ()Ljavafx/scene/image/Image;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=12, args_size=1
start local 0 0: getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
ifnull 1
getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
2: StackMap locals:
StackMap stack: com.sun.glass.ui.ClipboardAssistance
astore 1
start local 1 3: aload 1
ldc "application/x-java-rawimage"
invokevirtual com.sun.glass.ui.ClipboardAssistance.getData:(Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 4: aload 2
ifnonnull 40
5: aload 1
ldc "text/html"
invokevirtual com.sun.glass.ui.ClipboardAssistance.getData:(Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 6: aload 3
ifnull 39
7: aload 0
aload 3
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.parseIMG:(Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 8: aload 4
ifnull 39
9: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 5
start local 5 10: aload 5
ifnull 33
11: aload 0
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.getAccessControlContext:()Ljava/security/AccessControlContext;
astore 6
start local 6 12: new java.net.URL
dup
aload 4
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 7
start local 7 13: aload 7
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
astore 8
start local 8 14: aload 8
ldc "jar"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
15: aload 7
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 9
start local 9 16: new java.net.URL
dup
aload 9
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 7
17: aload 7
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
astore 8
end local 9 18: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard com.sun.glass.ui.ClipboardAssistance java.lang.Object java.lang.Object java.lang.String java.lang.SecurityManager java.security.AccessControlContext java.net.URL java.lang.String
StackMap stack:
aload 8
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 22
19: new java.io.FilePermission
dup
aload 7
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
ldc "read"
invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 9
start local 9 20: aload 5
aload 9
aload 6
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;Ljava/lang/Object;)V
end local 9 21: goto 33
StackMap locals:
StackMap stack:
22: aload 8
ldc "ftp"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 25
23: aload 8
ldc "http"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 25
24: aload 8
ldc "https"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 32
25: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.net.URL.getPort:()I
istore 9
start local 9 26: iload 9
iconst_m1
if_icmpne 27
aload 7
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
goto 28
StackMap locals: int
StackMap stack:
27: new java.lang.StringBuilder
dup
aload 7
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 9
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
28: astore 10
start local 10 29: new java.net.SocketPermission
dup
aload 10
ldc "connect"
invokespecial java.net.SocketPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 11
start local 11 30: aload 5
aload 11
aload 6
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;Ljava/lang/Object;)V
end local 11 end local 10 end local 9 31: goto 33
32: StackMap locals:
StackMap stack:
aload 6
invokestatic com.sun.javafx.tk.PermissionHelper.checkClipboardPermission:(Ljava/security/AccessControlContext;)V
end local 8 end local 7 end local 6 33: StackMap locals:
StackMap stack:
new javafx.scene.image.Image
dup
aload 4
invokespecial javafx.scene.image.Image.<init>:(Ljava/lang/String;)V
34: areturn
end local 5 35: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard com.sun.glass.ui.ClipboardAssistance java.lang.Object java.lang.Object java.lang.String
StackMap stack: java.net.MalformedURLException
pop
36: aconst_null
areturn
37: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
38: aconst_null
areturn
end local 4 39: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 40: StackMap locals:
StackMap stack:
aload 2
invokestatic com.sun.javafx.tk.quantum.QuantumClipboard.convertObjectToImage:(Ljava/lang/Object;)Ljavafx/scene/image/Image;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
3 41 1 assistant Lcom/sun/glass/ui/ClipboardAssistance;
4 41 2 rawData Ljava/lang/Object;
6 40 3 htmlData Ljava/lang/Object;
8 39 4 url Ljava/lang/String;
10 35 5 sm Ljava/lang/SecurityManager;
12 33 6 context Ljava/security/AccessControlContext;
13 33 7 u Ljava/net/URL;
14 33 8 protocol Ljava/lang/String;
16 18 9 file Ljava/lang/String;
20 21 9 fp Ljava/io/FilePermission;
26 31 9 port I
29 31 10 hoststr Ljava/lang/String;
30 31 11 sp Ljava/net/SocketPermission;
Exception table:
from to target type
9 34 35 Class java.net.MalformedURLException
9 34 37 Class java.lang.SecurityException
private java.lang.String parseIMG(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String
ifne 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.String
astore 2
start local 2 5: getstatic com.sun.javafx.tk.quantum.QuantumClipboard.findTagIMG:Ljava/util/regex/Pattern;
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 6: aload 3
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 8
7: aload 3
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
areturn
8: StackMap locals: java.lang.String java.util.regex.Matcher
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 9 1 data Ljava/lang/Object;
5 9 2 str Ljava/lang/String;
6 9 3 matcher Ljava/util/regex/Matcher;
MethodParameters:
Name Flags
data
private boolean placeImage(javafx.scene.image.Image);
descriptor: (Ljavafx/scene/image/Image;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.scene.image.Image.getUrl:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 4
aload 2
invokestatic com.sun.javafx.tk.quantum.PixelUtils.supportedFormatType:(Ljava/lang/String;)Z
ifeq 11
4: StackMap locals: java.lang.String
StackMap stack:
invokestatic com.sun.javafx.tk.Toolkit.getImageAccessor:()Lcom/sun/javafx/tk/Toolkit$ImageAccessor;
aload 1
invokeinterface com.sun.javafx.tk.Toolkit$ImageAccessor.getPlatformImage:(Ljavafx/scene/image/Image;)Ljava/lang/Object;
checkcast com.sun.prism.Image
5: astore 3
start local 3 6: aload 3
invokestatic com.sun.javafx.tk.quantum.PixelUtils.imageToPixels:(Lcom/sun/prism/Image;)Lcom/sun/glass/ui/Pixels;
astore 4
start local 4 7: aload 4
ifnull 10
8: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
ldc "application/x-java-rawimage"
aload 4
invokevirtual com.sun.glass.ui.ClipboardAssistance.setData:(Ljava/lang/String;Ljava/lang/Object;)V
9: iconst_1
ireturn
10: StackMap locals: com.sun.prism.Image com.sun.glass.ui.Pixels
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
ldc "text/uri-list"
aload 2
invokevirtual com.sun.glass.ui.ClipboardAssistance.setData:(Ljava/lang/String;Ljava/lang/Object;)V
12: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 13 1 image Ljavafx/scene/image/Image;
3 13 2 url Ljava/lang/String;
6 11 3 prismImage Lcom/sun/prism/Image;
7 11 4 pixels Lcom/sun/glass/ui/Pixels;
MethodParameters:
Name Flags
image final
public java.util.Set<javafx.scene.input.DataFormat> getContentTypes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
ifnull 7
2: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard java.util.Set top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.util.Pair
astore 2
start local 2 4: aload 1
aload 2
invokevirtual javafx.util.Pair.getKey:()Ljava/lang/Object;
checkcast javafx.scene.input.DataFormat
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
areturn
7: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard java.util.Set
StackMap stack:
getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
ifnull 8
getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
goto 9
StackMap locals:
StackMap stack:
8: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
9: StackMap locals:
StackMap stack: com.sun.glass.ui.ClipboardAssistance
astore 2
start local 2 10: aload 2
invokevirtual com.sun.glass.ui.ClipboardAssistance.getMimeTypes:()[Ljava/lang/String;
astore 3
start local 3 11: aload 3
ifnonnull 13
12: aload 1
areturn
13: StackMap locals: com.sun.glass.ui.ClipboardAssistance java.lang.String[]
StackMap stack:
aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 36
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard java.util.Set com.sun.glass.ui.ClipboardAssistance java.lang.String[] top int int java.lang.String[]
StackMap stack:
14: aload 7
iload 5
aaload
astore 4
start local 4 15: aload 4
ldc "application/x-java-rawimage"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
16: aload 1
getstatic javafx.scene.input.DataFormat.IMAGE:Ljavafx/scene/input/DataFormat;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
17: goto 35
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard java.util.Set com.sun.glass.ui.ClipboardAssistance java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
18: aload 4
ldc "text/uri-list"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
19: aload 1
getstatic javafx.scene.input.DataFormat.URL:Ljavafx/scene/input/DataFormat;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
20: goto 35
StackMap locals:
StackMap stack:
21: aload 4
ldc "application/x-java-file-list"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 24
22: aload 1
getstatic javafx.scene.input.DataFormat.FILES:Ljavafx/scene/input/DataFormat;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
23: goto 35
StackMap locals:
StackMap stack:
24: aload 4
ldc "text/html"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 31
25: aload 1
getstatic javafx.scene.input.DataFormat.HTML:Ljavafx/scene/input/DataFormat;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
26: aload 0
aload 2
ldc "text/html"
invokevirtual com.sun.glass.ui.ClipboardAssistance.getData:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.parseIMG:(Ljava/lang/Object;)Ljava/lang/String;
ifnull 35
27: aload 1
getstatic javafx.scene.input.DataFormat.IMAGE:Ljavafx/scene/input/DataFormat;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
28: goto 35
StackMap locals:
StackMap stack: java.lang.Exception
29: pop
30: goto 35
31: StackMap locals:
StackMap stack:
aload 4
invokestatic javafx.scene.input.DataFormat.lookupMimeType:(Ljava/lang/String;)Ljavafx/scene/input/DataFormat;
astore 8
start local 8 32: aload 8
ifnonnull 34
33: new javafx.scene.input.DataFormat
dup
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 4
aastore
invokespecial javafx.scene.input.DataFormat.<init>:([Ljava/lang/String;)V
astore 8
34: StackMap locals: javafx.scene.input.DataFormat
StackMap stack:
aload 1
aload 8
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 4 35: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard java.util.Set com.sun.glass.ui.ClipboardAssistance java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
36: iload 5
iload 6
if_icmplt 14
37: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
1 38 1 set Ljava/util/Set<Ljavafx/scene/input/DataFormat;>;
4 5 2 pair Ljavafx/util/Pair<Ljavafx/scene/input/DataFormat;Ljava/lang/Object;>;
10 38 2 assistant Lcom/sun/glass/ui/ClipboardAssistance;
11 38 3 types [Ljava/lang/String;
15 35 4 t Ljava/lang/String;
32 35 8 dataFormat Ljavafx/scene/input/DataFormat;
Exception table:
from to target type
26 28 29 Class java.lang.Exception
Signature: ()Ljava/util/Set<Ljavafx/scene/input/DataFormat;>;
public boolean hasContent(javafx.scene.input.DataFormat);
descriptor: (Ljavafx/scene/input/DataFormat;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
ifnull 7
1: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.util.Pair
astore 2
start local 2 3: aload 2
invokevirtual javafx.util.Pair.getKey:()Ljava/lang/Object;
aload 1
if_acmpne 5
4: iconst_1
ireturn
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iconst_0
ireturn
7: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat
StackMap stack:
getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
ifnull 8
getstatic com.sun.javafx.tk.quantum.QuantumClipboard.currentDragboard:Lcom/sun/glass/ui/ClipboardAssistance;
goto 9
StackMap locals:
StackMap stack:
8: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
9: StackMap locals:
StackMap stack: com.sun.glass.ui.ClipboardAssistance
astore 2
start local 2 10: aload 2
invokevirtual com.sun.glass.ui.ClipboardAssistance.getMimeTypes:()[Ljava/lang/String;
astore 3
start local 3 11: aload 3
ifnonnull 13
12: iconst_0
ireturn
13: StackMap locals: com.sun.glass.ui.ClipboardAssistance java.lang.String[]
StackMap stack:
aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 32
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat com.sun.glass.ui.ClipboardAssistance java.lang.String[] top int int java.lang.String[]
StackMap stack:
14: aload 7
iload 5
aaload
astore 4
start local 4 15: aload 1
getstatic javafx.scene.input.DataFormat.IMAGE:Ljavafx/scene/input/DataFormat;
if_acmpne 18
16: aload 4
ldc "application/x-java-rawimage"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
17: iconst_1
ireturn
18: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat com.sun.glass.ui.ClipboardAssistance java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aload 1
getstatic javafx.scene.input.DataFormat.URL:Ljavafx/scene/input/DataFormat;
if_acmpne 21
19: aload 4
ldc "text/uri-list"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
20: iconst_1
ireturn
21: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.DataFormat.IMAGE:Ljavafx/scene/input/DataFormat;
if_acmpne 25
22: aload 4
ldc "text/html"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 25
23: aload 0
aload 2
ldc "text/html"
invokevirtual com.sun.glass.ui.ClipboardAssistance.getData:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.parseIMG:(Ljava/lang/Object;)Ljava/lang/String;
ifnull 25
24: iconst_1
ireturn
25: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.DataFormat.FILES:Ljavafx/scene/input/DataFormat;
if_acmpne 28
26: aload 4
ldc "application/x-java-file-list"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 28
27: iconst_1
ireturn
28: StackMap locals:
StackMap stack:
aload 4
invokestatic javafx.scene.input.DataFormat.lookupMimeType:(Ljava/lang/String;)Ljavafx/scene/input/DataFormat;
astore 8
start local 8 29: aload 8
ifnull 31
aload 8
aload 1
invokevirtual javafx.scene.input.DataFormat.equals:(Ljava/lang/Object;)Z
ifeq 31
30: iconst_1
ireturn
end local 8 end local 4 31: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.scene.input.DataFormat com.sun.glass.ui.ClipboardAssistance java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
32: iload 5
iload 6
if_icmplt 14
33: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 34 1 dataFormat Ljavafx/scene/input/DataFormat;
3 5 2 pair Ljavafx/util/Pair<Ljavafx/scene/input/DataFormat;Ljava/lang/Object;>;
10 34 2 assistant Lcom/sun/glass/ui/ClipboardAssistance;
11 34 3 stypes [Ljava/lang/String;
15 31 4 t Ljava/lang/String;
29 31 8 found Ljavafx/scene/input/DataFormat;
MethodParameters:
Name Flags
dataFormat
private static java.nio.ByteBuffer prepareImage(javafx.scene.image.Image);
descriptor: (Ljavafx/scene/image/Image;)Ljava/nio/ByteBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.image.Image.getPixelReader:()Ljavafx/scene/image/PixelReader;
astore 1
start local 1 1: aload 0
invokevirtual javafx.scene.image.Image.getWidth:()D
d2i
istore 2
start local 2 2: aload 0
invokevirtual javafx.scene.image.Image.getHeight:()D
d2i
istore 3
start local 3 3: iload 2
iload 3
imul
iconst_4
imul
newarray 8
astore 4
start local 4 4: aload 1
iconst_0
iconst_0
iload 2
iload 3
invokestatic javafx.scene.image.WritablePixelFormat.getByteBgraInstance:()Ljavafx/scene/image/WritablePixelFormat;
aload 4
iconst_0
iload 2
iconst_4
imul
invokeinterface javafx.scene.image.PixelReader.getPixels:(IIIILjavafx/scene/image/WritablePixelFormat;[BII)V
5: bipush 8
iload 2
iload 3
imul
iconst_4
imul
iadd
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 5
start local 5 6: aload 5
iload 2
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
pop
7: aload 5
iload 3
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
pop
8: aload 5
aload 4
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
9: aload 5
areturn
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 10 0 image Ljavafx/scene/image/Image;
1 10 1 pr Ljavafx/scene/image/PixelReader;
2 10 2 w I
3 10 3 h I
4 10 4 pixels [B
6 10 5 dragImageBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
image
private static java.nio.ByteBuffer prepareOffset(double, double);
descriptor: (DD)Ljava/nio/ByteBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 2 0: bipush 8
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 4
start local 4 1: aload 4
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
pop
2: aload 4
dload 0
d2i
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
pop
3: aload 4
dload 2
d2i
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
pop
4: aload 4
areturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 offsetX D
0 5 2 offsetY D
1 5 4 dragImageOffset Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
offsetX
offsetY
private boolean putContentToPeer(javafx.util.Pair<javafx.scene.input.DataFormat, java.lang.Object>[]);
descriptor: ([Ljavafx/util/Pair;)Z
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=5, locals=14, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
invokevirtual com.sun.glass.ui.ClipboardAssistance.emptyCache:()V
1: iconst_0
istore 2
start local 2 2: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 69
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int top int int javafx.util.Pair[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
invokevirtual javafx.util.Pair.getKey:()Ljava/lang/Object;
checkcast javafx.scene.input.DataFormat
astore 7
start local 7 5: aload 3
invokevirtual javafx.util.Pair.getValue:()Ljava/lang/Object;
astore 8
start local 8 6: aload 7
getstatic javafx.scene.input.DataFormat.IMAGE:Ljavafx/scene/input/DataFormat;
if_acmpne 9
7: aload 0
aload 8
invokestatic com.sun.javafx.tk.quantum.QuantumClipboard.convertObjectToImage:(Ljava/lang/Object;)Ljavafx/scene/image/Image;
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.placeImage:(Ljavafx/scene/image/Image;)Z
istore 2
8: goto 68
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int javafx.util.Pair int int javafx.util.Pair[] javafx.scene.input.DataFormat java.lang.Object
StackMap stack:
9: aload 7
getstatic javafx.scene.input.DataFormat.URL:Ljavafx/scene/input/DataFormat;
if_acmpne 13
10: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
ldc "text/uri-list"
aload 8
invokevirtual com.sun.glass.ui.ClipboardAssistance.setData:(Ljava/lang/String;Ljava/lang/Object;)V
11: iconst_1
istore 2
12: goto 68
StackMap locals:
StackMap stack:
13: aload 7
getstatic javafx.scene.input.DataFormat.RTF:Ljavafx/scene/input/DataFormat;
if_acmpne 17
14: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
ldc "text/rtf"
aload 8
invokevirtual com.sun.glass.ui.ClipboardAssistance.setData:(Ljava/lang/String;Ljava/lang/Object;)V
15: iconst_1
istore 2
16: goto 68
StackMap locals:
StackMap stack:
17: aload 7
getstatic javafx.scene.input.DataFormat.FILES:Ljavafx/scene/input/DataFormat;
if_acmpne 29
18: aload 8
checkcast java.util.List
astore 9
start local 9 19: aload 9
invokeinterface java.util.List.size:()I
ifeq 68
20: aload 9
invokeinterface java.util.List.size:()I
anewarray java.lang.String
astore 10
start local 10 21: iconst_0
istore 11
start local 11 22: aload 9
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
goto 25
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int javafx.util.Pair int int javafx.util.Pair[] javafx.scene.input.DataFormat java.lang.Object java.util.List java.lang.String[] int top java.util.Iterator
StackMap stack:
23: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 12
start local 12 24: aload 10
iload 11
iinc 11 1
aload 12
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
end local 12 25: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
26: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
ldc "application/x-java-file-list"
aload 10
invokevirtual com.sun.glass.ui.ClipboardAssistance.setData:(Ljava/lang/String;Ljava/lang/Object;)V
27: iconst_1
istore 2
end local 11 end local 10 end local 9 28: goto 68
29: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int javafx.util.Pair int int javafx.util.Pair[] javafx.scene.input.DataFormat java.lang.Object
StackMap stack:
aload 8
instanceof java.io.Serializable
ifeq 40
30: aload 7
getstatic javafx.scene.input.DataFormat.PLAIN_TEXT:Ljavafx/scene/input/DataFormat;
if_acmpeq 31
aload 7
getstatic javafx.scene.input.DataFormat.HTML:Ljavafx/scene/input/DataFormat;
if_acmpne 32
31: StackMap locals:
StackMap stack:
aload 8
instanceof java.lang.String
ifne 63
32: StackMap locals:
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 9
start local 9 33: new java.io.ObjectOutputStream
dup
aload 9
invokespecial java.io.ObjectOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 10
start local 10 34: aload 10
aload 8
invokeinterface java.io.ObjectOutput.writeObject:(Ljava/lang/Object;)V
35: aload 10
invokeinterface java.io.ObjectOutput.close:()V
36: aload 9
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 8
end local 10 end local 9 37: goto 63
StackMap locals:
StackMap stack: java.io.IOException
38: astore 9
start local 9 39: new java.lang.IllegalArgumentException
dup
ldc "Could not serialize the data"
aload 9
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 40: StackMap locals:
StackMap stack:
aload 8
instanceof java.io.InputStream
ifeq 59
41: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 9
start local 9 42: aconst_null
astore 10
aconst_null
astore 11
43: aload 8
checkcast java.io.InputStream
astore 12
start local 12 44: aload 12
invokevirtual java.io.InputStream.read:()I
istore 13
start local 13 45: goto 48
46: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int javafx.util.Pair int int javafx.util.Pair[] javafx.scene.input.DataFormat java.lang.Object java.io.ByteArrayOutputStream java.lang.Throwable java.lang.Throwable java.io.InputStream int
StackMap stack:
aload 9
iload 13
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
47: aload 12
invokevirtual java.io.InputStream.read:()I
istore 13
48: StackMap locals:
StackMap stack:
iload 13
iconst_m1
if_icmpne 46
end local 13 49: aload 12
ifnull 57
aload 12
invokevirtual java.io.InputStream.close:()V
goto 57
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int javafx.util.Pair int int javafx.util.Pair[] javafx.scene.input.DataFormat java.lang.Object java.io.ByteArrayOutputStream java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
50: astore 10
aload 12
ifnull 51
aload 12
invokevirtual java.io.InputStream.close:()V
end local 12 StackMap locals:
StackMap stack:
51: aload 10
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
52: astore 11
aload 10
ifnonnull 53
aload 11
astore 10
goto 54
StackMap locals:
StackMap stack:
53: aload 10
aload 11
if_acmpeq 54
aload 10
aload 11
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
54: aload 10
athrow
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int javafx.util.Pair int int javafx.util.Pair[] javafx.scene.input.DataFormat java.lang.Object java.io.ByteArrayOutputStream
StackMap stack: java.io.IOException
55: astore 10
start local 10 56: new java.lang.IllegalArgumentException
dup
ldc "Could not serialize the data"
aload 10
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 10 57: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 8
end local 9 58: goto 63
StackMap locals:
StackMap stack:
59: aload 8
instanceof java.nio.ByteBuffer
ifne 63
60: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Only serializable objects or ByteBuffer can be used as data with data format "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
61: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
62: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
63: StackMap locals:
StackMap stack:
aload 7
invokevirtual javafx.scene.input.DataFormat.getIdentifiers:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 67
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int javafx.util.Pair int int javafx.util.Pair[] javafx.scene.input.DataFormat java.lang.Object top java.util.Iterator
StackMap stack:
64: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 65: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
aload 9
aload 8
invokevirtual com.sun.glass.ui.ClipboardAssistance.setData:(Ljava/lang/String;Ljava/lang/Object;)V
66: iconst_1
istore 2
end local 9 67: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 64
end local 8 end local 7 end local 3 68: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int top int int javafx.util.Pair[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
69: iload 4
iload 5
if_icmplt 3
70: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dragImage:Ljavafx/scene/image/Image;
ifnull 75
71: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dragImage:Ljavafx/scene/image/Image;
invokestatic com.sun.javafx.tk.quantum.QuantumClipboard.prepareImage:(Ljavafx/scene/image/Image;)Ljava/nio/ByteBuffer;
astore 3
start local 3 72: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetX:D
aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetY:D
invokestatic com.sun.javafx.tk.quantum.QuantumClipboard.prepareOffset:(DD)Ljava/nio/ByteBuffer;
astore 4
start local 4 73: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
ldc "application/x-java-drag-image"
aload 3
invokevirtual com.sun.glass.ui.ClipboardAssistance.setData:(Ljava/lang/String;Ljava/lang/Object;)V
74: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
ldc "application/x-java-drag-image-offset"
aload 4
invokevirtual com.sun.glass.ui.ClipboardAssistance.setData:(Ljava/lang/String;Ljava/lang/Object;)V
end local 4 end local 3 75: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 76 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 76 1 content [Ljavafx/util/Pair;
2 76 2 dataSet Z
4 68 3 pair Ljavafx/util/Pair<Ljavafx/scene/input/DataFormat;Ljava/lang/Object;>;
5 68 7 dataFormat Ljavafx/scene/input/DataFormat;
6 68 8 data Ljava/lang/Object;
19 28 9 list Ljava/util/List<Ljava/io/File;>;
21 28 10 paths [Ljava/lang/String;
22 28 11 i I
24 25 12 f Ljava/io/File;
33 37 9 bos Ljava/io/ByteArrayOutputStream;
34 37 10 out Ljava/io/ObjectOutput;
39 40 9 e Ljava/io/IOException;
42 58 9 bout Ljava/io/ByteArrayOutputStream;
44 51 12 is Ljava/io/InputStream;
45 49 13 i I
56 57 10 e Ljava/io/IOException;
65 67 9 mimeType Ljava/lang/String;
72 75 3 imageBuffer Ljava/nio/ByteBuffer;
73 75 4 offsetBuffer Ljava/nio/ByteBuffer;
Exception table:
from to target type
32 37 38 Class java.io.IOException
44 49 50 any
43 52 52 any
42 55 55 Class java.io.IOException
Signature: ([Ljavafx/util/Pair<Ljavafx/scene/input/DataFormat;Ljava/lang/Object;>;)Z
MethodParameters:
Name Flags
content
public boolean putContent(javafx.util.Pair<javafx.scene.input.DataFormat, java.lang.Object>[]);
descriptor: ([Ljavafx/util/Pair;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 9
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] top int int javafx.util.Pair[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
invokevirtual javafx.util.Pair.getKey:()Ljava/lang/Object;
checkcast javafx.scene.input.DataFormat
astore 6
start local 6 3: aload 2
invokevirtual javafx.util.Pair.getValue:()Ljava/lang/Object;
astore 7
start local 7 4: aload 6
ifnonnull 6
5: new java.lang.NullPointerException
dup
ldc "Clipboard.putContent: null data format"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] javafx.util.Pair int int javafx.util.Pair[] javafx.scene.input.DataFormat java.lang.Object
StackMap stack:
aload 7
ifnonnull 8
7: new java.lang.NullPointerException
dup
ldc "Clipboard.putContent: null data"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 end local 2 8: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] top int int javafx.util.Pair[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 1
10: iconst_0
istore 2
start local 2 11: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.isCaching:Z
ifeq 21
12: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
ifnonnull 14
13: aload 0
new java.util.ArrayList
dup
aload 1
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
14: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int
StackMap stack:
aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 19
StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int top int int javafx.util.Pair[]
StackMap stack:
15: aload 6
iload 4
aaload
astore 3
start local 3 16: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: iconst_1
istore 2
end local 3 18: iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
iload 5
if_icmplt 15
20: goto 23
21: StackMap locals: com.sun.javafx.tk.quantum.QuantumClipboard javafx.util.Pair[] int
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.javafx.tk.quantum.QuantumClipboard.putContentToPeer:([Ljavafx/util/Pair;)Z
istore 2
22: aload 0
getfield com.sun.javafx.tk.quantum.QuantumClipboard.systemAssistant:Lcom/sun/glass/ui/ClipboardAssistance;
invokevirtual com.sun.glass.ui.ClipboardAssistance.flush:()V
23: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
0 24 1 content [Ljavafx/util/Pair;
2 8 2 pair Ljavafx/util/Pair<Ljavafx/scene/input/DataFormat;Ljava/lang/Object;>;
3 8 6 format Ljavafx/scene/input/DataFormat;
4 8 7 data Ljava/lang/Object;
11 24 2 dataSet Z
16 18 3 pair Ljavafx/util/Pair<Ljavafx/scene/input/DataFormat;Ljava/lang/Object;>;
Signature: ([Ljavafx/util/Pair<Ljavafx/scene/input/DataFormat;Ljava/lang/Object;>;)Z
MethodParameters:
Name Flags
content
private void clearCache();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dataCache:Ljava/util/List;
1: aload 0
aconst_null
putfield com.sun.javafx.tk.quantum.QuantumClipboard.transferModesCache:Ljava/util/Set;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
private void clearDragView();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dragImage:Ljavafx/scene/image/Image;
1: aload 0
aload 0
dconst_0
dup2_x1
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetY:D
putfield com.sun.javafx.tk.quantum.QuantumClipboard.dragOffsetX:D
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/tk/quantum/QuantumClipboard;
static int[] $SWITCH_TABLE$javafx$scene$input$TransferMode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.javafx.tk.quantum.QuantumClipboard.$SWITCH_TABLE$javafx$scene$input$TransferMode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javafx.scene.input.TransferMode.values:()[Ljavafx/scene/input/TransferMode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javafx.scene.input.TransferMode.COPY:Ljavafx/scene/input/TransferMode;
invokevirtual javafx.scene.input.TransferMode.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javafx.scene.input.TransferMode.LINK:Ljavafx/scene/input/TransferMode;
invokevirtual javafx.scene.input.TransferMode.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javafx.scene.input.TransferMode.MOVE:Ljavafx/scene/input/TransferMode;
invokevirtual javafx.scene.input.TransferMode.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic com.sun.javafx.tk.quantum.QuantumClipboard.$SWITCH_TABLE$javafx$scene$input$TransferMode:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "QuantumClipboard.java"
NestMembers:
com.sun.javafx.tk.quantum.QuantumClipboard$1
InnerClasses:
public abstract ImageAccessor = com.sun.javafx.tk.Toolkit$ImageAccessor of com.sun.javafx.tk.Toolkit
com.sun.javafx.tk.quantum.QuantumClipboard$1