final class sun.lwawt.macosx.CClipboard extends sun.awt.datatransfer.SunClipboard
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.macosx.CClipboard
super_class: sun.awt.datatransfer.SunClipboard
{
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.datatransfer.SunClipboard.<init>:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CClipboard;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
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/lwawt/macosx/CClipboard;
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/lwawt/macosx/CClipboard;
public synchronized java.awt.datatransfer.Transferable getContents(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/awt/datatransfer/Transferable;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.CClipboard.checkPasteboardAndNotify:()V
1: aload 0
aload 1
invokespecial sun.awt.datatransfer.SunClipboard.getContents:(Ljava/lang/Object;)Ljava/awt/datatransfer/Transferable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CClipboard;
0 2 1 requestor Ljava/lang/Object;
MethodParameters:
Name Flags
requestor
protected synchronized java.awt.datatransfer.Transferable getContextContents();
descriptor: ()Ljava/awt/datatransfer/Transferable;
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CClipboard.checkPasteboardAndNotify:()V
1: aload 0
invokespecial sun.awt.datatransfer.SunClipboard.getContextContents:()Ljava/awt/datatransfer/Transferable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CClipboard;
protected void setContentsNative(java.awt.datatransfer.Transferable);
descriptor: (Ljava/awt/datatransfer/Transferable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: invokestatic sun.lwawt.macosx.CClipboard.getDefaultFlavorTable:()Ljava/awt/datatransfer/FlavorTable;
astore 2
start local 2 1: invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
astore 3
start local 3 2: aload 3
aload 1
aload 2
invokevirtual sun.awt.datatransfer.DataTransferer.getFormatsForTransferableAsArray:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/FlavorTable;)[J
astore 4
start local 4 3: aload 0
aload 4
aload 0
invokevirtual sun.lwawt.macosx.CClipboard.declareTypes:([JLsun/awt/datatransfer/SunClipboard;)V
4: aload 3
aload 1
aload 2
invokevirtual sun.awt.datatransfer.DataTransferer.getFormatsForTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/FlavorTable;)Ljava/util/SortedMap;
astore 5
start local 5 5: aload 5
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 16
StackMap locals: sun.lwawt.macosx.CClipboard java.awt.datatransfer.Transferable java.awt.datatransfer.FlavorTable sun.awt.datatransfer.DataTransferer long[] java.util.Map top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 7: aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 8
start local 8 8: aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.awt.datatransfer.DataFlavor
astore 10
start local 10 9: invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
aload 1
aload 10
lload 8
invokevirtual sun.awt.datatransfer.DataTransferer.translateTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/DataFlavor;J)[B
astore 11
start local 11 10: aload 0
aload 11
lload 8
invokevirtual sun.lwawt.macosx.CClipboard.setData:([BJ)V
end local 11 11: goto 16
StackMap locals: sun.lwawt.macosx.CClipboard java.awt.datatransfer.Transferable java.awt.datatransfer.FlavorTable sun.awt.datatransfer.DataTransferer long[] java.util.Map java.util.Map$Entry java.util.Iterator long java.awt.datatransfer.DataFlavor
StackMap stack: java.io.IOException
12: astore 11
start local 11 13: aload 10
ldc "application/x-java-jvm-local-objectref"
invokevirtual java.awt.datatransfer.DataFlavor.isMimeTypeEqual:(Ljava/lang/String;)Z
ifeq 15
14: aload 11
instanceof java.io.NotSerializableException
ifne 16
15: StackMap locals: java.io.IOException
StackMap stack:
aload 11
invokevirtual java.io.IOException.printStackTrace:()V
end local 11 end local 10 end local 8 end local 6 16: StackMap locals: sun.lwawt.macosx.CClipboard java.awt.datatransfer.Transferable java.awt.datatransfer.FlavorTable sun.awt.datatransfer.DataTransferer long[] java.util.Map top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
17: invokestatic sun.lwawt.macosx.CClipboard.notifyChanged:()V
18: return
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 19 0 this Lsun/lwawt/macosx/CClipboard;
0 19 1 contents Ljava/awt/datatransfer/Transferable;
1 19 2 flavorMap Ljava/awt/datatransfer/FlavorTable;
2 19 3 dataTransferer Lsun/awt/datatransfer/DataTransferer;
3 19 4 formatArray [J
5 19 5 formatMap Ljava/util/Map<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;
7 16 6 entry Ljava/util/Map$Entry<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;
8 16 8 format J
9 16 10 flavor Ljava/awt/datatransfer/DataFlavor;
10 11 11 bytes [B
13 16 11 e Ljava/io/IOException;
Exception table:
from to target type
9 11 12 Class java.io.IOException
MethodParameters:
Name Flags
contents
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 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/lwawt/macosx/CClipboard;
protected void registerClipboardViewerChecked();
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/lwawt/macosx/CClipboard;
private native void declareTypes(long[], sun.awt.datatransfer.SunClipboard);
descriptor: ([JLsun/awt/datatransfer/SunClipboard;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
formats
newOwner
private native void setData(byte[], long);
descriptor: ([BJ)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
data
format
void checkPasteboardAndNotify();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CClipboard.checkPasteboardWithoutNotification:()Z
ifeq 3
1: invokestatic sun.lwawt.macosx.CClipboard.notifyChanged:()V
2: aload 0
aconst_null
invokevirtual sun.lwawt.macosx.CClipboard.lostOwnershipNow:(Lsun/awt/AppContext;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CClipboard;
native boolean checkPasteboardWithoutNotification();
descriptor: ()Z
flags: (0x0100) ACC_NATIVE
private void notifyLostOwnership();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CClipboard.lostOwnershipImpl:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CClipboard;
private static void notifyChanged();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
invokevirtual java.awt.Toolkit.getSystemClipboard:()Ljava/awt/datatransfer/Clipboard;
checkcast sun.lwawt.macosx.CClipboard
astore 0
start local 0 1: aload 0
invokevirtual sun.lwawt.macosx.CClipboard.areFlavorListenersRegistered:()Z
ifne 3
2: return
3: StackMap locals: sun.lwawt.macosx.CClipboard
StackMap stack:
aload 0
aload 0
invokevirtual sun.lwawt.macosx.CClipboard.getClipboardFormats:()[J
invokevirtual sun.lwawt.macosx.CClipboard.checkChange:([J)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 clipboard Lsun/lwawt/macosx/CClipboard;
}
SourceFile: "CClipboard.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map