public class com.sun.javafx.embed.swing.CachingTransferable implements java.awt.datatransfer.Transferable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.embed.swing.CachingTransferable
super_class: java.lang.Object
{
private java.util.Map<java.lang.String, java.lang.Object> mimeType2Data;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic java.util.Collections.EMPTY_MAP:Ljava/util/Map;
putfield com.sun.javafx.embed.swing.CachingTransferable.mimeType2Data:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/embed/swing/CachingTransferable;
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.javafx.embed.swing.DataFlavorUtils.getFxMimeType:(Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
aload 0
aload 2
invokevirtual com.sun.javafx.embed.swing.CachingTransferable.getData:(Ljava/lang/String;)Ljava/lang/Object;
2: invokestatic com.sun.javafx.embed.swing.DataFlavorUtils.adjustFxData:(Ljava/awt/datatransfer/DataFlavor;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/embed/swing/CachingTransferable;
0 3 1 flavor Ljava/awt/datatransfer/DataFlavor;
1 3 2 mimeType Ljava/lang/String;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
flavor final
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.embed.swing.CachingTransferable.getMimeTypes:()[Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic com.sun.javafx.embed.swing.DataFlavorUtils.getDataFlavors:([Ljava/lang/String;)[Ljava/awt/datatransfer/DataFlavor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/embed/swing/CachingTransferable;
1 2 1 mimeTypes [Ljava/lang/String;
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
invokestatic com.sun.javafx.embed.swing.DataFlavorUtils.getFxMimeType:(Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/String;
2: invokevirtual com.sun.javafx.embed.swing.CachingTransferable.isMimeTypeAvailable:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/embed/swing/CachingTransferable;
0 3 1 flavor Ljava/awt/datatransfer/DataFlavor;
MethodParameters:
Name Flags
flavor final
public void updateData(java.awt.datatransfer.Transferable, boolean);
descriptor: (Ljava/awt/datatransfer/Transferable;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.awt.datatransfer.Transferable.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
1: invokestatic com.sun.javafx.embed.swing.DataFlavorUtils.adjustSwingDataFlavors:([Ljava/awt/datatransfer/DataFlavor;)Ljava/util/Map;
2: astore 3
start local 3 3: aload 0
aload 1
aload 3
4: iload 2
5: invokestatic com.sun.javafx.embed.swing.DataFlavorUtils.readAllData:(Ljava/awt/datatransfer/Transferable;Ljava/util/Map;Z)Ljava/util/Map;
putfield com.sun.javafx.embed.swing.CachingTransferable.mimeType2Data:Ljava/util/Map;
6: goto 9
StackMap locals: com.sun.javafx.embed.swing.CachingTransferable java.awt.datatransfer.Transferable int java.util.Map
StackMap stack: java.lang.Exception
7: pop
8: aload 0
getstatic java.util.Collections.EMPTY_MAP:Ljava/util/Map;
putfield com.sun.javafx.embed.swing.CachingTransferable.mimeType2Data:Ljava/util/Map;
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/javafx/embed/swing/CachingTransferable;
0 10 1 t Ljava/awt/datatransfer/Transferable;
0 10 2 fetchData Z
3 10 3 mimeType2DataFlavor Ljava/util/Map<Ljava/lang/String;Ljava/awt/datatransfer/DataFlavor;>;
Exception table:
from to target type
3 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
t
fetchData
public void updateData(javafx.scene.input.Clipboard, boolean);
descriptor: (Ljavafx/scene/input/Clipboard;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.javafx.embed.swing.CachingTransferable.mimeType2Data:Ljava/util/Map;
1: aload 1
invokevirtual javafx.scene.input.Clipboard.getContentTypes:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.sun.javafx.embed.swing.CachingTransferable javafx.scene.input.Clipboard int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.input.DataFormat
astore 3
start local 3 3: aload 0
getfield com.sun.javafx.embed.swing.CachingTransferable.mimeType2Data:Ljava/util/Map;
aload 3
invokestatic com.sun.javafx.embed.swing.DataFlavorUtils.getMimeType:(Ljavafx/scene/input/DataFormat;)Ljava/lang/String;
4: iload 2
ifeq 5
aload 1
aload 3
invokevirtual javafx.scene.input.Clipboard.getContent:(Ljavafx/scene/input/DataFormat;)Ljava/lang/Object;
goto 6
StackMap locals: com.sun.javafx.embed.swing.CachingTransferable javafx.scene.input.Clipboard int javafx.scene.input.DataFormat java.util.Iterator
StackMap stack: java.util.Map java.lang.String
5: aconst_null
6: StackMap locals: com.sun.javafx.embed.swing.CachingTransferable javafx.scene.input.Clipboard int javafx.scene.input.DataFormat java.util.Iterator
StackMap stack: java.util.Map java.lang.String java.lang.Object
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 7: StackMap locals: com.sun.javafx.embed.swing.CachingTransferable javafx.scene.input.Clipboard int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/embed/swing/CachingTransferable;
0 9 1 cb Ljavafx/scene/input/Clipboard;
0 9 2 fetchData Z
3 7 3 f Ljavafx/scene/input/DataFormat;
MethodParameters:
Name Flags
cb
fetchData
public java.lang.Object getData(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.embed.swing.CachingTransferable.mimeType2Data:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/embed/swing/CachingTransferable;
0 1 1 mimeType Ljava/lang/String;
MethodParameters:
Name Flags
mimeType final
public java.lang.String[] getMimeTypes();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.embed.swing.CachingTransferable.mimeType2Data:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/embed/swing/CachingTransferable;
public boolean isMimeTypeAvailable(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.embed.swing.CachingTransferable.getMimeTypes:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/embed/swing/CachingTransferable;
0 1 1 mimeType Ljava/lang/String;
MethodParameters:
Name Flags
mimeType final
}
SourceFile: "CachingTransferable.java"