class javax.swing.text.html.HTMLEditorKit$ActivateLinkAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.html.HTMLEditorKit$ActivateLinkAction
super_class: javax.swing.text.TextAction
{
public void <init>(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.text.TextAction.<init>:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/html/HTMLEditorKit$ActivateLinkAction;
0 2 1 actionName Ljava/lang/String;
MethodParameters:
Name Flags
actionName
private void activateLink(java.lang.String, javax.swing.text.html.HTMLDocument, javax.swing.JEditorPane, int);
descriptor: (Ljava/lang/String;Ljavax/swing/text/html/HTMLDocument;Ljavax/swing/JEditorPane;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ldc "stream"
invokevirtual javax.swing.text.html.HTMLDocument.getProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.URL
1: astore 5
start local 5 2: new java.net.URL
dup
aload 5
aload 1
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 6
start local 6 3: new javax.swing.event.HyperlinkEvent
dup
4: aload 3
5: getstatic javax.swing.event.HyperlinkEvent$EventType.ACTIVATED:Ljavax/swing/event/HyperlinkEvent$EventType;
aload 6
aload 6
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
6: aload 2
iload 4
invokevirtual javax.swing.text.html.HTMLDocument.getCharacterElement:(I)Ljavax/swing/text/Element;
7: invokespecial javax.swing.event.HyperlinkEvent.<init>:(Ljava/lang/Object;Ljavax/swing/event/HyperlinkEvent$EventType;Ljava/net/URL;Ljava/lang/String;Ljavax/swing/text/Element;)V
astore 7
start local 7 8: aload 3
aload 7
invokevirtual javax.swing.JEditorPane.fireHyperlinkUpdate:(Ljavax/swing/event/HyperlinkEvent;)V
end local 7 end local 6 end local 5 9: goto 11
StackMap locals:
StackMap stack: java.net.MalformedURLException
10: pop
11: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/text/html/HTMLEditorKit$ActivateLinkAction;
0 12 1 href Ljava/lang/String;
0 12 2 doc Ljavax/swing/text/html/HTMLDocument;
0 12 3 editor Ljavax/swing/JEditorPane;
0 12 4 offset I
2 9 5 page Ljava/net/URL;
3 9 6 url Ljava/net/URL;
8 9 7 linkEvent Ljavax/swing/event/HyperlinkEvent;
Exception table:
from to target type
0 9 10 Class java.net.MalformedURLException
MethodParameters:
Name Flags
href
doc
editor
offset
private void doObjectAction(javax.swing.JEditorPane, javax.swing.text.Element);
descriptor: (Ljavax/swing/JEditorPane;Ljavax/swing/text/Element;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.getView:(Ljavax/swing/JEditorPane;Ljavax/swing/text/Element;)Ljavax/swing/text/View;
astore 3
start local 3 1: aload 3
ifnull 9
aload 3
instanceof javax.swing.text.html.ObjectView
ifeq 9
2: aload 3
checkcast javax.swing.text.html.ObjectView
invokevirtual javax.swing.text.html.ObjectView.getComponent:()Ljava/awt/Component;
astore 4
start local 4 3: aload 4
ifnull 9
aload 4
instanceof javax.accessibility.Accessible
ifeq 9
4: aload 4
invokevirtual java.awt.Component.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
astore 5
start local 5 5: aload 5
ifnull 9
6: aload 5
invokevirtual javax.accessibility.AccessibleContext.getAccessibleAction:()Ljavax/accessibility/AccessibleAction;
astore 6
start local 6 7: aload 6
ifnull 9
8: aload 6
iconst_0
invokeinterface javax.accessibility.AccessibleAction.doAccessibleAction:(I)Z
pop
end local 6 end local 5 end local 4 9: StackMap locals: javax.swing.text.View
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/html/HTMLEditorKit$ActivateLinkAction;
0 10 1 editor Ljavax/swing/JEditorPane;
0 10 2 elem Ljavax/swing/text/Element;
1 10 3 view Ljavax/swing/text/View;
3 9 4 comp Ljava/awt/Component;
5 9 5 ac Ljavax/accessibility/AccessibleContext;
7 9 6 aa Ljavax/accessibility/AccessibleAction;
MethodParameters:
Name Flags
editor
elem
private javax.swing.text.View getRootView(javax.swing.JEditorPane);
descriptor: (Ljavax/swing/JEditorPane;)Ljavax/swing/text/View;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.JEditorPane.getUI:()Ljavax/swing/plaf/TextUI;
aload 1
invokevirtual javax.swing.plaf.TextUI.getRootView:(Ljavax/swing/text/JTextComponent;)Ljavax/swing/text/View;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/HTMLEditorKit$ActivateLinkAction;
0 1 1 editor Ljavax/swing/JEditorPane;
MethodParameters:
Name Flags
editor
private javax.swing.text.View getView(javax.swing.JEditorPane, javax.swing.text.Element);
descriptor: (Ljavax/swing/JEditorPane;Ljavax/swing/text/Element;)Ljavax/swing/text/View;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.lock:(Ljavax/swing/JEditorPane;)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
aload 1
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.getRootView:(Ljavax/swing/JEditorPane;)Ljavax/swing/text/View;
astore 4
start local 4 2: aload 2
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 5
start local 5 3: aload 4
ifnull 7
4: aload 0
aload 4
aload 2
iload 5
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.getView:(Ljavax/swing/text/View;Ljavax/swing/text/Element;I)Ljavax/swing/text/View;
astore 7
5: aload 0
aload 3
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.unlock:(Ljava/lang/Object;)V
6: aload 7
areturn
7: StackMap locals: java.lang.Object javax.swing.text.View int
StackMap stack:
aload 0
aload 3
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.unlock:(Ljava/lang/Object;)V
8: aconst_null
areturn
end local 5 end local 4 9: StackMap locals: javax.swing.text.html.HTMLEditorKit$ActivateLinkAction javax.swing.JEditorPane javax.swing.text.Element java.lang.Object
StackMap stack: java.lang.Throwable
astore 6
10: aload 0
aload 3
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.unlock:(Ljava/lang/Object;)V
11: aload 6
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/text/html/HTMLEditorKit$ActivateLinkAction;
0 12 1 editor Ljavax/swing/JEditorPane;
0 12 2 elem Ljavax/swing/text/Element;
1 12 3 lock Ljava/lang/Object;
2 9 4 rootView Ljavax/swing/text/View;
3 9 5 start I
Exception table:
from to target type
1 5 9 any
MethodParameters:
Name Flags
editor
elem
private javax.swing.text.View getView(javax.swing.text.View, javax.swing.text.Element, int);
descriptor: (Ljavax/swing/text/View;Ljavax/swing/text/Element;I)Ljavax/swing/text/View;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual javax.swing.text.View.getElement:()Ljavax/swing/text/Element;
aload 2
if_acmpne 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
iload 3
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.text.View.getViewIndex:(ILjavax/swing/text/Position$Bias;)I
istore 4
start local 4 3: iload 4
iconst_m1
if_icmpeq 5
iload 4
aload 1
invokevirtual javax.swing.text.View.getViewCount:()I
if_icmpge 5
4: aload 0
aload 1
iload 4
invokevirtual javax.swing.text.View.getView:(I)Ljavax/swing/text/View;
aload 2
iload 3
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.getView:(Ljavax/swing/text/View;Ljavax/swing/text/Element;I)Ljavax/swing/text/View;
areturn
5: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/html/HTMLEditorKit$ActivateLinkAction;
0 6 1 parent Ljavax/swing/text/View;
0 6 2 elem Ljavax/swing/text/Element;
0 6 3 start I
3 6 4 index I
MethodParameters:
Name Flags
parent
elem
start
private java.lang.Object lock(javax.swing.JEditorPane);
descriptor: (Ljavax/swing/JEditorPane;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.JEditorPane.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 1: aload 2
instanceof javax.swing.text.AbstractDocument
ifeq 4
2: aload 2
checkcast javax.swing.text.AbstractDocument
invokevirtual javax.swing.text.AbstractDocument.readLock:()V
3: aload 2
areturn
4: StackMap locals: javax.swing.text.Document
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/html/HTMLEditorKit$ActivateLinkAction;
0 5 1 editor Ljavax/swing/JEditorPane;
1 5 2 document Ljavax/swing/text/Document;
MethodParameters:
Name Flags
editor
private void unlock(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 1
checkcast javax.swing.text.AbstractDocument
invokevirtual javax.swing.text.AbstractDocument.readUnlock:()V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/HTMLEditorKit$ActivateLinkAction;
0 3 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifne 2
aload 2
instanceof javax.swing.JEditorPane
ifne 3
2: StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
return
3: StackMap locals:
StackMap stack:
aload 2
checkcast javax.swing.JEditorPane
astore 3
start local 3 4: aload 3
invokevirtual javax.swing.JEditorPane.getDocument:()Ljavax/swing/text/Document;
astore 4
start local 4 5: aload 4
ifnull 6
aload 4
instanceof javax.swing.text.html.HTMLDocument
ifne 7
6: StackMap locals: javax.swing.JEditorPane javax.swing.text.Document
StackMap stack:
return
7: StackMap locals:
StackMap stack:
aload 4
checkcast javax.swing.text.html.HTMLDocument
astore 5
start local 5 8: new javax.swing.text.ElementIterator
dup
aload 5
invokespecial javax.swing.text.ElementIterator.<init>:(Ljavax/swing/text/Document;)V
astore 6
start local 6 9: aload 3
invokevirtual javax.swing.JEditorPane.getCaretPosition:()I
istore 7
start local 7 10: goto 26
start local 8 11: StackMap locals: javax.swing.text.html.HTMLEditorKit$ActivateLinkAction java.awt.event.ActionEvent javax.swing.text.JTextComponent javax.swing.JEditorPane javax.swing.text.Document javax.swing.text.html.HTMLDocument javax.swing.text.ElementIterator int javax.swing.text.Element
StackMap stack:
aload 8
invokeinterface javax.swing.text.Element.getName:()Ljava/lang/String;
astore 9
start local 9 12: aload 8
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 10
start local 10 13: aload 10
getstatic javax.swing.text.html.HTML$Attribute.HREF:Ljavax/swing/text/html/HTML$Attribute;
invokestatic javax.swing.text.html.HTMLEditorKit.getAttrValue:(Ljavax/swing/text/AttributeSet;Ljavax/swing/text/html/HTML$Attribute;)Ljava/lang/Object;
astore 11
start local 11 14: aload 11
ifnull 19
15: iload 7
aload 8
invokeinterface javax.swing.text.Element.getStartOffset:()I
if_icmplt 26
16: iload 7
aload 8
invokeinterface javax.swing.text.Element.getEndOffset:()I
if_icmpgt 26
17: aload 0
aload 11
checkcast java.lang.String
aload 5
aload 3
iload 7
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.activateLink:(Ljava/lang/String;Ljavax/swing/text/html/HTMLDocument;Ljavax/swing/JEditorPane;I)V
18: return
19: StackMap locals: java.lang.String javax.swing.text.AttributeSet java.lang.Object
StackMap stack:
aload 9
getstatic javax.swing.text.html.HTML$Tag.OBJECT:Ljavax/swing/text/html/HTML$Tag;
invokevirtual javax.swing.text.html.HTML$Tag.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
20: aload 10
getstatic javax.swing.text.html.HTML$Attribute.CLASSID:Ljavax/swing/text/html/HTML$Attribute;
invokestatic javax.swing.text.html.HTMLEditorKit.getAttrValue:(Ljavax/swing/text/AttributeSet;Ljavax/swing/text/html/HTML$Attribute;)Ljava/lang/Object;
astore 12
start local 12 21: aload 12
ifnull 26
22: iload 7
aload 8
invokeinterface javax.swing.text.Element.getStartOffset:()I
if_icmplt 26
23: iload 7
aload 8
invokeinterface javax.swing.text.Element.getEndOffset:()I
if_icmpgt 26
24: aload 0
aload 3
aload 8
invokevirtual javax.swing.text.html.HTMLEditorKit$ActivateLinkAction.doObjectAction:(Ljavax/swing/JEditorPane;Ljavax/swing/text/Element;)V
25: return
end local 12 end local 11 end local 10 end local 9 end local 8 26: StackMap locals: javax.swing.text.html.HTMLEditorKit$ActivateLinkAction java.awt.event.ActionEvent javax.swing.text.JTextComponent javax.swing.JEditorPane javax.swing.text.Document javax.swing.text.html.HTMLDocument javax.swing.text.ElementIterator int
StackMap stack:
aload 6
invokevirtual javax.swing.text.ElementIterator.next:()Ljavax/swing/text/Element;
dup
astore 8
start local 8 27: ifnonnull 11
28: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljavax/swing/text/html/HTMLEditorKit$ActivateLinkAction;
0 29 1 e Ljava/awt/event/ActionEvent;
1 29 2 c Ljavax/swing/text/JTextComponent;
4 29 3 editor Ljavax/swing/JEditorPane;
5 29 4 d Ljavax/swing/text/Document;
8 29 5 doc Ljavax/swing/text/html/HTMLDocument;
9 29 6 ei Ljavax/swing/text/ElementIterator;
10 29 7 currentOffset I
11 26 8 currentElement Ljavax/swing/text/Element;
27 29 8 currentElement Ljavax/swing/text/Element;
12 26 9 name Ljava/lang/String;
13 26 10 attr Ljavax/swing/text/AttributeSet;
14 26 11 href Ljava/lang/Object;
21 26 12 obj Ljava/lang/Object;
MethodParameters:
Name Flags
e
}
SourceFile: "HTMLEditorKit.java"
NestHost: javax.swing.text.html.HTMLEditorKit
InnerClasses:
public final EventType = javax.swing.event.HyperlinkEvent$EventType of javax.swing.event.HyperlinkEvent
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position
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
ActivateLinkAction = javax.swing.text.html.HTMLEditorKit$ActivateLinkAction of javax.swing.text.html.HTMLEditorKit