public class javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport extends javax.swing.JEditorPane$AccessibleJEditorPane implements javax.accessibility.AccessibleHypertext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport
super_class: javax.swing.JEditorPane$AccessibleJEditorPane
{
javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector hyperlinks;
descriptor: Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector;
flags: (0x0000)
boolean linksValid;
descriptor: Z
flags: (0x0000)
final javax.swing.JEditorPane this$0;
descriptor: Ljavax/swing/JEditorPane;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void buildLinkTable();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.hyperlinks:Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector;
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector.removeAllElements:()V
1: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.this$0:Ljavax/swing/JEditorPane;
invokevirtual javax.swing.JEditorPane.getDocument:()Ljavax/swing/text/Document;
astore 1
start local 1 2: aload 1
ifnull 16
3: new javax.swing.text.ElementIterator
dup
aload 1
invokespecial javax.swing.text.ElementIterator.<init>:(Ljavax/swing/text/Document;)V
astore 2
start local 2 4: goto 14
start local 3 5: StackMap locals: javax.swing.text.Document javax.swing.text.ElementIterator javax.swing.text.Element
StackMap stack:
aload 3
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 14
6: aload 3
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 4
start local 4 7: aload 4
getstatic javax.swing.text.html.HTML$Tag.A:Ljavax/swing/text/html/HTML$Tag;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.AttributeSet
astore 5
start local 5 8: aload 5
ifnull 10
9: aload 5
getstatic javax.swing.text.html.HTML$Attribute.HREF:Ljavax/swing/text/html/HTML$Attribute;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
goto 11
StackMap locals: javax.swing.text.AttributeSet javax.swing.text.AttributeSet
StackMap stack:
10: aconst_null
11: StackMap locals:
StackMap stack: java.lang.String
astore 6
start local 6 12: aload 6
ifnull 14
13: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.hyperlinks:Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector;
new javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$HTMLLink
dup
aload 0
aload 3
invokespecial javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$HTMLLink.<init>:(Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;Ljavax/swing/text/Element;)V
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector.addElement:(Ljava/lang/Object;)V
end local 6 end local 5 end local 4 end local 3 14: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.text.ElementIterator.next:()Ljavax/swing/text/Element;
dup
astore 3
start local 3 15: ifnonnull 5
end local 3 end local 2 16: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.linksValid:Z
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;
2 18 1 d Ljavax/swing/text/Document;
4 16 2 ei Ljavax/swing/text/ElementIterator;
5 14 3 e Ljavax/swing/text/Element;
15 16 3 e Ljavax/swing/text/Element;
7 14 4 as Ljavax/swing/text/AttributeSet;
8 14 5 anchor Ljavax/swing/text/AttributeSet;
12 14 6 href Ljava/lang/String;
public void <init>(javax.swing.JEditorPane);
descriptor: (Ljavax/swing/JEditorPane;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.this$0:Ljavax/swing/JEditorPane;
aload 0
aload 1
invokespecial javax.swing.JEditorPane$AccessibleJEditorPane.<init>:(Ljavax/swing/JEditorPane;)V
1: aload 0
iconst_0
putfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.linksValid:Z
2: aload 0
new javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector
dup
aload 0
invokespecial javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector.<init>:(Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;)V
putfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.hyperlinks:Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector;
3: aload 1
invokevirtual javax.swing.JEditorPane.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
new javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$1
dup
aload 0
invokespecial javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$1.<init>:(Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;)V
invokeinterface javax.swing.text.Document.addDocumentListener:(Ljavax/swing/event/DocumentListener;)V
6: StackMap locals: javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport javax.swing.JEditorPane javax.swing.text.Document
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;
4 7 2 d Ljavax/swing/text/Document;
MethodParameters:
Name Flags
this$0 final
public int getLinkCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.linksValid:Z
ifne 2
1: aload 0
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.buildLinkTable:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.hyperlinks:Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector;
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;
public int getLinkIndex(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.linksValid:Z
ifne 2
1: aload 0
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.buildLinkTable:()V
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.this$0:Ljavax/swing/JEditorPane;
invokevirtual javax.swing.JEditorPane.getDocument:()Ljavax/swing/text/Document;
astore 3
start local 3 4: aload 3
ifnull 9
5: aload 3
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 2
goto 8
6: StackMap locals: javax.swing.text.Element javax.swing.text.Document
StackMap stack:
aload 2
iload 1
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 4
start local 4 7: aload 2
iload 4
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 2
end local 4 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 6
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.hyperlinks:Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector;
aload 2
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector.baseElementIndex:(Ljavax/swing/text/Element;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;
0 10 1 charIndex I
3 10 2 e Ljavax/swing/text/Element;
4 10 3 doc Ljavax/swing/text/Document;
7 8 4 index I
MethodParameters:
Name Flags
charIndex
public javax.accessibility.AccessibleHyperlink getLink(int);
descriptor: (I)Ljavax/accessibility/AccessibleHyperlink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.linksValid:Z
ifne 2
1: aload 0
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.buildLinkTable:()V
2: StackMap locals:
StackMap stack:
iload 1
iflt 4
iload 1
aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.hyperlinks:Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector;
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector.size:()I
if_icmpge 4
3: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.hyperlinks:Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector;
iload 1
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector.elementAt:(I)Ljava/lang/Object;
checkcast javax.accessibility.AccessibleHyperlink
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;
0 5 1 linkIndex I
MethodParameters:
Name Flags
linkIndex
public java.lang.String getLinkText(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.linksValid:Z
ifne 2
1: aload 0
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.buildLinkTable:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.hyperlinks:Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector;
iload 1
invokevirtual javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.text.Element
astore 2
start local 2 3: aload 2
ifnull 12
4: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.this$0:Ljavax/swing/JEditorPane;
invokevirtual javax.swing.JEditorPane.getDocument:()Ljavax/swing/text/Document;
astore 3
start local 3 5: aload 3
ifnull 12
6: aload 3
aload 2
invokeinterface javax.swing.text.Element.getStartOffset:()I
7: aload 2
invokeinterface javax.swing.text.Element.getEndOffset:()I
aload 2
invokeinterface javax.swing.text.Element.getStartOffset:()I
isub
8: invokeinterface javax.swing.text.Document.getText:(II)Ljava/lang/String;
9: areturn
10: StackMap locals: javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport int javax.swing.text.Element javax.swing.text.Document
StackMap stack: javax.swing.text.BadLocationException
pop
11: aconst_null
areturn
end local 3 12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;
0 13 1 linkIndex I
3 13 2 e Ljavax/swing/text/Element;
5 12 3 d Ljavax/swing/text/Document;
Exception table:
from to target type
6 9 10 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
linkIndex
static javax.swing.JEditorPane access$0(javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport);
descriptor: (Ljavax/swing/JEditorPane$JEditorPaneAccessibleHypertextSupport;)Ljavax/swing/JEditorPane;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport.this$0:Ljavax/swing/JEditorPane;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JEditorPane.java"
NestHost: javax.swing.JEditorPane
InnerClasses:
protected AccessibleJEditorPane = javax.swing.JEditorPane$AccessibleJEditorPane of javax.swing.JEditorPane
protected JEditorPaneAccessibleHypertextSupport = javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport of javax.swing.JEditorPane
javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$1
public HTMLLink = javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$HTMLLink of javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport
private LinkVector = javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$LinkVector of javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport
public final Attribute = javax.swing.text.html.HTML$Attribute of javax.swing.text.html.HTML
public Tag = javax.swing.text.html.HTML$Tag of javax.swing.text.html.HTML