public class java.awt.datatransfer.StringSelection implements java.awt.datatransfer.Transferable, java.awt.datatransfer.ClipboardOwner
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.datatransfer.StringSelection
super_class: java.lang.Object
{
private static final int STRING;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int PLAIN_TEXT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final java.awt.datatransfer.DataFlavor[] flavors;
descriptor: [Ljava/awt/datatransfer/DataFlavor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.String data;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
anewarray java.awt.datatransfer.DataFlavor
dup
iconst_0
1: getstatic java.awt.datatransfer.DataFlavor.stringFlavor:Ljava/awt/datatransfer/DataFlavor;
aastore
dup
iconst_1
2: getstatic java.awt.datatransfer.DataFlavor.plainTextFlavor:Ljava/awt/datatransfer/DataFlavor;
aastore
3: putstatic java.awt.datatransfer.StringSelection.flavors:[Ljava/awt/datatransfer/DataFlavor;
4: return
LocalVariableTable:
Start End Slot Name Signature
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.StringSelection.data:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/datatransfer/StringSelection;
0 3 1 data Ljava/lang/String;
MethodParameters:
Name Flags
data
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.awt.datatransfer.StringSelection.flavors:[Ljava/awt/datatransfer/DataFlavor;
invokevirtual java.awt.datatransfer.DataFlavor[].clone:()Ljava/lang/Object;
checkcast java.awt.datatransfer.DataFlavor[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/datatransfer/StringSelection;
public boolean isDataFlavorSupported(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: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 1
getstatic java.awt.datatransfer.StringSelection.flavors:[Ljava/awt/datatransfer/DataFlavor;
iload 2
aaload
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
getstatic java.awt.datatransfer.StringSelection.flavors:[Ljava/awt/datatransfer/DataFlavor;
arraylength
if_icmplt 2
end local 2 6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/datatransfer/StringSelection;
0 7 1 flavor Ljava/awt/datatransfer/DataFlavor;
1 6 2 i I
MethodParameters:
Name Flags
flavor
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.awt.datatransfer.StringSelection.flavors:[Ljava/awt/datatransfer/DataFlavor;
iconst_0
aaload
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 2
1: aload 0
getfield java.awt.datatransfer.StringSelection.data:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic java.awt.datatransfer.StringSelection.flavors:[Ljava/awt/datatransfer/DataFlavor;
iconst_1
aaload
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 6
3: new java.io.StringReader
dup
aload 0
getfield java.awt.datatransfer.StringSelection.data:Ljava/lang/String;
ifnonnull 4
ldc ""
goto 5
StackMap locals: java.awt.datatransfer.StringSelection java.awt.datatransfer.DataFlavor
StackMap stack: new 3 new 3
4: aload 0
getfield java.awt.datatransfer.StringSelection.data:Ljava/lang/String;
StackMap locals: java.awt.datatransfer.StringSelection java.awt.datatransfer.DataFlavor
StackMap stack: new 3 new 3 java.lang.String
5: invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
areturn
6: StackMap locals:
StackMap stack:
new java.awt.datatransfer.UnsupportedFlavorException
dup
aload 1
invokespecial java.awt.datatransfer.UnsupportedFlavorException.<init>:(Ljava/awt/datatransfer/DataFlavor;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/datatransfer/StringSelection;
0 7 1 flavor Ljava/awt/datatransfer/DataFlavor;
Exceptions:
throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
MethodParameters:
Name Flags
flavor
public void lostOwnership(java.awt.datatransfer.Clipboard, java.awt.datatransfer.Transferable);
descriptor: (Ljava/awt/datatransfer/Clipboard;Ljava/awt/datatransfer/Transferable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/datatransfer/StringSelection;
0 1 1 clipboard Ljava/awt/datatransfer/Clipboard;
0 1 2 contents Ljava/awt/datatransfer/Transferable;
MethodParameters:
Name Flags
clipboard
contents
}
SourceFile: "StringSelection.java"