final class sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService implements sun.datatransfer.DesktopDatatransferService
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService
super_class: java.lang.Object
{
static final sun.datatransfer.DesktopDatatransferService INSTANCE;
descriptor: Lsun/datatransfer/DesktopDatatransferService;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private volatile java.awt.datatransfer.FlavorMap flavorMap;
descriptor: Ljava/awt/datatransfer/FlavorMap;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService.getDesktopService:()Lsun/datatransfer/DesktopDatatransferService;
putstatic sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService.INSTANCE:Lsun/datatransfer/DesktopDatatransferService;
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 java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/datatransfer/DataFlavorUtil$DefaultDesktopDatatransferService;
private static sun.datatransfer.DesktopDatatransferService getDesktopService();
descriptor: ()Lsun/datatransfer/DesktopDatatransferService;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc Lsun/datatransfer/DesktopDatatransferService;
aconst_null
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
1: astore 0
start local 0 2: aload 0
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 1
start local 1 3: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 5
4: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.datatransfer.DesktopDatatransferService
areturn
5: StackMap locals: java.util.ServiceLoader java.util.Iterator
StackMap stack:
new sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService
dup
invokespecial sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 6 0 loader Ljava/util/ServiceLoader<Lsun/datatransfer/DesktopDatatransferService;>;
3 6 1 iterator Ljava/util/Iterator<Lsun/datatransfer/DesktopDatatransferService;>;
public void invokeOnEventThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Runnable.run:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/datatransfer/DataFlavorUtil$DefaultDesktopDatatransferService;
0 2 1 r Ljava/lang/Runnable;
MethodParameters:
Name Flags
r
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: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/datatransfer/DataFlavorUtil$DefaultDesktopDatatransferService;
public java.awt.datatransfer.FlavorMap getFlavorMap(java.util.function.Supplier<java.awt.datatransfer.FlavorMap>);
descriptor: (Ljava/util/function/Supplier;)Ljava/awt/datatransfer/FlavorMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService.flavorMap:Ljava/awt/datatransfer/FlavorMap;
astore 2
start local 2 1: aload 2
ifnonnull 10
2: aload 0
dup
astore 3
monitorenter
3: aload 0
getfield sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService.flavorMap:Ljava/awt/datatransfer/FlavorMap;
astore 2
4: aload 2
ifnonnull 6
5: aload 0
aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.awt.datatransfer.FlavorMap
dup
astore 2
putfield sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService.flavorMap:Ljava/awt/datatransfer/FlavorMap;
6: StackMap locals: java.awt.datatransfer.FlavorMap sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService
StackMap stack:
aload 3
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 3
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/datatransfer/DataFlavorUtil$DefaultDesktopDatatransferService;
0 11 1 supplier Ljava/util/function/Supplier<Ljava/awt/datatransfer/FlavorMap;>;
1 11 2 map Ljava/awt/datatransfer/FlavorMap;
Exception table:
from to target type
3 7 8 any
8 9 8 any
Signature: (Ljava/util/function/Supplier<Ljava/awt/datatransfer/FlavorMap;>;)Ljava/awt/datatransfer/FlavorMap;
MethodParameters:
Name Flags
supplier
public boolean isDesktopPresent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/datatransfer/DataFlavorUtil$DefaultDesktopDatatransferService;
public java.util.LinkedHashSet<java.awt.datatransfer.DataFlavor> getPlatformMappingsForNative(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/LinkedHashSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/datatransfer/DataFlavorUtil$DefaultDesktopDatatransferService;
0 1 1 nat Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/LinkedHashSet<Ljava/awt/datatransfer/DataFlavor;>;
MethodParameters:
Name Flags
nat
public java.util.LinkedHashSet<java.lang.String> getPlatformMappingsForFlavor(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Ljava/util/LinkedHashSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/datatransfer/DataFlavorUtil$DefaultDesktopDatatransferService;
0 1 1 df Ljava/awt/datatransfer/DataFlavor;
Signature: (Ljava/awt/datatransfer/DataFlavor;)Ljava/util/LinkedHashSet<Ljava/lang/String;>;
MethodParameters:
Name Flags
df
public void registerTextFlavorProperties(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/datatransfer/DataFlavorUtil$DefaultDesktopDatatransferService;
0 1 1 nat Ljava/lang/String;
0 1 2 charset Ljava/lang/String;
0 1 3 eoln Ljava/lang/String;
0 1 4 terminators Ljava/lang/String;
MethodParameters:
Name Flags
nat
charset
eoln
terminators
}
SourceFile: "DataFlavorUtil.java"
NestHost: sun.datatransfer.DataFlavorUtil
InnerClasses:
private final DefaultDesktopDatatransferService = sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService of sun.datatransfer.DataFlavorUtil