public abstract class sun.awt.datatransfer.SunClipboard extends java.awt.datatransfer.Clipboard implements java.beans.PropertyChangeListener
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.datatransfer.SunClipboard
super_class: java.awt.datatransfer.Clipboard
{
private sun.awt.AppContext contentsContext;
descriptor: Lsun/awt/AppContext;
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object CLIPBOARD_FLAVOR_LISTENER_KEY;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile int numberOfFlavorListeners;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile long[] currentFormats;
descriptor: [J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.awt.datatransfer.Clipboard.<init>:(Ljava/lang/String;)V
1: aload 0
aconst_null
putfield sun.awt.datatransfer.SunClipboard.contentsContext:Lsun/awt/AppContext;
2: aload 0
iconst_0
putfield sun.awt.datatransfer.SunClipboard.numberOfFlavorListeners:I
3: aload 0
new java.lang.StringBuffer
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "_CLIPBOARD_FLAVOR_LISTENER_KEY"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
putfield sun.awt.datatransfer.SunClipboard.CLIPBOARD_FLAVOR_LISTENER_KEY:Ljava/lang/Object;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/datatransfer/SunClipboard;
0 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public synchronized void setContents(java.awt.datatransfer.Transferable, java.awt.datatransfer.ClipboardOwner);
descriptor: (Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/ClipboardOwner;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "contents"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.initContext:()V
3: aload 0
getfield sun.awt.datatransfer.SunClipboard.owner:Ljava/awt/datatransfer/ClipboardOwner;
astore 3
start local 3 4: aload 0
getfield sun.awt.datatransfer.SunClipboard.contents:Ljava/awt/datatransfer/Transferable;
astore 4
start local 4 5: aload 0
aload 2
putfield sun.awt.datatransfer.SunClipboard.owner:Ljava/awt/datatransfer/ClipboardOwner;
6: aload 0
new sun.awt.datatransfer.TransferableProxy
dup
aload 1
iconst_1
invokespecial sun.awt.datatransfer.TransferableProxy.<init>:(Ljava/awt/datatransfer/Transferable;Z)V
putfield sun.awt.datatransfer.SunClipboard.contents:Ljava/awt/datatransfer/Transferable;
7: aload 0
aload 1
invokevirtual sun.awt.datatransfer.SunClipboard.setContentsNative:(Ljava/awt/datatransfer/Transferable;)V
8: goto 13
StackMap locals: sun.awt.datatransfer.SunClipboard java.awt.datatransfer.Transferable java.awt.datatransfer.ClipboardOwner java.awt.datatransfer.ClipboardOwner java.awt.datatransfer.Transferable
StackMap stack: java.lang.Throwable
9: astore 5
10: aload 3
ifnull 12
aload 3
aload 2
if_acmpeq 12
11: aload 0
aload 3
aload 4
invokedynamic run(Lsun/awt/datatransfer/SunClipboard;Ljava/awt/datatransfer/ClipboardOwner;Ljava/awt/datatransfer/Transferable;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
sun/awt/datatransfer/SunClipboard.lambda$0(Ljava/awt/datatransfer/ClipboardOwner;Ljava/awt/datatransfer/Transferable;)V (7)
()V
invokestatic java.awt.EventQueue.invokeLater:(Ljava/lang/Runnable;)V
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
athrow
13: StackMap locals:
StackMap stack:
aload 3
ifnull 15
aload 3
aload 2
if_acmpeq 15
14: aload 0
aload 3
aload 4
invokedynamic run(Lsun/awt/datatransfer/SunClipboard;Ljava/awt/datatransfer/ClipboardOwner;Ljava/awt/datatransfer/Transferable;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
sun/awt/datatransfer/SunClipboard.lambda$0(Ljava/awt/datatransfer/ClipboardOwner;Ljava/awt/datatransfer/Transferable;)V (7)
()V
invokestatic java.awt.EventQueue.invokeLater:(Ljava/lang/Runnable;)V
15: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/awt/datatransfer/SunClipboard;
0 16 1 contents Ljava/awt/datatransfer/Transferable;
0 16 2 owner Ljava/awt/datatransfer/ClipboardOwner;
4 16 3 oldOwner Ljava/awt/datatransfer/ClipboardOwner;
5 16 4 oldContents Ljava/awt/datatransfer/Transferable;
Exception table:
from to target type
5 9 9 any
MethodParameters:
Name Flags
contents
owner
private synchronized void initContext();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 1
start local 1 1: aload 0
getfield sun.awt.datatransfer.SunClipboard.contentsContext:Lsun/awt/AppContext;
aload 1
if_acmpeq 17
2: aload 1
dup
astore 2
monitorenter
3: aload 1
invokevirtual sun.awt.AppContext.isDisposed:()Z
ifeq 5
4: new java.lang.IllegalStateException
dup
ldc "Can't set contents from disposed AppContext"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: sun.awt.AppContext sun.awt.AppContext
StackMap stack:
aload 1
6: ldc "disposed"
aload 0
7: invokevirtual sun.awt.AppContext.addPropertyChangeListener:(Ljava/lang/String;Ljava/beans/PropertyChangeListener;)V
8: aload 2
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.datatransfer.SunClipboard.contentsContext:Lsun/awt/AppContext;
ifnull 16
13: aload 0
getfield sun.awt.datatransfer.SunClipboard.contentsContext:Lsun/awt/AppContext;
14: ldc "disposed"
aload 0
15: invokevirtual sun.awt.AppContext.removePropertyChangeListener:(Ljava/lang/String;Ljava/beans/PropertyChangeListener;)V
16: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.awt.datatransfer.SunClipboard.contentsContext:Lsun/awt/AppContext;
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/awt/datatransfer/SunClipboard;
1 18 1 context Lsun/awt/AppContext;
Exception table:
from to target type
3 9 10 any
10 11 10 any
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.datatransfer.SunClipboard.contents:Ljava/awt/datatransfer/Transferable;
ifnull 2
1: aload 0
getfield sun.awt.datatransfer.SunClipboard.contents:Ljava/awt/datatransfer/Transferable;
areturn
2: StackMap locals:
StackMap stack:
new sun.awt.datatransfer.ClipboardTransferable
dup
aload 0
invokespecial sun.awt.datatransfer.ClipboardTransferable.<init>:(Lsun/awt/datatransfer/SunClipboard;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/datatransfer/SunClipboard;
0 3 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=2, locals=2, args_size=1
start local 0 0: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 1
start local 1 1: aload 1
aload 0
getfield sun.awt.datatransfer.SunClipboard.contentsContext:Lsun/awt/AppContext;
if_acmpne 2
aload 0
getfield sun.awt.datatransfer.SunClipboard.contents:Ljava/awt/datatransfer/Transferable;
goto 3
StackMap locals: sun.awt.AppContext
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.awt.datatransfer.Transferable
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/datatransfer/SunClipboard;
1 4 1 context Lsun/awt/AppContext;
public java.awt.datatransfer.DataFlavor[] getAvailableDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.getContextContents:()Ljava/awt/datatransfer/Transferable;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface java.awt.datatransfer.Transferable.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
areturn
3: StackMap locals: java.awt.datatransfer.Transferable
StackMap stack:
aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.getClipboardFormatsOpenClose:()[J
astore 2
start local 2 4: invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
5: aload 2
invokestatic sun.awt.datatransfer.SunClipboard.getDefaultFlavorTable:()Ljava/awt/datatransfer/FlavorTable;
invokevirtual sun.awt.datatransfer.DataTransferer.getFlavorsForFormatsAsArray:([JLjava/awt/datatransfer/FlavorTable;)[Ljava/awt/datatransfer/DataFlavor;
6: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/datatransfer/SunClipboard;
1 7 1 cntnts Ljava/awt/datatransfer/Transferable;
4 7 2 formats [J
public boolean isDataFlavorAvailable(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "flavor"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.getContextContents:()Ljava/awt/datatransfer/Transferable;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
aload 1
invokeinterface java.awt.datatransfer.Transferable.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ireturn
5: StackMap locals: java.awt.datatransfer.Transferable
StackMap stack:
aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.getClipboardFormatsOpenClose:()[J
astore 3
start local 3 6: aload 3
invokestatic sun.awt.datatransfer.SunClipboard.formatArrayAsDataFlavorSet:([J)Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/datatransfer/SunClipboard;
0 7 1 flavor Ljava/awt/datatransfer/DataFlavor;
3 7 2 cntnts Ljava/awt/datatransfer/Transferable;
6 7 3 formats [J
MethodParameters:
Name Flags
flavor
public java.lang.Object getData(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "flavor"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.getContextContents:()Ljava/awt/datatransfer/Transferable;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
aload 1
invokeinterface java.awt.datatransfer.Transferable.getTransferData:(Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
areturn
5: StackMap locals: java.awt.datatransfer.Transferable
StackMap stack:
lconst_0
lstore 3
start local 3 6: aconst_null
astore 5
start local 5 7: aconst_null
astore 6
start local 6 8: aload 0
aconst_null
invokevirtual sun.awt.datatransfer.SunClipboard.openClipboard:(Lsun/awt/datatransfer/SunClipboard;)V
9: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.getClipboardFormats:()[J
astore 7
start local 7 10: invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
11: aload 7
invokestatic sun.awt.datatransfer.SunClipboard.getDefaultFlavorTable:()Ljava/awt/datatransfer/FlavorTable;
invokevirtual sun.awt.datatransfer.DataTransferer.getFlavorsForFormats:([JLjava/awt/datatransfer/FlavorTable;)Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
12: astore 8
start local 8 13: aload 8
ifnonnull 15
14: new java.awt.datatransfer.UnsupportedFlavorException
dup
aload 1
invokespecial java.awt.datatransfer.UnsupportedFlavorException.<init>:(Ljava/awt/datatransfer/DataFlavor;)V
athrow
15: StackMap locals: sun.awt.datatransfer.SunClipboard java.awt.datatransfer.DataFlavor java.awt.datatransfer.Transferable long byte[] java.awt.datatransfer.Transferable long[] java.lang.Long
StackMap stack:
aload 8
invokevirtual java.lang.Long.longValue:()J
lstore 3
16: aload 0
lload 3
invokevirtual sun.awt.datatransfer.SunClipboard.getClipboardData:(J)[B
astore 5
17: invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
lload 3
invokevirtual sun.awt.datatransfer.DataTransferer.isLocaleDependentTextFormat:(J)Z
ifeq 23
18: aload 0
aload 7
invokevirtual sun.awt.datatransfer.SunClipboard.createLocaleTransferable:([J)Ljava/awt/datatransfer/Transferable;
astore 6
end local 8 end local 7 19: goto 23
StackMap locals: sun.awt.datatransfer.SunClipboard java.awt.datatransfer.DataFlavor java.awt.datatransfer.Transferable long byte[] java.awt.datatransfer.Transferable
StackMap stack: java.lang.Throwable
20: astore 9
21: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.closeClipboard:()V
22: aload 9
athrow
23: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.closeClipboard:()V
24: invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
25: aload 5
aload 1
lload 3
aload 6
invokevirtual sun.awt.datatransfer.DataTransferer.translateBytes:([BLjava/awt/datatransfer/DataFlavor;JLjava/awt/datatransfer/Transferable;)Ljava/lang/Object;
26: areturn
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 27 0 this Lsun/awt/datatransfer/SunClipboard;
0 27 1 flavor Ljava/awt/datatransfer/DataFlavor;
3 27 2 cntnts Ljava/awt/datatransfer/Transferable;
6 27 3 format J
7 27 5 data [B
8 27 6 localeTransferable Ljava/awt/datatransfer/Transferable;
10 19 7 formats [J
13 19 8 lFormat Ljava/lang/Long;
Exception table:
from to target type
8 20 20 any
Exceptions:
throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
MethodParameters:
Name Flags
flavor
protected java.awt.datatransfer.Transferable createLocaleTransferable(long[]);
descriptor: ([J)Ljava/awt/datatransfer/Transferable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/datatransfer/SunClipboard;
0 1 1 formats [J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
formats
public void openClipboard(sun.awt.datatransfer.SunClipboard);
descriptor: (Lsun/awt/datatransfer/SunClipboard;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/datatransfer/SunClipboard;
0 1 1 newOwner Lsun/awt/datatransfer/SunClipboard;
MethodParameters:
Name Flags
newOwner
public void closeClipboard();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/datatransfer/SunClipboard;
public abstract long getID();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: ldc "disposed"
aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
1: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 1
invokevirtual java.beans.PropertyChangeEvent.getSource:()Ljava/lang/Object;
checkcast sun.awt.AppContext
astore 2
start local 2 3: aload 0
aload 2
invokevirtual sun.awt.datatransfer.SunClipboard.lostOwnershipLater:(Lsun/awt/AppContext;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/datatransfer/SunClipboard;
0 5 1 evt Ljava/beans/PropertyChangeEvent;
3 4 2 disposedContext Lsun/awt/AppContext;
MethodParameters:
Name Flags
evt
protected void lostOwnershipImpl();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual sun.awt.datatransfer.SunClipboard.lostOwnershipLater:(Lsun/awt/AppContext;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/datatransfer/SunClipboard;
protected void lostOwnershipLater(sun.awt.AppContext);
descriptor: (Lsun/awt/AppContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.datatransfer.SunClipboard.contentsContext:Lsun/awt/AppContext;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: return
3: StackMap locals: sun.awt.AppContext
StackMap stack:
aload 2
new sun.awt.PeerEvent
dup
aload 0
aload 0
aload 1
invokedynamic run(Lsun/awt/datatransfer/SunClipboard;Lsun/awt/AppContext;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
sun/awt/datatransfer/SunClipboard.lambda$1(Lsun/awt/AppContext;)V (7)
()V
4: lconst_1
invokespecial sun.awt.PeerEvent.<init>:(Ljava/lang/Object;Ljava/lang/Runnable;J)V
5: invokestatic sun.awt.SunToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/datatransfer/SunClipboard;
0 7 1 disposedContext Lsun/awt/AppContext;
1 7 2 context Lsun/awt/AppContext;
MethodParameters:
Name Flags
disposedContext final
protected void lostOwnershipNow(sun.awt.AppContext);
descriptor: (Lsun/awt/AppContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 2
dup
astore 5
monitorenter
4: aload 2
getfield sun.awt.datatransfer.SunClipboard.contentsContext:Lsun/awt/AppContext;
astore 6
start local 6 5: aload 6
ifnonnull 8
6: aload 5
monitorexit
7: return
8: StackMap locals: sun.awt.datatransfer.SunClipboard sun.awt.AppContext sun.awt.datatransfer.SunClipboard java.awt.datatransfer.ClipboardOwner java.awt.datatransfer.Transferable sun.awt.datatransfer.SunClipboard sun.awt.AppContext
StackMap stack:
aload 1
ifnull 9
aload 6
aload 1
if_acmpne 19
9: StackMap locals:
StackMap stack:
aload 2
getfield sun.awt.datatransfer.SunClipboard.owner:Ljava/awt/datatransfer/ClipboardOwner;
astore 3
10: aload 2
getfield sun.awt.datatransfer.SunClipboard.contents:Ljava/awt/datatransfer/Transferable;
astore 4
11: aload 2
aconst_null
putfield sun.awt.datatransfer.SunClipboard.contentsContext:Lsun/awt/AppContext;
12: aload 2
aconst_null
putfield sun.awt.datatransfer.SunClipboard.owner:Ljava/awt/datatransfer/ClipboardOwner;
13: aload 2
aconst_null
putfield sun.awt.datatransfer.SunClipboard.contents:Ljava/awt/datatransfer/Transferable;
14: aload 2
invokevirtual sun.awt.datatransfer.SunClipboard.clearNativeContext:()V
15: aload 6
16: ldc "disposed"
aload 2
17: invokevirtual sun.awt.AppContext.removePropertyChangeListener:(Ljava/lang/String;Ljava/beans/PropertyChangeListener;)V
18: goto 21
19: StackMap locals:
StackMap stack:
aload 5
monitorexit
20: return
end local 6 21: StackMap locals:
StackMap stack:
aload 5
monitorexit
22: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
23: aload 5
monitorexit
24: athrow
25: StackMap locals:
StackMap stack:
aload 3
ifnull 27
26: aload 3
aload 2
aload 4
invokeinterface java.awt.datatransfer.ClipboardOwner.lostOwnership:(Ljava/awt/datatransfer/Clipboard;Ljava/awt/datatransfer/Transferable;)V
27: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/awt/datatransfer/SunClipboard;
0 28 1 disposedContext Lsun/awt/AppContext;
1 28 2 sunClipboard Lsun/awt/datatransfer/SunClipboard;
2 28 3 owner Ljava/awt/datatransfer/ClipboardOwner;
3 28 4 contents Ljava/awt/datatransfer/Transferable;
5 21 6 context Lsun/awt/AppContext;
Exception table:
from to target type
4 7 23 any
8 20 23 any
21 22 23 any
23 24 23 any
MethodParameters:
Name Flags
disposedContext final
protected abstract void clearNativeContext();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void setContentsNative(java.awt.datatransfer.Transferable);
descriptor: (Ljava/awt/datatransfer/Transferable;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
contents
protected long[] getClipboardFormatsOpenClose();
descriptor: ()[J
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual sun.awt.datatransfer.SunClipboard.openClipboard:(Lsun/awt/datatransfer/SunClipboard;)V
1: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.getClipboardFormats:()[J
astore 2
2: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.closeClipboard:()V
3: aload 2
areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.closeClipboard:()V
6: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/datatransfer/SunClipboard;
Exception table:
from to target type
0 2 4 any
protected abstract long[] getClipboardFormats();
descriptor: ()[J
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract byte[] getClipboardData(long);
descriptor: (J)[B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
format
private static java.util.Set<java.awt.datatransfer.DataFlavor> formatArrayAsDataFlavorSet(long[]);
descriptor: ([J)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
goto 3
1: StackMap locals:
StackMap stack:
invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
2: aload 0
invokestatic sun.awt.datatransfer.SunClipboard.getDefaultFlavorTable:()Ljava/awt/datatransfer/FlavorTable;
invokevirtual sun.awt.datatransfer.DataTransferer.getFlavorsForFormatsAsSet:([JLjava/awt/datatransfer/FlavorTable;)Ljava/util/Set;
3: StackMap locals:
StackMap stack: java.util.Set
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 formats [J
Signature: ([J)Ljava/util/Set<Ljava/awt/datatransfer/DataFlavor;>;
MethodParameters:
Name Flags
formats
public synchronized void addFlavorListener(java.awt.datatransfer.FlavorListener);
descriptor: (Ljava/awt/datatransfer/FlavorListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 2
start local 2 3: aload 0
aload 2
invokevirtual sun.awt.datatransfer.SunClipboard.getFlavorListeners:(Lsun/awt/AppContext;)Ljava/util/Set;
astore 3
start local 3 4: aload 3
ifnonnull 7
5: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
6: aload 2
aload 0
getfield sun.awt.datatransfer.SunClipboard.CLIPBOARD_FLAVOR_LISTENER_KEY:Ljava/lang/Object;
aload 3
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: sun.awt.AppContext java.util.Set
StackMap stack:
aload 3
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: aload 0
dup
getfield sun.awt.datatransfer.SunClipboard.numberOfFlavorListeners:I
dup_x1
iconst_1
iadd
putfield sun.awt.datatransfer.SunClipboard.numberOfFlavorListeners:I
ifne 21
9: aconst_null
astore 4
start local 4 10: aload 0
aconst_null
invokevirtual sun.awt.datatransfer.SunClipboard.openClipboard:(Lsun/awt/datatransfer/SunClipboard;)V
11: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.getClipboardFormats:()[J
astore 4
12: goto 18
StackMap locals: sun.awt.datatransfer.SunClipboard java.awt.datatransfer.FlavorListener sun.awt.AppContext java.util.Set long[]
StackMap stack: java.lang.IllegalStateException
13: pop
14: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.closeClipboard:()V
goto 19
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
16: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.closeClipboard:()V
17: aload 5
athrow
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.closeClipboard:()V
19: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield sun.awt.datatransfer.SunClipboard.currentFormats:[J
20: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.registerClipboardViewerChecked:()V
end local 4 21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/awt/datatransfer/SunClipboard;
0 22 1 listener Ljava/awt/datatransfer/FlavorListener;
3 22 2 appContext Lsun/awt/AppContext;
4 22 3 flavorListeners Ljava/util/Set<Ljava/awt/datatransfer/FlavorListener;>;
10 21 4 currentFormats [J
Exception table:
from to target type
10 12 13 Class java.lang.IllegalStateException
10 14 15 any
MethodParameters:
Name Flags
listener
public synchronized void removeFlavorListener(java.awt.datatransfer.FlavorListener);
descriptor: (Ljava/awt/datatransfer/FlavorListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
invokevirtual sun.awt.datatransfer.SunClipboard.getFlavorListeners:(Lsun/awt/AppContext;)Ljava/util/Set;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: return
5: StackMap locals: java.util.Set
StackMap stack:
aload 2
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
ifeq 8
aload 0
dup
getfield sun.awt.datatransfer.SunClipboard.numberOfFlavorListeners:I
iconst_1
isub
dup_x1
putfield sun.awt.datatransfer.SunClipboard.numberOfFlavorListeners:I
ifne 8
6: aload 0
invokevirtual sun.awt.datatransfer.SunClipboard.unregisterClipboardViewerChecked:()V
7: aload 0
aconst_null
putfield sun.awt.datatransfer.SunClipboard.currentFormats:[J
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/datatransfer/SunClipboard;
0 9 1 listener Ljava/awt/datatransfer/FlavorListener;
3 9 2 flavorListeners Ljava/util/Set<Ljava/awt/datatransfer/FlavorListener;>;
MethodParameters:
Name Flags
listener
private java.util.Set<java.awt.datatransfer.FlavorListener> getFlavorListeners(sun.awt.AppContext);
descriptor: (Lsun/awt/AppContext;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.awt.datatransfer.SunClipboard.CLIPBOARD_FLAVOR_LISTENER_KEY:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/datatransfer/SunClipboard;
0 1 1 appContext Lsun/awt/AppContext;
Signature: (Lsun/awt/AppContext;)Ljava/util/Set<Ljava/awt/datatransfer/FlavorListener;>;
MethodParameters:
Name Flags
appContext
public synchronized java.awt.datatransfer.FlavorListener[] getFlavorListeners();
descriptor: ()[Ljava/awt/datatransfer/FlavorListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
invokevirtual sun.awt.datatransfer.SunClipboard.getFlavorListeners:(Lsun/awt/AppContext;)Ljava/util/Set;
astore 1
start local 1 1: aload 1
ifnonnull 2
iconst_0
anewarray java.awt.datatransfer.FlavorListener
goto 3
2: StackMap locals: java.util.Set
StackMap stack:
aload 1
aload 1
invokeinterface java.util.Set.size:()I
anewarray java.awt.datatransfer.FlavorListener
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.awt.datatransfer.FlavorListener[]
3: StackMap locals:
StackMap stack: java.awt.datatransfer.FlavorListener[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/datatransfer/SunClipboard;
1 4 1 flavorListeners Ljava/util/Set<Ljava/awt/datatransfer/FlavorListener;>;
public boolean areFlavorListenersRegistered();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.datatransfer.SunClipboard.numberOfFlavorListeners:I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/datatransfer/SunClipboard;
protected abstract void registerClipboardViewerChecked();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void unregisterClipboardViewerChecked();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected final void checkChange(long[]);
descriptor: ([J)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.awt.datatransfer.SunClipboard.currentFormats:[J
invokestatic java.util.Arrays.equals:([J[J)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.awt.datatransfer.SunClipboard.currentFormats:[J
3: invokestatic sun.awt.AppContext.getAppContexts:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 18
StackMap locals: sun.awt.datatransfer.SunClipboard long[] top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.awt.AppContext
astore 2
start local 2 5: aload 2
ifnull 18
aload 2
invokevirtual sun.awt.AppContext.isDisposed:()Z
ifeq 7
6: goto 18
7: StackMap locals: sun.awt.datatransfer.SunClipboard long[] sun.awt.AppContext java.util.Iterator
StackMap stack:
aload 0
aload 2
invokevirtual sun.awt.datatransfer.SunClipboard.getFlavorListeners:(Lsun/awt/AppContext;)Ljava/util/Set;
astore 4
start local 4 8: aload 4
ifnull 18
9: aload 4
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 17
StackMap locals: sun.awt.datatransfer.SunClipboard long[] sun.awt.AppContext java.util.Iterator java.util.Set top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.awt.datatransfer.FlavorListener
astore 5
start local 5 11: aload 5
ifnull 17
12: new sun.awt.PeerEvent
dup
aload 0
13: aload 0
aload 5
invokedynamic run(Lsun/awt/datatransfer/SunClipboard;Ljava/awt/datatransfer/FlavorListener;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
sun/awt/datatransfer/SunClipboard.lambda$2(Ljava/awt/datatransfer/FlavorListener;)V (7)
()V
14: lconst_1
15: invokespecial sun.awt.PeerEvent.<init>:(Ljava/lang/Object;Ljava/lang/Runnable;J)V
astore 7
start local 7 16: aload 2
aload 7
invokestatic sun.awt.SunToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
end local 7 end local 5 17: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 4 end local 2 18: StackMap locals: sun.awt.datatransfer.SunClipboard long[] top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/awt/datatransfer/SunClipboard;
0 20 1 formats [J
5 18 2 appContext Lsun/awt/AppContext;
8 18 4 flavorListeners Ljava/util/Set<Ljava/awt/datatransfer/FlavorListener;>;
11 17 5 listener Ljava/awt/datatransfer/FlavorListener;
16 17 7 peerEvent Lsun/awt/PeerEvent;
MethodParameters:
Name Flags
formats final
public static java.awt.datatransfer.FlavorTable getDefaultFlavorTable();
descriptor: ()Ljava/awt/datatransfer/FlavorTable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.awt.datatransfer.SystemFlavorMap.getDefaultFlavorMap:()Ljava/awt/datatransfer/FlavorMap;
checkcast java.awt.datatransfer.FlavorTable
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(java.awt.datatransfer.ClipboardOwner, java.awt.datatransfer.Transferable);
descriptor: (Ljava/awt/datatransfer/ClipboardOwner;Ljava/awt/datatransfer/Transferable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 1
aload 0
aload 2
invokeinterface java.awt.datatransfer.ClipboardOwner.lostOwnership:(Ljava/awt/datatransfer/Clipboard;Ljava/awt/datatransfer/Transferable;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/datatransfer/SunClipboard;
private void lambda$1(sun.awt.AppContext);
descriptor: (Lsun/awt/AppContext;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
invokevirtual sun.awt.datatransfer.SunClipboard.lostOwnershipNow:(Lsun/awt/AppContext;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/datatransfer/SunClipboard;
private void lambda$2(java.awt.datatransfer.FlavorListener);
descriptor: (Ljava/awt/datatransfer/FlavorListener;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 1
new java.awt.datatransfer.FlavorEvent
dup
aload 0
invokespecial java.awt.datatransfer.FlavorEvent.<init>:(Ljava/awt/datatransfer/Clipboard;)V
invokeinterface java.awt.datatransfer.FlavorListener.flavorsChanged:(Ljava/awt/datatransfer/FlavorEvent;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/datatransfer/SunClipboard;
}
SourceFile: "SunClipboard.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles