public class sun.jvm.hotspot.ui.SAEditorPane extends javax.swing.JEditorPane
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.ui.SAEditorPane
super_class: javax.swing.JEditorPane
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JEditorPane.<init>:()V
1: aload 0
iconst_0
invokevirtual sun.jvm.hotspot.ui.SAEditorPane.setEditable:(Z)V
2: aload 0
ldc "text/html"
invokevirtual sun.jvm.hotspot.ui.SAEditorPane.setContentType:(Ljava/lang/String;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/ui/SAEditorPane;
public java.lang.String getSelectedText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual sun.jvm.hotspot.ui.SAEditorPane.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 2: aload 0
invokevirtual sun.jvm.hotspot.ui.SAEditorPane.getSelectionStart:()I
istore 3
start local 3 3: aload 0
invokevirtual sun.jvm.hotspot.ui.SAEditorPane.getSelectionEnd:()I
istore 4
start local 4 4: new javax.swing.text.ElementIterator
dup
aload 2
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
invokespecial javax.swing.text.ElementIterator.<init>:(Ljavax/swing/text/Element;)V
astore 5
start local 5 5: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 6: goto 19
start local 6 7: StackMap locals: sun.jvm.hotspot.ui.SAEditorPane java.lang.StringBuffer javax.swing.text.Document int int javax.swing.text.ElementIterator javax.swing.text.Element java.lang.String
StackMap stack:
aload 6
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 19
8: aload 6
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 8
start local 8 9: aload 6
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 9
start local 9 10: iload 9
iload 3
if_icmplt 19
iload 8
iload 4
if_icmple 11
goto 19
11: StackMap locals: int int
StackMap stack:
iload 4
iload 9
if_icmpge 12
iload 4
istore 9
12: StackMap locals:
StackMap stack:
iload 3
iload 8
if_icmple 13
iload 3
istore 8
13: StackMap locals:
StackMap stack:
aload 0
iload 8
iload 9
iload 8
isub
invokevirtual sun.jvm.hotspot.ui.SAEditorPane.getText:(II)Ljava/lang/String;
astore 10
start local 10 14: aload 6
invokeinterface javax.swing.text.Element.getName:()Ljava/lang/String;
ldc "br"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: aload 1
aload 7
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
goto 19
16: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 10
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 10 17: goto 19
StackMap locals: sun.jvm.hotspot.ui.SAEditorPane java.lang.StringBuffer javax.swing.text.Document int int javax.swing.text.ElementIterator javax.swing.text.Element java.lang.String int int
StackMap stack: javax.swing.text.BadLocationException
18: pop
end local 9 end local 8 end local 6 19: StackMap locals: sun.jvm.hotspot.ui.SAEditorPane java.lang.StringBuffer javax.swing.text.Document int int javax.swing.text.ElementIterator top java.lang.String
StackMap stack:
aload 5
invokevirtual javax.swing.text.ElementIterator.next:()Ljavax/swing/text/Element;
dup
astore 6
start local 6 20: ifnonnull 7
end local 7 end local 6 end local 5 21: goto 24
StackMap locals: sun.jvm.hotspot.ui.SAEditorPane java.lang.StringBuffer javax.swing.text.Document int int
StackMap stack: java.lang.Exception
22: astore 5
start local 5 23: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
end local 5 24: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/jvm/hotspot/ui/SAEditorPane;
1 25 1 result Ljava/lang/StringBuffer;
2 25 2 doc Ljavax/swing/text/Document;
3 25 3 start I
4 25 4 end I
5 21 5 it Ljavax/swing/text/ElementIterator;
7 19 6 e Ljavax/swing/text/Element;
20 21 6 e Ljavax/swing/text/Element;
6 21 7 separator Ljava/lang/String;
9 19 8 rangeStart I
10 19 9 rangeEnd I
14 17 10 line Ljava/lang/String;
23 24 5 e Ljava/lang/Exception;
Exception table:
from to target type
13 17 18 Class javax.swing.text.BadLocationException
4 21 22 Class java.lang.Exception
public void setText(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
aload 1
invokespecial javax.swing.JEditorPane.setText:(Ljava/lang/String;)V
1: aload 0
iconst_0
invokevirtual sun.jvm.hotspot.ui.SAEditorPane.setCaretPosition:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/ui/SAEditorPane;
0 3 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
}
SourceFile: "SAEditorPane.java"