class javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable extends javax.swing.plaf.basic.BasicTransferable
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable
  super_class: javax.swing.plaf.basic.BasicTransferable
{
  javax.swing.text.Position p0;
    descriptor: Ljavax/swing/text/Position;
    flags: (0x0000) 

  javax.swing.text.Position p1;
    descriptor: Ljavax/swing/text/Position;
    flags: (0x0000) 

  java.lang.String mimeType;
    descriptor: Ljava/lang/String;
    flags: (0x0000) 

  java.lang.String richText;
    descriptor: Ljava/lang/String;
    flags: (0x0000) 

  javax.swing.text.JTextComponent c;
    descriptor: Ljavax/swing/text/JTextComponent;
    flags: (0x0000) 

  void <init>(javax.swing.text.JTextComponent, int, int);
    descriptor: (Ljavax/swing/text/JTextComponent;II)V
    flags: (0x0000) 
    Code:
      stack=6, locals=7, args_size=4
        start local 0 // javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable this
        start local 1 // javax.swing.text.JTextComponent c
        start local 2 // int start
        start local 3 // int end
         0: .line 2654
            aload 0 /* this */
            aconst_null
            aconst_null
            invokespecial javax.swing.plaf.basic.BasicTransferable.<init>:(Ljava/lang/String;Ljava/lang/String;)V
         1: .line 2656
            aload 0 /* this */
            aload 1 /* c */
            putfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.c:Ljavax/swing/text/JTextComponent;
         2: .line 2658
            aload 1 /* c */
            invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
            astore 4 /* doc */
        start local 4 // javax.swing.text.Document doc
         3: .line 2661
            aload 0 /* this */
            aload 4 /* doc */
            iload 2 /* start */
            invokeinterface javax.swing.text.Document.createPosition:(I)Ljavax/swing/text/Position;
            putfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p0:Ljavax/swing/text/Position;
         4: .line 2662
            aload 0 /* this */
            aload 4 /* doc */
            iload 3 /* end */
            invokeinterface javax.swing.text.Document.createPosition:(I)Ljavax/swing/text/Position;
            putfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p1:Ljavax/swing/text/Position;
         5: .line 2664
            aload 0 /* this */
            aload 1 /* c */
            invokevirtual javax.swing.text.JTextComponent.getSelectedText:()Ljava/lang/String;
            putfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.plainData:Ljava/lang/String;
         6: .line 2666
            aload 1 /* c */
            instanceof javax.swing.JEditorPane
            ifeq 20
         7: .line 2667
            aload 1 /* c */
            checkcast javax.swing.JEditorPane
            astore 5 /* ep */
        start local 5 // javax.swing.JEditorPane ep
         8: .line 2669
            aload 0 /* this */
            aload 5 /* ep */
            invokevirtual javax.swing.JEditorPane.getContentType:()Ljava/lang/String;
            putfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.mimeType:Ljava/lang/String;
         9: .line 2671
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.mimeType:Ljava/lang/String;
            ldc "text/plain"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 11
        10: .line 2672
            return
        11: .line 2675
      StackMap locals: javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable javax.swing.text.JTextComponent int int javax.swing.text.Document javax.swing.JEditorPane
      StackMap stack:
            new java.io.StringWriter
            dup
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p1:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p0:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            isub
            invokespecial java.io.StringWriter.<init>:(I)V
            astore 6 /* sw */
        start local 6 // java.io.StringWriter sw
        12: .line 2676
            aload 5 /* ep */
            invokevirtual javax.swing.JEditorPane.getEditorKit:()Ljavax/swing/text/EditorKit;
            aload 6 /* sw */
            aload 4 /* doc */
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p0:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p1:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p0:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            isub
            invokevirtual javax.swing.text.EditorKit.write:(Ljava/io/Writer;Ljavax/swing/text/Document;II)V
        13: .line 2678
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.mimeType:Ljava/lang/String;
            ldc "text/html"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 16
        14: .line 2679
            aload 0 /* this */
            aload 6 /* sw */
            invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
            putfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.htmlData:Ljava/lang/String;
        15: .line 2680
            goto 20
        16: .line 2681
      StackMap locals: java.io.StringWriter
      StackMap stack:
            aload 0 /* this */
            aload 6 /* sw */
            invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
            putfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.richText:Ljava/lang/String;
        end local 6 // java.io.StringWriter sw
        end local 5 // javax.swing.JEditorPane ep
        17: .line 2684
            goto 20
      StackMap locals: javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable javax.swing.text.JTextComponent int int javax.swing.text.Document
      StackMap stack: javax.swing.text.BadLocationException
        18: pop
            goto 20
        19: .line 2685
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
        20: .line 2687
      StackMap locals:
      StackMap stack:
            return
        end local 4 // javax.swing.text.Document doc
        end local 3 // int end
        end local 2 // int start
        end local 1 // javax.swing.text.JTextComponent c
        end local 0 // javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   21     0   this  Ljavax/swing/plaf/basic/BasicTextUI$TextTransferHandler$TextTransferable;
            0   21     1      c  Ljavax/swing/text/JTextComponent;
            0   21     2  start  I
            0   21     3    end  I
            3   21     4    doc  Ljavax/swing/text/Document;
            8   17     5     ep  Ljavax/swing/JEditorPane;
           12   17     6     sw  Ljava/io/StringWriter;
      Exception table:
        from    to  target  type
           3    10      18  Class javax.swing.text.BadLocationException
          11    17      18  Class javax.swing.text.BadLocationException
           3    10      19  Class java.io.IOException
          11    17      19  Class java.io.IOException
    MethodParameters:
       Name  Flags
      c      
      start  
      end    

  void removeText();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable this
         0: .line 2690
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p0:Ljavax/swing/text/Position;
            ifnull 5
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p1:Ljavax/swing/text/Position;
            ifnull 5
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p0:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p1:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            if_icmpeq 5
         1: .line 2692
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.c:Ljavax/swing/text/JTextComponent;
            invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
            astore 1 /* doc */
        start local 1 // javax.swing.text.Document doc
         2: .line 2693
            aload 1 /* doc */
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p0:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p1:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.p0:Ljavax/swing/text/Position;
            invokeinterface javax.swing.text.Position.getOffset:()I
            isub
            invokeinterface javax.swing.text.Document.remove:(II)V
        end local 1 // javax.swing.text.Document doc
         3: .line 2694
            goto 5
      StackMap locals:
      StackMap stack: javax.swing.text.BadLocationException
         4: pop
         5: .line 2697
      StackMap locals:
      StackMap stack:
            return
        end local 0 // javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljavax/swing/plaf/basic/BasicTextUI$TextTransferHandler$TextTransferable;
            2    3     1   doc  Ljavax/swing/text/Document;
      Exception table:
        from    to  target  type
           1     3       4  Class javax.swing.text.BadLocationException

  protected java.awt.datatransfer.DataFlavor[] getRicherFlavors();
    descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable this
         0: .line 2706
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.richText:Ljava/lang/String;
            ifnonnull 2
         1: .line 2707
            aconst_null
            areturn
         2: .line 2711
      StackMap locals:
      StackMap stack:
            iconst_3
            anewarray java.awt.datatransfer.DataFlavor
            astore 1 /* flavors */
        start local 1 // java.awt.datatransfer.DataFlavor[] flavors
         3: .line 2712
            aload 1 /* flavors */
            iconst_0
            new java.awt.datatransfer.DataFlavor
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.mimeType:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ";class=java.lang.String"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.awt.datatransfer.DataFlavor.<init>:(Ljava/lang/String;)V
            aastore
         4: .line 2713
            aload 1 /* flavors */
            iconst_1
            new java.awt.datatransfer.DataFlavor
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.mimeType:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ";class=java.io.Reader"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.awt.datatransfer.DataFlavor.<init>:(Ljava/lang/String;)V
            aastore
         5: .line 2714
            aload 1 /* flavors */
            iconst_2
            new java.awt.datatransfer.DataFlavor
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.mimeType:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ";class=java.io.InputStream;charset=unicode"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.awt.datatransfer.DataFlavor.<init>:(Ljava/lang/String;)V
            aastore
         6: .line 2715
            aload 1 /* flavors */
         7: areturn
        end local 1 // java.awt.datatransfer.DataFlavor[] flavors
         8: .line 2716
      StackMap locals:
      StackMap stack: java.lang.ClassNotFoundException
            pop
         9: .line 2720
            aconst_null
            areturn
        end local 0 // javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Ljavax/swing/plaf/basic/BasicTextUI$TextTransferHandler$TextTransferable;
            3    8     1  flavors  [Ljava/awt/datatransfer/DataFlavor;
      Exception table:
        from    to  target  type
           2     7       8  Class java.lang.ClassNotFoundException

  protected java.lang.Object getRicherData(java.awt.datatransfer.DataFlavor);
    descriptor: (Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable this
        start local 1 // java.awt.datatransfer.DataFlavor flavor
         0: .line 2728
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.richText:Ljava/lang/String;
            ifnonnull 2
         1: .line 2729
            aconst_null
            areturn
         2: .line 2732
      StackMap locals:
      StackMap stack:
            ldc Ljava/lang/String;
            aload 1 /* flavor */
            invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 2733
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.richText:Ljava/lang/String;
            areturn
         4: .line 2734
      StackMap locals:
      StackMap stack:
            ldc Ljava/io/Reader;
            aload 1 /* flavor */
            invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 6
         5: .line 2735
            new java.io.StringReader
            dup
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.richText:Ljava/lang/String;
            invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
            areturn
         6: .line 2736
      StackMap locals:
      StackMap stack:
            ldc Ljava/io/InputStream;
            aload 1 /* flavor */
            invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 8
         7: .line 2737
            new java.io.StringBufferInputStream
            dup
            aload 0 /* this */
            getfield javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.richText:Ljava/lang/String;
            invokespecial java.io.StringBufferInputStream.<init>:(Ljava/lang/String;)V
            areturn
         8: .line 2739
      StackMap locals:
      StackMap stack:
            new java.awt.datatransfer.UnsupportedFlavorException
            dup
            aload 1 /* flavor */
            invokespecial java.awt.datatransfer.UnsupportedFlavorException.<init>:(Ljava/awt/datatransfer/DataFlavor;)V
            athrow
        end local 1 // java.awt.datatransfer.DataFlavor flavor
        end local 0 // javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Ljavax/swing/plaf/basic/BasicTextUI$TextTransferHandler$TextTransferable;
            0    9     1  flavor  Ljava/awt/datatransfer/DataFlavor;
    Exceptions:
      throws java.awt.datatransfer.UnsupportedFlavorException
    MethodParameters:
        Name  Flags
      flavor  
}
SourceFile: "BasicTextUI.java"
NestHost: javax.swing.plaf.basic.BasicTextUI
InnerClasses:
  TextTransferHandler = javax.swing.plaf.basic.BasicTextUI$TextTransferHandler of javax.swing.plaf.basic.BasicTextUI
  TextTransferable = javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable of javax.swing.plaf.basic.BasicTextUI$TextTransferHandler