final class sun.awt.windows.WClipboard extends sun.awt.datatransfer.SunClipboard
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.windows.WClipboard
super_class: sun.awt.datatransfer.SunClipboard
{
private boolean isClipboardViewerRegistered;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic sun.awt.windows.WClipboard.init:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "System"
invokespecial sun.awt.datatransfer.SunClipboard.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WClipboard;
public long getID();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WClipboard;
protected void setContentsNative(java.awt.datatransfer.Transferable);
descriptor: (Ljava/awt/datatransfer/Transferable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.windows.WDataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
1: aload 1
invokestatic sun.awt.windows.WClipboard.getDefaultFlavorTable:()Ljava/awt/datatransfer/FlavorTable;
invokevirtual sun.awt.datatransfer.DataTransferer.getFormatsForTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/FlavorTable;)Ljava/util/SortedMap;
2: astore 2
start local 2 3: aload 0
aload 0
invokevirtual sun.awt.windows.WClipboard.openClipboard:(Lsun/awt/datatransfer/SunClipboard;)V
4: aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 16
StackMap locals: sun.awt.windows.WClipboard java.awt.datatransfer.Transferable java.util.Map top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
astore 3
start local 3 6: aload 2
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.datatransfer.DataFlavor
astore 5
start local 5 7: invokestatic sun.awt.windows.WDataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
8: aload 1
aload 5
aload 3
invokevirtual java.lang.Long.longValue:()J
invokevirtual sun.awt.datatransfer.DataTransferer.translateTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/DataFlavor;J)[B
9: astore 6
start local 6 10: aload 0
aload 3
invokevirtual java.lang.Long.longValue:()J
aload 6
invokevirtual sun.awt.windows.WClipboard.publishClipboardData:(J[B)V
end local 6 11: goto 16
StackMap locals: sun.awt.windows.WClipboard java.awt.datatransfer.Transferable java.util.Map java.lang.Long java.util.Iterator java.awt.datatransfer.DataFlavor
StackMap stack: java.io.IOException
12: astore 6
start local 6 13: aload 5
ldc "application/x-java-jvm-local-objectref"
invokevirtual java.awt.datatransfer.DataFlavor.isMimeTypeEqual:(Ljava/lang/String;)Z
ifeq 15
14: aload 6
instanceof java.io.NotSerializableException
ifne 16
15: StackMap locals: java.io.IOException
StackMap stack:
aload 6
invokevirtual java.io.IOException.printStackTrace:()V
end local 6 end local 5 end local 3 16: StackMap locals: sun.awt.windows.WClipboard java.awt.datatransfer.Transferable java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
17: goto 21
StackMap locals: sun.awt.windows.WClipboard java.awt.datatransfer.Transferable java.util.Map
StackMap stack: java.lang.Throwable
18: astore 7
19: aload 0
invokevirtual sun.awt.windows.WClipboard.closeClipboard:()V
20: aload 7
athrow
21: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.windows.WClipboard.closeClipboard:()V
22: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/awt/windows/WClipboard;
0 23 1 contents Ljava/awt/datatransfer/Transferable;
3 23 2 formatMap Ljava/util/Map<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;
6 16 3 format Ljava/lang/Long;
7 16 5 flavor Ljava/awt/datatransfer/DataFlavor;
10 11 6 bytes [B
13 16 6 e Ljava/io/IOException;
Exception table:
from to target type
7 11 12 Class java.io.IOException
4 18 18 any
MethodParameters:
Name Flags
contents
private void lostSelectionOwnershipImpl();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.windows.WClipboard.lostOwnershipImpl:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WClipboard;
protected void clearNativeContext();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WClipboard;
public native void openClipboard(sun.awt.datatransfer.SunClipboard);
descriptor: (Lsun/awt/datatransfer/SunClipboard;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
newOwner
public native void closeClipboard();
descriptor: ()V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
private native void publishClipboardData(long, byte[]);
descriptor: (J[B)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
format
bytes
private static native void init();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
protected native long[] getClipboardFormats();
descriptor: ()[J
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
protected native byte[] getClipboardData(long);
descriptor: (J)[B
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
format
protected void registerClipboardViewerChecked();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WClipboard.isClipboardViewerRegistered:Z
ifne 3
1: aload 0
invokevirtual sun.awt.windows.WClipboard.registerClipboardViewer:()V
2: aload 0
iconst_1
putfield sun.awt.windows.WClipboard.isClipboardViewerRegistered:Z
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WClipboard;
private native void registerClipboardViewer();
descriptor: ()V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
protected void unregisterClipboardViewerChecked();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WClipboard;
private void handleContentsChanged();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.windows.WClipboard.areFlavorListenersRegistered:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: aload 0
aconst_null
invokevirtual sun.awt.windows.WClipboard.openClipboard:(Lsun/awt/datatransfer/SunClipboard;)V
4: aload 0
invokevirtual sun.awt.windows.WClipboard.getClipboardFormats:()[J
astore 1
5: goto 11
StackMap locals: sun.awt.windows.WClipboard long[]
StackMap stack: java.lang.IllegalStateException
6: pop
7: aload 0
invokevirtual sun.awt.windows.WClipboard.closeClipboard:()V
goto 12
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
9: aload 0
invokevirtual sun.awt.windows.WClipboard.closeClipboard:()V
10: aload 2
athrow
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.windows.WClipboard.closeClipboard:()V
12: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.awt.windows.WClipboard.checkChange:([J)V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/windows/WClipboard;
3 14 1 formats [J
Exception table:
from to target type
3 5 6 Class java.lang.IllegalStateException
3 7 8 any
protected java.awt.datatransfer.Transferable createLocaleTransferable(long[]);
descriptor: ([J)Ljava/awt/datatransfer/Transferable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 1
iload 3
laload
ldc 16
lcmp
ifne 6
4: iconst_1
istore 2
5: goto 8
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
arraylength
if_icmplt 3
end local 3 8: StackMap locals:
StackMap stack:
iload 2
ifne 10
9: aconst_null
areturn
10: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 11: aload 0
ldc 16
invokevirtual sun.awt.windows.WClipboard.getClipboardData:(J)[B
astore 3
12: goto 15
StackMap locals: sun.awt.windows.WClipboard long[] int byte[]
StackMap stack: java.io.IOException
13: pop
14: aconst_null
areturn
15: StackMap locals:
StackMap stack:
aload 3
astore 4
start local 4 16: new sun.awt.windows.WClipboard$1
dup
aload 0
aload 4
invokespecial sun.awt.windows.WClipboard$1.<init>:(Lsun/awt/windows/WClipboard;[B)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/awt/windows/WClipboard;
0 17 1 formats [J
1 17 2 found Z
2 8 3 i I
11 17 3 localeData [B
16 17 4 localeDataFinal [B
Exception table:
from to target type
11 12 13 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
formats
}
SourceFile: "WClipboard.java"
NestMembers:
sun.awt.windows.WClipboard$1
InnerClasses:
sun.awt.windows.WClipboard$1