class javax.swing.plaf.basic.BasicListUI$ListTransferHandler extends javax.swing.TransferHandler implements javax.swing.plaf.UIResource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicListUI$ListTransferHandler
super_class: javax.swing.TransferHandler
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.TransferHandler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicListUI$ListTransferHandler;
protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/datatransfer/Transferable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.swing.JList
ifeq 21
1: aload 1
checkcast javax.swing.JList
astore 2
start local 2 2: aload 2
invokevirtual javax.swing.JList.getSelectedValues:()[Ljava/lang/Object;
astore 3
start local 3 3: aload 3
ifnull 4
aload 3
arraylength
ifne 5
4: StackMap locals: javax.swing.JList java.lang.Object[]
StackMap stack:
aconst_null
areturn
5: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 4
start local 4 6: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 5
start local 5 7: aload 5
ldc "<html>\n<body>\n<ul>\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: iconst_0
istore 6
start local 6 9: goto 17
10: StackMap locals: java.lang.StringBuffer java.lang.StringBuffer int
StackMap stack:
aload 3
iload 6
aaload
astore 7
start local 7 11: aload 7
ifnonnull 12
ldc ""
goto 13
StackMap locals: java.lang.Object
StackMap stack:
12: aload 7
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
13: astore 8
start local 8 14: aload 4
new java.lang.StringBuilder
dup
aload 8
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
15: aload 5
new java.lang.StringBuilder
dup
ldc " <li>"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 8 end local 7 16: iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 3
arraylength
if_icmplt 10
end local 6 18: aload 4
aload 4
invokevirtual java.lang.StringBuffer.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuffer.deleteCharAt:(I)Ljava/lang/StringBuffer;
pop
19: aload 5
ldc "</ul>\n</body>\n</html>"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
20: new javax.swing.plaf.basic.BasicTransferable
dup
aload 4
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
aload 5
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokespecial javax.swing.plaf.basic.BasicTransferable.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 5 end local 4 end local 3 end local 2 21: StackMap locals: javax.swing.plaf.basic.BasicListUI$ListTransferHandler javax.swing.JComponent
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/plaf/basic/BasicListUI$ListTransferHandler;
0 22 1 c Ljavax/swing/JComponent;
2 21 2 list Ljavax/swing/JList;
3 21 3 values [Ljava/lang/Object;
6 21 4 plainBuf Ljava/lang/StringBuffer;
7 21 5 htmlBuf Ljava/lang/StringBuffer;
9 18 6 i I
11 16 7 obj Ljava/lang/Object;
14 16 8 val Ljava/lang/String;
MethodParameters:
Name Flags
c
public int getSourceActions(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicListUI$ListTransferHandler;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicListUI.java"
NestHost: javax.swing.plaf.basic.BasicListUI
InnerClasses:
ListTransferHandler = javax.swing.plaf.basic.BasicListUI$ListTransferHandler of javax.swing.plaf.basic.BasicListUI