public class sun.awt.windows.WClipboard extends sun.awt.datatransfer.SunClipboard
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, 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
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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=10, 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 3
start local 3 5: goto 18
6: StackMap locals: java.util.Map java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
astore 4
start local 4 7: aload 4
invokevirtual java.lang.Long.longValue:()J
lstore 5
start local 5 8: aload 2
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.datatransfer.DataFlavor
astore 7
start local 7 9: invokestatic sun.awt.windows.WDataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
10: aload 1
aload 7
lload 5
invokevirtual sun.awt.datatransfer.DataTransferer.translateTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/DataFlavor;J)[B
11: astore 8
start local 8 12: aload 0
lload 5
aload 8
invokevirtual sun.awt.windows.WClipboard.publishClipboardData:(J[B)V
end local 8 13: goto 18
StackMap locals: sun.awt.windows.WClipboard java.awt.datatransfer.Transferable java.util.Map java.util.Iterator java.lang.Long long java.awt.datatransfer.DataFlavor
StackMap stack: java.io.IOException
14: astore 8
start local 8 15: aload 7
ldc "application/x-java-jvm-local-objectref"
invokevirtual java.awt.datatransfer.DataFlavor.isMimeTypeEqual:(Ljava/lang/String;)Z
ifeq 17
16: aload 8
instanceof java.io.NotSerializableException
ifne 18
17: StackMap locals: java.io.IOException
StackMap stack:
aload 8
invokevirtual java.io.IOException.printStackTrace:()V
end local 8 end local 7 end local 5 end local 4 18: StackMap locals: sun.awt.windows.WClipboard java.awt.datatransfer.Transferable java.util.Map java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 3 19: goto 23
StackMap locals: sun.awt.windows.WClipboard java.awt.datatransfer.Transferable java.util.Map
StackMap stack: java.lang.Throwable
20: astore 9
21: aload 0
invokevirtual sun.awt.windows.WClipboard.closeClipboard:()V
22: aload 9
athrow
23: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.windows.WClipboard.closeClipboard:()V
24: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/awt/windows/WClipboard;
0 25 1 contents Ljava/awt/datatransfer/Transferable;
3 25 2 formatMap Ljava/util/Map;
5 19 3 iter Ljava/util/Iterator;
7 18 4 lFormat Ljava/lang/Long;
8 18 5 format J
9 18 7 flavor Ljava/awt/datatransfer/DataFlavor;
12 13 8 bytes [B
15 18 8 e Ljava/io/IOException;
Exception table:
from to target type
9 13 14 Class java.io.IOException
4 20 20 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