public class java.awt.datatransfer.Clipboard
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.datatransfer.Clipboard
super_class: java.lang.Object
{
java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0000)
protected java.awt.datatransfer.ClipboardOwner owner;
descriptor: Ljava/awt/datatransfer/ClipboardOwner;
flags: (0x0004) ACC_PROTECTED
protected java.awt.datatransfer.Transferable contents;
descriptor: Ljava/awt/datatransfer/Transferable;
flags: (0x0004) ACC_PROTECTED
private sun.awt.EventListenerAggregate flavorListeners;
descriptor: Lsun/awt/EventListenerAggregate;
flags: (0x0002) ACC_PRIVATE
private java.util.Set currentDataFlavors;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield java.awt.datatransfer.Clipboard.name:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/datatransfer/Clipboard;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.datatransfer.Clipboard.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/datatransfer/Clipboard;
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=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.awt.datatransfer.Clipboard.owner:Ljava/awt/datatransfer/ClipboardOwner;
astore 3
start local 3 1: aload 0
getfield java.awt.datatransfer.Clipboard.contents:Ljava/awt/datatransfer/Transferable;
astore 4
start local 4 2: aload 0
aload 2
putfield java.awt.datatransfer.Clipboard.owner:Ljava/awt/datatransfer/ClipboardOwner;
3: aload 0
aload 1
putfield java.awt.datatransfer.Clipboard.contents:Ljava/awt/datatransfer/Transferable;
4: aload 3
ifnull 6
aload 3
aload 2
if_acmpeq 6
5: new java.awt.datatransfer.Clipboard$1
dup
aload 0
aload 3
aload 4
invokespecial java.awt.datatransfer.Clipboard$1.<init>:(Ljava/awt/datatransfer/Clipboard;Ljava/awt/datatransfer/ClipboardOwner;Ljava/awt/datatransfer/Transferable;)V
invokestatic java.awt.EventQueue.invokeLater:(Ljava/lang/Runnable;)V
6: StackMap locals: java.awt.datatransfer.ClipboardOwner java.awt.datatransfer.Transferable
StackMap stack:
aload 0
invokevirtual java.awt.datatransfer.Clipboard.fireFlavorsChanged:()V
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/awt/datatransfer/Clipboard;
0 8 1 contents Ljava/awt/datatransfer/Transferable;
0 8 2 owner Ljava/awt/datatransfer/ClipboardOwner;
1 8 3 oldOwner Ljava/awt/datatransfer/ClipboardOwner;
2 8 4 oldContents Ljava/awt/datatransfer/Transferable;
MethodParameters:
Name Flags
contents
owner
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=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.datatransfer.Clipboard.contents:Ljava/awt/datatransfer/Transferable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/datatransfer/Clipboard;
0 1 1 requestor Ljava/lang/Object;
MethodParameters:
Name Flags
requestor
public java.awt.datatransfer.DataFlavor[] getAvailableDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual java.awt.datatransfer.Clipboard.getContents:(Ljava/lang/Object;)Ljava/awt/datatransfer/Transferable;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
anewarray java.awt.datatransfer.DataFlavor
areturn
3: StackMap locals: java.awt.datatransfer.Transferable
StackMap stack:
aload 1
invokeinterface java.awt.datatransfer.Transferable.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/datatransfer/Clipboard;
1 4 1 cntnts Ljava/awt/datatransfer/Transferable;
public boolean isDataFlavorAvailable(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, 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
aconst_null
invokevirtual java.awt.datatransfer.Clipboard.getContents:(Ljava/lang/Object;)Ljava/awt/datatransfer/Transferable;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals: java.awt.datatransfer.Transferable
StackMap stack:
aload 2
aload 1
invokeinterface java.awt.datatransfer.Transferable.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/datatransfer/Clipboard;
0 6 1 flavor Ljava/awt/datatransfer/DataFlavor;
3 6 2 cntnts Ljava/awt/datatransfer/Transferable;
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=3, locals=3, 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
aconst_null
invokevirtual java.awt.datatransfer.Clipboard.getContents:(Ljava/lang/Object;)Ljava/awt/datatransfer/Transferable;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: new java.awt.datatransfer.UnsupportedFlavorException
dup
aload 1
invokespecial java.awt.datatransfer.UnsupportedFlavorException.<init>:(Ljava/awt/datatransfer/DataFlavor;)V
athrow
5: StackMap locals: java.awt.datatransfer.Transferable
StackMap stack:
aload 2
aload 1
invokeinterface java.awt.datatransfer.Transferable.getTransferData:(Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/datatransfer/Clipboard;
0 6 1 flavor Ljava/awt/datatransfer/DataFlavor;
3 6 2 cntnts Ljava/awt/datatransfer/Transferable;
Exceptions:
throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
MethodParameters:
Name Flags
flavor
public synchronized void addFlavorListener(java.awt.datatransfer.FlavorListener);
descriptor: (Ljava/awt/datatransfer/FlavorListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.datatransfer.Clipboard.flavorListeners:Lsun/awt/EventListenerAggregate;
ifnonnull 5
3: aload 0
aload 0
invokevirtual java.awt.datatransfer.Clipboard.getAvailableDataFlavorSet:()Ljava/util/Set;
putfield java.awt.datatransfer.Clipboard.currentDataFlavors:Ljava/util/Set;
4: aload 0
new sun.awt.EventListenerAggregate
dup
ldc Ljava/awt/datatransfer/FlavorListener;
invokespecial sun.awt.EventListenerAggregate.<init>:(Ljava/lang/Class;)V
putfield java.awt.datatransfer.Clipboard.flavorListeners:Lsun/awt/EventListenerAggregate;
5: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.datatransfer.Clipboard.flavorListeners:Lsun/awt/EventListenerAggregate;
aload 1
invokevirtual sun.awt.EventListenerAggregate.add:(Ljava/util/EventListener;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/datatransfer/Clipboard;
0 7 1 listener Ljava/awt/datatransfer/FlavorListener;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 0
getfield java.awt.datatransfer.Clipboard.flavorListeners:Lsun/awt/EventListenerAggregate;
ifnonnull 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.datatransfer.Clipboard.flavorListeners:Lsun/awt/EventListenerAggregate;
aload 1
invokevirtual sun.awt.EventListenerAggregate.remove:(Ljava/util/EventListener;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/datatransfer/Clipboard;
0 4 1 listener Ljava/awt/datatransfer/FlavorListener;
MethodParameters:
Name Flags
listener
public synchronized java.awt.datatransfer.FlavorListener[] getFlavorListeners();
descriptor: ()[Ljava/awt/datatransfer/FlavorListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.datatransfer.Clipboard.flavorListeners:Lsun/awt/EventListenerAggregate;
ifnonnull 1
iconst_0
anewarray java.awt.datatransfer.FlavorListener
goto 2
1: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.datatransfer.Clipboard.flavorListeners:Lsun/awt/EventListenerAggregate;
invokevirtual sun.awt.EventListenerAggregate.getListenersCopy:()[Ljava/util/EventListener;
checkcast java.awt.datatransfer.FlavorListener[]
2: StackMap locals:
StackMap stack: java.awt.datatransfer.FlavorListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/datatransfer/Clipboard;
private void fireFlavorsChanged();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield java.awt.datatransfer.Clipboard.flavorListeners:Lsun/awt/EventListenerAggregate;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.datatransfer.Clipboard.currentDataFlavors:Ljava/util/Set;
astore 1
start local 1 3: aload 0
aload 0
invokevirtual java.awt.datatransfer.Clipboard.getAvailableDataFlavorSet:()Ljava/util/Set;
putfield java.awt.datatransfer.Clipboard.currentDataFlavors:Ljava/util/Set;
4: aload 1
aload 0
getfield java.awt.datatransfer.Clipboard.currentDataFlavors:Ljava/util/Set;
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifeq 6
5: return
6: StackMap locals: java.util.Set
StackMap stack:
aload 0
getfield java.awt.datatransfer.Clipboard.flavorListeners:Lsun/awt/EventListenerAggregate;
invokevirtual sun.awt.EventListenerAggregate.getListenersInternal:()[Ljava/util/EventListener;
checkcast java.awt.datatransfer.FlavorListener[]
7: astore 2
start local 2 8: iconst_0
istore 3
start local 3 9: goto 13
10: StackMap locals: java.awt.datatransfer.FlavorListener[] int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 11: new java.awt.datatransfer.Clipboard$2
dup
aload 0
aload 4
invokespecial java.awt.datatransfer.Clipboard$2.<init>:(Ljava/awt/datatransfer/Clipboard;Ljava/awt/datatransfer/FlavorListener;)V
invokestatic java.awt.EventQueue.invokeLater:(Ljava/lang/Runnable;)V
end local 4 12: iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
aload 2
arraylength
if_icmplt 10
end local 3 14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/awt/datatransfer/Clipboard;
3 15 1 prevDataFlavors Ljava/util/Set;
8 15 2 flavorListenerArray [Ljava/awt/datatransfer/FlavorListener;
9 14 3 i I
11 12 4 listener Ljava/awt/datatransfer/FlavorListener;
private java.util.Set getAvailableDataFlavorSet();
descriptor: ()Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
aconst_null
invokevirtual java.awt.datatransfer.Clipboard.getContents:(Ljava/lang/Object;)Ljava/awt/datatransfer/Transferable;
astore 2
start local 2 2: aload 2
ifnull 6
3: aload 2
invokeinterface java.awt.datatransfer.Transferable.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 1
aload 3
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 3 6: StackMap locals: java.util.Set java.awt.datatransfer.Transferable
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/datatransfer/Clipboard;
1 7 1 set Ljava/util/Set;
2 7 2 contents Ljava/awt/datatransfer/Transferable;
4 6 3 flavors [Ljava/awt/datatransfer/DataFlavor;
}
SourceFile: "Clipboard.java"
NestMembers:
java.awt.datatransfer.Clipboard$1 java.awt.datatransfer.Clipboard$2
InnerClasses:
java.awt.datatransfer.Clipboard$1
java.awt.datatransfer.Clipboard$2