public class sun.awt.motif.MDataTransferer extends sun.awt.datatransfer.DataTransferer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.motif.MDataTransferer
super_class: sun.awt.datatransfer.DataTransferer
{
private static final long FILE_NAME_ATOM;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long DT_NET_FILE_ATOM;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long PNG_ATOM;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long JFIF_ATOM;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static sun.awt.motif.MDataTransferer transferer;
descriptor: Lsun/awt/motif/MDataTransferer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.imageio.ImageTypeSpecifier defaultSpecifier;
descriptor: Ljavax/imageio/ImageTypeSpecifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "FILE_NAME"
invokestatic sun.awt.motif.MDataTransferer.getAtomForTarget:(Ljava/lang/String;)J
putstatic sun.awt.motif.MDataTransferer.FILE_NAME_ATOM:J
1: ldc "_DT_NETFILE"
invokestatic sun.awt.motif.MDataTransferer.getAtomForTarget:(Ljava/lang/String;)J
putstatic sun.awt.motif.MDataTransferer.DT_NET_FILE_ATOM:J
2: ldc "PNG"
invokestatic sun.awt.motif.MDataTransferer.getAtomForTarget:(Ljava/lang/String;)J
putstatic sun.awt.motif.MDataTransferer.PNG_ATOM:J
3: ldc "JFIF"
invokestatic sun.awt.motif.MDataTransferer.getAtomForTarget:(Ljava/lang/String;)J
putstatic sun.awt.motif.MDataTransferer.JFIF_ATOM:J
4: aconst_null
putstatic sun.awt.motif.MDataTransferer.defaultSpecifier:Ljavax/imageio/ImageTypeSpecifier;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.datatransfer.DataTransferer.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MDataTransferer;
static sun.awt.motif.MDataTransferer getInstanceImpl();
descriptor: ()Lsun/awt/motif/MDataTransferer;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic sun.awt.motif.MDataTransferer.transferer:Lsun/awt/motif/MDataTransferer;
ifnonnull 8
1: ldc Lsun/awt/motif/MDataTransferer;
dup
astore 0
monitorenter
2: getstatic sun.awt.motif.MDataTransferer.transferer:Lsun/awt/motif/MDataTransferer;
ifnonnull 4
3: new sun.awt.motif.MDataTransferer
dup
invokespecial sun.awt.motif.MDataTransferer.<init>:()V
putstatic sun.awt.motif.MDataTransferer.transferer:Lsun/awt/motif/MDataTransferer;
4: StackMap locals: java.lang.Class
StackMap stack:
aload 0
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 0
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
getstatic sun.awt.motif.MDataTransferer.transferer:Lsun/awt/motif/MDataTransferer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 5 6 any
6 7 6 any
public java.lang.String getDefaultUnicodeEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "iso-10646-ucs-2"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MDataTransferer;
public boolean isLocaleDependentTextFormat(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MDataTransferer;
0 1 1 format J
MethodParameters:
Name Flags
format
public boolean isTextFormat(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokespecial sun.awt.datatransfer.DataTransferer.isTextFormat:(J)Z
ifne 3
1: aload 0
lload 1
ldc "text"
invokevirtual sun.awt.motif.MDataTransferer.isMimeFormat:(JLjava/lang/String;)Z
ifne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/motif/MDataTransferer;
0 4 1 format J
MethodParameters:
Name Flags
format
protected java.lang.String getCharsetForTextFormat(java.lang.Long);
descriptor: (Ljava/lang/Long;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Long.longValue:()J
lstore 2
start local 2 1: aload 0
lload 2
ldc "text"
invokevirtual sun.awt.motif.MDataTransferer.isMimeFormat:(JLjava/lang/String;)Z
ifeq 9
2: aload 0
lload 2
invokevirtual sun.awt.motif.MDataTransferer.getNativeForFormat:(J)Ljava/lang/String;
astore 4
start local 4 3: new java.awt.datatransfer.DataFlavor
dup
aload 4
aconst_null
invokespecial java.awt.datatransfer.DataFlavor.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 4: aload 5
invokestatic sun.awt.datatransfer.DataTransferer.doesSubtypeSupportCharset:(Ljava/awt/datatransfer/DataFlavor;)Z
ifne 6
5: aconst_null
areturn
6: StackMap locals: long java.lang.String java.awt.datatransfer.DataFlavor
StackMap stack:
aload 5
ldc "charset"
invokevirtual java.awt.datatransfer.DataFlavor.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 7: aload 6
ifnull 9
8: aload 6
areturn
end local 6 end local 5 end local 4 9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.awt.datatransfer.DataTransferer.getCharsetForTextFormat:(Ljava/lang/Long;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/motif/MDataTransferer;
0 10 1 lFormat Ljava/lang/Long;
1 10 2 format J
3 9 4 nat Ljava/lang/String;
4 9 5 df Ljava/awt/datatransfer/DataFlavor;
7 9 6 charset Ljava/lang/String;
MethodParameters:
Name Flags
lFormat
public boolean isFileFormat(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
getstatic sun.awt.motif.MDataTransferer.FILE_NAME_ATOM:J
lcmp
ifeq 1
lload 1
getstatic sun.awt.motif.MDataTransferer.DT_NET_FILE_ATOM:J
lcmp
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MDataTransferer;
0 2 1 format J
MethodParameters:
Name Flags
format
public boolean isImageFormat(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
getstatic sun.awt.motif.MDataTransferer.PNG_ATOM:J
lcmp
ifeq 3
lload 1
getstatic sun.awt.motif.MDataTransferer.JFIF_ATOM:J
lcmp
ifeq 3
1: aload 0
lload 1
ldc "image"
invokevirtual sun.awt.motif.MDataTransferer.isMimeFormat:(JLjava/lang/String;)Z
ifne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/motif/MDataTransferer;
0 4 1 format J
MethodParameters:
Name Flags
format
protected java.lang.Long getFormatForNativeAsLong(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Long;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.awt.motif.MDataTransferer.getAtomForTarget:(Ljava/lang/String;)J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
ifgt 3
2: new java.lang.InternalError
dup
ldc "Cannot register a target"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: long
StackMap stack:
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/motif/MDataTransferer;
0 4 1 str Ljava/lang/String;
1 4 2 atom J
MethodParameters:
Name Flags
str
protected java.lang.String getNativeForFormat(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic sun.awt.motif.MDataTransferer.getTargetNameForAtom:(J)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MDataTransferer;
0 1 1 format J
MethodParameters:
Name Flags
format
public sun.awt.datatransfer.ToolkitThreadBlockedHandler getToolkitThreadBlockedHandler();
descriptor: ()Lsun/awt/datatransfer/ToolkitThreadBlockedHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.awt.motif.MToolkitThreadBlockedHandler.getToolkitThreadBlockedHandler:()Lsun/awt/datatransfer/ToolkitThreadBlockedHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MDataTransferer;
static native long getAtomForTarget(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
name
private static native java.lang.String getTargetNameForAtom(long);
descriptor: (J)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
atom
protected byte[] imageToPlatformBytes(java.awt.Image, long);
descriptor: (Ljava/awt/Image;J)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 4
start local 4 1: lload 2
getstatic sun.awt.motif.MDataTransferer.PNG_ATOM:J
lcmp
ifne 4
2: ldc "image/png"
astore 4
3: goto 14
StackMap locals: java.lang.String
StackMap stack:
4: lload 2
getstatic sun.awt.motif.MDataTransferer.JFIF_ATOM:J
lcmp
ifne 7
5: ldc "image/jpeg"
astore 4
6: goto 14
7: StackMap locals:
StackMap stack:
aload 0
lload 2
invokevirtual sun.awt.motif.MDataTransferer.getNativeForFormat:(J)Ljava/lang/String;
astore 5
start local 5 8: new java.awt.datatransfer.DataFlavor
dup
aload 5
invokespecial java.awt.datatransfer.DataFlavor.<init>:(Ljava/lang/String;)V
astore 6
start local 6 9: aload 6
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()Ljava/lang/String;
astore 7
start local 7 10: ldc "image"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
11: new java.lang.StringBuilder
dup
aload 6
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()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;
aload 6
invokevirtual java.awt.datatransfer.DataFlavor.getSubType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
end local 7 end local 6 end local 5 12: goto 14
StackMap locals:
StackMap stack: java.lang.Exception
13: pop
14: StackMap locals:
StackMap stack:
aload 4
ifnull 16
15: aload 0
aload 1
aload 4
invokevirtual sun.awt.motif.MDataTransferer.imageToStandardBytes:(Ljava/awt/Image;Ljava/lang/String;)[B
areturn
16: StackMap locals:
StackMap stack:
aload 0
lload 2
invokevirtual sun.awt.motif.MDataTransferer.getNativeForFormat:(J)Ljava/lang/String;
astore 5
start local 5 17: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Translation to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc " is not supported."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/awt/motif/MDataTransferer;
0 20 1 image Ljava/awt/Image;
0 20 2 format J
1 20 4 mimeType Ljava/lang/String;
8 12 5 nat Ljava/lang/String;
9 12 6 df Ljava/awt/datatransfer/DataFlavor;
10 12 7 primaryType Ljava/lang/String;
17 20 5 nativeFormat Ljava/lang/String;
Exception table:
from to target type
7 12 13 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
image
format
protected java.awt.Image platformImageBytesOrStreamToImage(java.io.InputStream, byte[], long);
descriptor: (Ljava/io/InputStream;[BJ)Ljava/awt/Image;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 5
start local 5 1: lload 3
getstatic sun.awt.motif.MDataTransferer.PNG_ATOM:J
lcmp
ifne 4
2: ldc "image/png"
astore 5
3: goto 14
StackMap locals: java.lang.String
StackMap stack:
4: lload 3
getstatic sun.awt.motif.MDataTransferer.JFIF_ATOM:J
lcmp
ifne 7
5: ldc "image/jpeg"
astore 5
6: goto 14
7: StackMap locals:
StackMap stack:
aload 0
lload 3
invokevirtual sun.awt.motif.MDataTransferer.getNativeForFormat:(J)Ljava/lang/String;
astore 6
start local 6 8: new java.awt.datatransfer.DataFlavor
dup
aload 6
invokespecial java.awt.datatransfer.DataFlavor.<init>:(Ljava/lang/String;)V
astore 7
start local 7 9: aload 7
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()Ljava/lang/String;
astore 8
start local 8 10: ldc "image"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
11: new java.lang.StringBuilder
dup
aload 7
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()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;
aload 7
invokevirtual java.awt.datatransfer.DataFlavor.getSubType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
end local 8 end local 7 end local 6 12: goto 14
StackMap locals:
StackMap stack: java.lang.Exception
13: pop
14: StackMap locals:
StackMap stack:
aload 5
ifnull 16
15: aload 0
aload 1
aload 2
aload 5
invokevirtual sun.awt.motif.MDataTransferer.standardImageBytesOrStreamToImage:(Ljava/io/InputStream;[BLjava/lang/String;)Ljava/awt/Image;
areturn
16: StackMap locals:
StackMap stack:
aload 0
lload 3
invokevirtual sun.awt.motif.MDataTransferer.getNativeForFormat:(J)Ljava/lang/String;
astore 6
start local 6 17: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Translation from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc " is not supported."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/awt/motif/MDataTransferer;
0 20 1 inputStream Ljava/io/InputStream;
0 20 2 bytes [B
0 20 3 format J
1 20 5 mimeType Ljava/lang/String;
8 12 6 nat Ljava/lang/String;
9 12 7 df Ljava/awt/datatransfer/DataFlavor;
10 12 8 primaryType Ljava/lang/String;
17 20 6 nativeFormat Ljava/lang/String;
Exception table:
from to target type
7 12 13 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inputStream
bytes
format
private boolean isMimeFormat(long, java.lang.String);
descriptor: (JLjava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokevirtual sun.awt.motif.MDataTransferer.getNativeForFormat:(J)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.awt.datatransfer.DataFlavor
dup
aload 4
invokespecial java.awt.datatransfer.DataFlavor.<init>:(Ljava/lang/String;)V
astore 5
start local 5 4: aload 3
aload 5
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: iconst_1
ireturn
end local 5 6: StackMap locals:
StackMap stack: java.lang.Exception
pop
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/motif/MDataTransferer;
0 8 1 format J
0 8 3 primaryType Ljava/lang/String;
1 8 4 nat Ljava/lang/String;
4 6 5 df Ljava/awt/datatransfer/DataFlavor;
Exception table:
from to target type
3 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
format
primaryType
public java.util.List getPlatformMappingsForNative(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
ifnonnull 3
2: aload 2
areturn
3: StackMap locals: java.util.List
StackMap stack:
aconst_null
astore 3
start local 3 4: new java.awt.datatransfer.DataFlavor
dup
aload 1
invokespecial java.awt.datatransfer.DataFlavor.<init>:(Ljava/lang/String;)V
astore 3
5: goto 8
StackMap locals: sun.awt.motif.MDataTransferer java.lang.String java.util.List java.awt.datatransfer.DataFlavor
StackMap stack: java.lang.Exception
6: pop
7: aload 2
areturn
8: StackMap locals:
StackMap stack:
aload 3
astore 4
start local 4 9: aload 3
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()Ljava/lang/String;
astore 5
start local 5 10: new java.lang.StringBuilder
dup
aload 5
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;
aload 3
invokevirtual java.awt.datatransfer.DataFlavor.getSubType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 11: ldc "text"
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: new java.lang.StringBuilder
dup
aload 5
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;
aload 3
invokevirtual java.awt.datatransfer.DataFlavor.getSubType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
13: goto 18
StackMap locals: java.lang.Object java.lang.String java.lang.String
StackMap stack:
14: ldc "image"
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
15: aload 6
invokestatic javax.imageio.ImageIO.getImageReadersByMIMEType:(Ljava/lang/String;)Ljava/util/Iterator;
astore 7
start local 7 16: aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 18
17: aload 2
getstatic java.awt.datatransfer.DataFlavor.imageFlavor:Ljava/awt/datatransfer/DataFlavor;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 18: StackMap locals:
StackMap stack:
aload 2
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: aload 2
areturn
end local 6 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 20 0 this Lsun/awt/motif/MDataTransferer;
0 20 1 nat Ljava/lang/String;
1 20 2 flavors Ljava/util/List;
4 20 3 df Ljava/awt/datatransfer/DataFlavor;
9 20 4 value Ljava/lang/Object;
10 20 5 primaryType Ljava/lang/String;
11 20 6 baseType Ljava/lang/String;
16 18 7 readers Ljava/util/Iterator;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
nat
private javax.imageio.ImageTypeSpecifier getDefaultImageTypeSpecifier();
descriptor: ()Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=1
start local 0 0: getstatic sun.awt.motif.MDataTransferer.defaultSpecifier:Ljavax/imageio/ImageTypeSpecifier;
ifnonnull 9
1: invokestatic java.awt.image.ColorModel.getRGBdefault:()Ljava/awt/image/ColorModel;
astore 1
start local 1 2: aload 1
bipush 10
bipush 10
invokevirtual java.awt.image.ColorModel.createCompatibleWritableRaster:(II)Ljava/awt/image/WritableRaster;
3: astore 2
start local 2 4: new java.awt.image.BufferedImage
dup
aload 1
aload 2
aload 1
invokevirtual java.awt.image.ColorModel.isAlphaPremultiplied:()Z
5: aconst_null
6: invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
7: astore 3
start local 3 8: new javax.imageio.ImageTypeSpecifier
dup
aload 3
invokespecial javax.imageio.ImageTypeSpecifier.<init>:(Ljava/awt/image/RenderedImage;)V
putstatic sun.awt.motif.MDataTransferer.defaultSpecifier:Ljavax/imageio/ImageTypeSpecifier;
end local 3 end local 2 end local 1 9: StackMap locals:
StackMap stack:
getstatic sun.awt.motif.MDataTransferer.defaultSpecifier:Ljavax/imageio/ImageTypeSpecifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/motif/MDataTransferer;
2 9 1 model Ljava/awt/image/ColorModel;
4 9 2 raster Ljava/awt/image/WritableRaster;
8 9 3 bufferedImage Ljava/awt/image/BufferedImage;
public java.util.List getPlatformMappingsForFlavor(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 1
ifnonnull 3
2: aload 2
areturn
3: StackMap locals: java.util.List
StackMap stack:
aload 1
ldc "charset"
invokevirtual java.awt.datatransfer.DataFlavor.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 4: new java.lang.StringBuilder
dup
aload 1
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()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;
aload 1
invokevirtual java.awt.datatransfer.DataFlavor.getSubType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 5: aload 4
astore 5
start local 5 6: aload 3
ifnull 8
aload 1
invokestatic sun.awt.datatransfer.DataTransferer.isFlavorCharsetTextType:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 8
7: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ";charset="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
8: StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 1
invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
ifnull 13
9: aload 1
invokevirtual java.awt.datatransfer.DataFlavor.isRepresentationClassInputStream:()Z
ifne 12
10: aload 1
invokevirtual java.awt.datatransfer.DataFlavor.isRepresentationClassByteBuffer:()Z
ifne 12
11: getstatic sun.awt.motif.MDataTransferer.byteArrayClass:Ljava/lang/Class;
aload 1
invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 13
12: StackMap locals:
StackMap stack:
aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: StackMap locals:
StackMap stack:
getstatic java.awt.datatransfer.DataFlavor.imageFlavor:Ljava/awt/datatransfer/DataFlavor;
aload 1
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 32
14: invokestatic javax.imageio.ImageIO.getWriterMIMETypes:()[Ljava/lang/String;
astore 6
start local 6 15: aload 6
ifnull 43
16: iconst_0
istore 7
start local 7 17: goto 30
18: StackMap locals: java.lang.String[] int
StackMap stack:
aload 6
iload 7
aaload
invokestatic javax.imageio.ImageIO.getImageWritersByMIMEType:(Ljava/lang/String;)Ljava/util/Iterator;
19: astore 8
start local 8 20: goto 28
21: StackMap locals: java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.ImageWriter
astore 9
start local 9 22: aload 9
invokevirtual javax.imageio.ImageWriter.getOriginatingProvider:()Ljavax/imageio/spi/ImageWriterSpi;
23: astore 10
start local 10 24: aload 10
ifnull 28
25: aload 10
aload 0
invokevirtual sun.awt.motif.MDataTransferer.getDefaultImageTypeSpecifier:()Ljavax/imageio/ImageTypeSpecifier;
invokevirtual javax.imageio.spi.ImageWriterSpi.canEncodeImage:(Ljavax/imageio/ImageTypeSpecifier;)Z
ifeq 28
26: aload 2
aload 6
iload 7
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: goto 29
end local 10 end local 9 28: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
end local 8 29: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
30: iload 7
aload 6
arraylength
if_icmplt 18
end local 7 end local 6 31: goto 43
StackMap locals:
StackMap stack:
32: aload 1
invokestatic sun.awt.datatransfer.DataTransferer.isFlavorCharsetTextType:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 43
33: invokestatic sun.awt.datatransfer.DataTransferer.standardEncodings:()Ljava/util/Iterator;
astore 6
start local 6 34: getstatic java.awt.datatransfer.DataFlavor.stringFlavor:Ljava/awt/datatransfer/DataFlavor;
aload 1
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 40
35: ldc "text/plain"
astore 4
36: goto 40
37: StackMap locals: java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 38: aload 7
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 40
39: aload 2
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ";charset="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 40: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 37
41: aload 2
aload 4
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 43
42: aload 2
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 43: StackMap locals:
StackMap stack:
aload 2
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 44 0 this Lsun/awt/motif/MDataTransferer;
0 44 1 df Ljava/awt/datatransfer/DataFlavor;
1 44 2 natives Ljava/util/List;
4 44 3 charset Ljava/lang/String;
5 44 4 baseType Ljava/lang/String;
6 44 5 mimeType Ljava/lang/String;
15 31 6 mimeTypes [Ljava/lang/String;
17 31 7 i I
20 29 8 writers Ljava/util/Iterator;
22 28 9 imageWriter Ljavax/imageio/ImageWriter;
24 28 10 writerSpi Ljavax/imageio/spi/ImageWriterSpi;
34 43 6 iter Ljava/util/Iterator;
38 40 7 encoding Ljava/lang/String;
MethodParameters:
Name Flags
df
protected native java.lang.String[] dragQueryFile(byte[]);
descriptor: ([B)[Ljava/lang/String;
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
bytes
}
SourceFile: "MDataTransferer.java"