class javax.swing.TransferHandler$PropertyTransferable implements java.awt.datatransfer.Transferable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.TransferHandler$PropertyTransferable
super_class: java.lang.Object
{
javax.swing.JComponent component;
descriptor: Ljavax/swing/JComponent;
flags: (0x0000)
java.beans.PropertyDescriptor property;
descriptor: Ljava/beans/PropertyDescriptor;
flags: (0x0000)
void <init>(java.beans.PropertyDescriptor, javax.swing.JComponent);
descriptor: (Ljava/beans/PropertyDescriptor;Ljavax/swing/JComponent;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.swing.TransferHandler$PropertyTransferable.property:Ljava/beans/PropertyDescriptor;
2: aload 0
aload 2
putfield javax.swing.TransferHandler$PropertyTransferable.component:Ljavax/swing/JComponent;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/TransferHandler$PropertyTransferable;
0 4 1 p Ljava/beans/PropertyDescriptor;
0 4 2 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
p
c
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: iconst_1
anewarray java.awt.datatransfer.DataFlavor
astore 1
start local 1 1: aload 0
getfield javax.swing.TransferHandler$PropertyTransferable.property:Ljava/beans/PropertyDescriptor;
invokevirtual java.beans.PropertyDescriptor.getPropertyType:()Ljava/lang/Class;
astore 2
start local 2 2: new java.lang.StringBuilder
dup
ldc "application/x-java-jvm-local-objectref;class="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 3: aload 1
iconst_0
new java.awt.datatransfer.DataFlavor
dup
aload 3
invokespecial java.awt.datatransfer.DataFlavor.<init>:(Ljava/lang/String;)V
aastore
4: goto 7
StackMap locals: javax.swing.TransferHandler$PropertyTransferable java.awt.datatransfer.DataFlavor[] java.lang.Class java.lang.String
StackMap stack: java.lang.ClassNotFoundException
5: pop
6: iconst_0
anewarray java.awt.datatransfer.DataFlavor
astore 1
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/TransferHandler$PropertyTransferable;
1 8 1 flavors [Ljava/awt/datatransfer/DataFlavor;
2 8 2 propertyType Ljava/lang/Class<*>;
3 8 3 mimeType Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.ClassNotFoundException
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.TransferHandler$PropertyTransferable.property:Ljava/beans/PropertyDescriptor;
invokevirtual java.beans.PropertyDescriptor.getPropertyType:()Ljava/lang/Class;
astore 2
start local 2 1: ldc "application"
aload 1
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
2: ldc "x-java-jvm-local-objectref"
aload 1
invokevirtual java.awt.datatransfer.DataFlavor.getSubType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 1
invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals: java.lang.Class
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/TransferHandler$PropertyTransferable;
0 6 1 flavor Ljava/awt/datatransfer/DataFlavor;
1 6 2 propertyType Ljava/lang/Class<*>;
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=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.TransferHandler$PropertyTransferable.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ifne 2
1: new java.awt.datatransfer.UnsupportedFlavorException
dup
aload 1
invokespecial java.awt.datatransfer.UnsupportedFlavorException.<init>:(Ljava/awt/datatransfer/DataFlavor;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$PropertyTransferable.property:Ljava/beans/PropertyDescriptor;
invokevirtual java.beans.PropertyDescriptor.getReadMethod:()Ljava/lang/reflect/Method;
astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: aload 2
aload 0
getfield javax.swing.TransferHandler$PropertyTransferable.component:Ljavax/swing/JComponent;
aconst_null
invokestatic sun.reflect.misc.MethodUtil.invoke:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 3
5: goto 8
StackMap locals: javax.swing.TransferHandler$PropertyTransferable java.awt.datatransfer.DataFlavor java.lang.reflect.Method java.lang.Object
StackMap stack: java.lang.Exception
6: pop
7: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Property read failed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.swing.TransferHandler$PropertyTransferable.property:Ljava/beans/PropertyDescriptor;
invokevirtual java.beans.PropertyDescriptor.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/TransferHandler$PropertyTransferable;
0 9 1 flavor Ljava/awt/datatransfer/DataFlavor;
3 9 2 reader Ljava/lang/reflect/Method;
4 9 3 value Ljava/lang/Object;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
Exceptions:
throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
MethodParameters:
Name Flags
flavor
}
SourceFile: "TransferHandler.java"
NestHost: javax.swing.TransferHandler
InnerClasses:
PropertyTransferable = javax.swing.TransferHandler$PropertyTransferable of javax.swing.TransferHandler