public class javax.swing.text.html.HTMLEditorKit$LinkController extends java.awt.event.MouseAdapter implements java.awt.event.MouseMotionListener, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.html.HTMLEditorKit$LinkController
super_class: java.awt.event.MouseAdapter
{
private javax.swing.text.Element curElem;
descriptor: Ljavax/swing/text/Element;
flags: (0x0002) ACC_PRIVATE
private boolean curElemImage;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String href;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private transient javax.swing.text.Position$Bias[] bias;
descriptor: [Ljavax/swing/text/Position$Bias;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private int curOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.awt.event.MouseAdapter.<init>:()V
1: aload 0
aconst_null
putfield javax.swing.text.html.HTMLEditorKit$LinkController.curElem:Ljavax/swing/text/Element;
2: aload 0
iconst_0
putfield javax.swing.text.html.HTMLEditorKit$LinkController.curElemImage:Z
3: aload 0
aconst_null
putfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
4: aload 0
iconst_1
anewarray javax.swing.text.Position$Bias
putfield javax.swing.text.html.HTMLEditorKit$LinkController.bias:[Ljavax/swing/text/Position$Bias;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JEditorPane
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.JEditorPane.isEditable:()Z
ifne 7
aload 2
invokevirtual javax.swing.JEditorPane.isEnabled:()Z
ifeq 7
2: aload 1
invokestatic javax.swing.SwingUtilities.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 7
3: new java.awt.Point
dup
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
invokespecial java.awt.Point.<init>:(II)V
astore 3
start local 3 4: aload 2
aload 3
invokevirtual javax.swing.JEditorPane.viewToModel:(Ljava/awt/Point;)I
istore 4
start local 4 5: iload 4
iflt 7
6: aload 0
iload 4
aload 2
aload 1
invokevirtual javax.swing.text.html.HTMLEditorKit$LinkController.activateLink:(ILjavax/swing/JEditorPane;Ljava/awt/event/MouseEvent;)V
end local 4 end local 3 7: StackMap locals: javax.swing.JEditorPane
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
0 8 1 e Ljava/awt/event/MouseEvent;
1 8 2 editor Ljavax/swing/JEditorPane;
4 7 3 pt Ljava/awt/Point;
5 7 4 pos I
MethodParameters:
Name Flags
e
public void mouseDragged(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseMoved(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=14, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JEditorPane
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.JEditorPane.isEnabled:()Z
ifne 3
2: return
3: StackMap locals: javax.swing.JEditorPane
StackMap stack:
aload 2
invokevirtual javax.swing.JEditorPane.getEditorKit:()Ljavax/swing/text/EditorKit;
checkcast javax.swing.text.html.HTMLEditorKit
astore 3
start local 3 4: iconst_1
istore 4
start local 4 5: aload 3
invokevirtual javax.swing.text.html.HTMLEditorKit.getDefaultCursor:()Ljava/awt/Cursor;
astore 5
start local 5 6: aload 2
invokevirtual javax.swing.JEditorPane.isEditable:()Z
ifne 54
7: new java.awt.Point
dup
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
invokespecial java.awt.Point.<init>:(II)V
astore 6
start local 6 8: aload 2
invokevirtual javax.swing.JEditorPane.getUI:()Ljavax/swing/plaf/TextUI;
aload 2
aload 6
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.bias:[Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.plaf.TextUI.viewToModel:(Ljavax/swing/text/JTextComponent;Ljava/awt/Point;[Ljavax/swing/text/Position$Bias;)I
istore 7
start local 7 9: aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.bias:[Ljavax/swing/text/Position$Bias;
iconst_0
aaload
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
if_acmpne 11
iload 7
ifle 11
10: iinc 7 -1
11: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController java.awt.event.MouseEvent javax.swing.JEditorPane javax.swing.text.html.HTMLEditorKit int java.awt.Cursor java.awt.Point int
StackMap stack:
iload 7
iflt 54
aload 2
invokevirtual javax.swing.JEditorPane.getDocument:()Ljavax/swing/text/Document;
instanceof javax.swing.text.html.HTMLDocument
ifeq 54
12: aload 2
invokevirtual javax.swing.JEditorPane.getDocument:()Ljavax/swing/text/Document;
checkcast javax.swing.text.html.HTMLDocument
astore 8
start local 8 13: aload 8
iload 7
invokevirtual javax.swing.text.html.HTMLDocument.getCharacterElement:(I)Ljavax/swing/text/Element;
astore 9
start local 9 14: aload 0
aload 2
aload 9
iload 7
15: aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
16: invokevirtual javax.swing.text.html.HTMLEditorKit$LinkController.doesElementContainLocation:(Ljavax/swing/JEditorPane;Ljavax/swing/text/Element;III)Z
17: ifne 19
18: aconst_null
astore 9
19: StackMap locals: javax.swing.text.html.HTMLDocument javax.swing.text.Element
StackMap stack:
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.curElem:Ljavax/swing/text/Element;
aload 9
if_acmpne 20
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.curElemImage:Z
ifeq 52
20: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.curElem:Ljavax/swing/text/Element;
astore 10
start local 10 21: aload 0
aload 9
putfield javax.swing.text.html.HTMLEditorKit$LinkController.curElem:Ljavax/swing/text/Element;
22: aconst_null
astore 11
start local 11 23: aload 0
iconst_0
putfield javax.swing.text.html.HTMLEditorKit$LinkController.curElemImage:Z
24: aload 9
ifnull 44
25: aload 9
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 12
start local 12 26: aload 12
27: 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;
28: checkcast javax.swing.text.AttributeSet
astore 13
start local 13 29: aload 13
ifnonnull 41
30: aload 0
aload 12
31: getstatic javax.swing.text.StyleConstants.NameAttribute:Ljava/lang/Object;
32: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
33: getstatic javax.swing.text.html.HTML$Tag.IMG:Ljavax/swing/text/html/HTML$Tag;
if_acmpne 34
iconst_1
goto 35
StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController java.awt.event.MouseEvent javax.swing.JEditorPane javax.swing.text.html.HTMLEditorKit int java.awt.Cursor java.awt.Point int javax.swing.text.html.HTMLDocument javax.swing.text.Element javax.swing.text.Element java.lang.String javax.swing.text.AttributeSet javax.swing.text.AttributeSet
StackMap stack: javax.swing.text.html.HTMLEditorKit$LinkController
34: iconst_0
35: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController java.awt.event.MouseEvent javax.swing.JEditorPane javax.swing.text.html.HTMLEditorKit int java.awt.Cursor java.awt.Point int javax.swing.text.html.HTMLDocument javax.swing.text.Element javax.swing.text.Element java.lang.String javax.swing.text.AttributeSet javax.swing.text.AttributeSet
StackMap stack: javax.swing.text.html.HTMLEditorKit$LinkController int
putfield javax.swing.text.html.HTMLEditorKit$LinkController.curElemImage:Z
36: aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.curElemImage:Z
ifeq 44
37: aload 0
aload 2
aload 8
aload 9
aload 12
38: iload 7
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
39: invokevirtual javax.swing.text.html.HTMLEditorKit$LinkController.getMapHREF:(Ljavax/swing/JEditorPane;Ljavax/swing/text/html/HTMLDocument;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;III)Ljava/lang/String;
astore 11
40: goto 44
41: StackMap locals:
StackMap stack:
aload 13
42: getstatic javax.swing.text.html.HTML$Attribute.HREF:Ljavax/swing/text/html/HTML$Attribute;
43: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 11
end local 13 end local 12 44: StackMap locals:
StackMap stack:
aload 11
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
if_acmpeq 50
45: aload 0
aload 2
aload 8
aload 11
aload 10
aload 1
invokevirtual javax.swing.text.html.HTMLEditorKit$LinkController.fireEvents:(Ljavax/swing/JEditorPane;Ljavax/swing/text/html/HTMLDocument;Ljava/lang/String;Ljavax/swing/text/Element;Ljava/awt/event/MouseEvent;)V
46: aload 0
aload 11
putfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
47: aload 11
ifnull 53
48: aload 3
invokevirtual javax.swing.text.html.HTMLEditorKit.getLinkCursor:()Ljava/awt/Cursor;
astore 5
49: goto 53
50: StackMap locals:
StackMap stack:
iconst_0
istore 4
end local 11 end local 10 51: goto 53
52: StackMap locals:
StackMap stack:
iconst_0
istore 4
53: StackMap locals:
StackMap stack:
aload 0
iload 7
putfield javax.swing.text.html.HTMLEditorKit$LinkController.curOffset:I
end local 9 end local 8 end local 7 end local 6 54: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController java.awt.event.MouseEvent javax.swing.JEditorPane javax.swing.text.html.HTMLEditorKit int java.awt.Cursor
StackMap stack:
iload 4
ifeq 56
aload 2
invokevirtual javax.swing.JEditorPane.getCursor:()Ljava/awt/Cursor;
aload 5
if_acmpeq 56
55: aload 2
aload 5
invokevirtual javax.swing.JEditorPane.setCursor:(Ljava/awt/Cursor;)V
56: StackMap locals:
StackMap stack:
return
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 57 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
0 57 1 e Ljava/awt/event/MouseEvent;
1 57 2 editor Ljavax/swing/JEditorPane;
4 57 3 kit Ljavax/swing/text/html/HTMLEditorKit;
5 57 4 adjustCursor Z
6 57 5 newCursor Ljava/awt/Cursor;
8 54 6 pt Ljava/awt/Point;
9 54 7 pos I
13 54 8 hdoc Ljavax/swing/text/html/HTMLDocument;
14 54 9 elem Ljavax/swing/text/Element;
21 51 10 lastElem Ljavax/swing/text/Element;
23 51 11 href Ljava/lang/String;
26 44 12 a Ljavax/swing/text/AttributeSet;
29 44 13 anchor Ljavax/swing/text/AttributeSet;
MethodParameters:
Name Flags
e
private java.lang.String getMapHREF(javax.swing.JEditorPane, javax.swing.text.html.HTMLDocument, javax.swing.text.Element, javax.swing.text.AttributeSet, int, int, int);
descriptor: (Ljavax/swing/JEditorPane;Ljavax/swing/text/html/HTMLDocument;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;III)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=14, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 4
getstatic javax.swing.text.html.HTML$Attribute.USEMAP:Ljavax/swing/text/html/HTML$Attribute;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 1: aload 8
ifnull 29
aload 8
instanceof java.lang.String
ifeq 29
2: aload 2
aload 8
checkcast java.lang.String
invokevirtual javax.swing.text.html.HTMLDocument.getMap:(Ljava/lang/String;)Ljavax/swing/text/html/Map;
astore 9
start local 9 3: aload 9
ifnull 29
iload 5
aload 2
invokevirtual javax.swing.text.html.HTMLDocument.getLength:()I
if_icmpge 29
4: aload 1
invokevirtual javax.swing.JEditorPane.getUI:()Ljavax/swing/plaf/TextUI;
astore 11
start local 11 5: aload 11
aload 1
iload 5
6: getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
7: invokevirtual javax.swing.plaf.TextUI.modelToView:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;
astore 12
start local 12 8: aload 11
aload 1
iload 5
iconst_1
iadd
9: getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
10: invokevirtual javax.swing.plaf.TextUI.modelToView:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;
astore 13
start local 13 11: aload 12
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
astore 10
start local 10 12: aload 10
aload 13
instanceof java.awt.Rectangle
ifeq 14
13: aload 13
checkcast java.awt.Rectangle
goto 15
StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController javax.swing.JEditorPane javax.swing.text.html.HTMLDocument javax.swing.text.Element javax.swing.text.AttributeSet int int int java.lang.Object javax.swing.text.html.Map java.awt.Rectangle javax.swing.plaf.TextUI java.awt.Shape java.awt.Shape
StackMap stack: java.awt.Rectangle
14: aload 13
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
15: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController javax.swing.JEditorPane javax.swing.text.html.HTMLDocument javax.swing.text.Element javax.swing.text.AttributeSet int int int java.lang.Object javax.swing.text.html.Map java.awt.Rectangle javax.swing.plaf.TextUI java.awt.Shape java.awt.Shape
StackMap stack: java.awt.Rectangle java.awt.Rectangle
invokevirtual java.awt.Rectangle.add:(Ljava/awt/Rectangle;)V
end local 13 end local 12 16: goto 19
end local 10 StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController javax.swing.JEditorPane javax.swing.text.html.HTMLDocument javax.swing.text.Element javax.swing.text.AttributeSet int int int java.lang.Object javax.swing.text.html.Map top javax.swing.plaf.TextUI
StackMap stack: javax.swing.text.BadLocationException
17: pop
18: aconst_null
astore 10
start local 10 19: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController javax.swing.JEditorPane javax.swing.text.html.HTMLDocument javax.swing.text.Element javax.swing.text.AttributeSet int int int java.lang.Object javax.swing.text.html.Map java.awt.Rectangle javax.swing.plaf.TextUI
StackMap stack:
aload 10
ifnull 29
20: aload 9
iload 6
aload 10
getfield java.awt.Rectangle.x:I
isub
21: iload 7
aload 10
getfield java.awt.Rectangle.y:I
isub
22: aload 10
getfield java.awt.Rectangle.width:I
23: aload 10
getfield java.awt.Rectangle.height:I
24: invokevirtual javax.swing.text.html.Map.getArea:(IIII)Ljavax/swing/text/AttributeSet;
astore 12
start local 12 25: aload 12
ifnull 29
26: aload 12
27: getstatic javax.swing.text.html.HTML$Attribute.HREF:Ljavax/swing/text/html/HTML$Attribute;
28: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 12 end local 11 end local 10 end local 9 29: StackMap locals:
StackMap stack:
aconst_null
areturn
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 30 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
0 30 1 html Ljavax/swing/JEditorPane;
0 30 2 hdoc Ljavax/swing/text/html/HTMLDocument;
0 30 3 elem Ljavax/swing/text/Element;
0 30 4 attr Ljavax/swing/text/AttributeSet;
0 30 5 offset I
0 30 6 x I
0 30 7 y I
1 30 8 useMap Ljava/lang/Object;
3 29 9 m Ljavax/swing/text/html/Map;
12 17 10 bounds Ljava/awt/Rectangle;
19 29 10 bounds Ljava/awt/Rectangle;
5 29 11 ui Ljavax/swing/plaf/TextUI;
8 16 12 lBounds Ljava/awt/Shape;
11 16 13 rBounds Ljava/awt/Shape;
25 29 12 area Ljavax/swing/text/AttributeSet;
Exception table:
from to target type
5 16 17 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
html
hdoc
elem
attr
offset
x
y
private boolean doesElementContainLocation(javax.swing.JEditorPane, javax.swing.text.Element, int, int, int);
descriptor: (Ljavax/swing/JEditorPane;Ljavax/swing/text/Element;III)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
ifnull 21
iload 3
ifle 21
aload 2
invokeinterface javax.swing.text.Element.getStartOffset:()I
iload 3
if_icmpne 21
1: aload 1
invokevirtual javax.swing.JEditorPane.getUI:()Ljavax/swing/plaf/TextUI;
astore 6
start local 6 2: aload 6
aload 1
iload 3
3: getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
4: invokevirtual javax.swing.plaf.TextUI.modelToView:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;
astore 7
start local 7 5: aload 7
ifnonnull 7
6: iconst_0
ireturn
7: StackMap locals: javax.swing.plaf.TextUI java.awt.Shape
StackMap stack:
aload 7
instanceof java.awt.Rectangle
ifeq 8
aload 7
checkcast java.awt.Rectangle
goto 9
8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
9: StackMap locals:
StackMap stack: java.awt.Rectangle
astore 8
start local 8 10: aload 6
aload 1
aload 2
invokeinterface javax.swing.text.Element.getEndOffset:()I
11: getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
12: invokevirtual javax.swing.plaf.TextUI.modelToView:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;
astore 9
start local 9 13: aload 9
ifnull 18
14: aload 9
instanceof java.awt.Rectangle
ifeq 15
aload 9
checkcast java.awt.Rectangle
goto 16
15: StackMap locals: java.awt.Rectangle java.awt.Shape
StackMap stack:
aload 9
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
16: StackMap locals:
StackMap stack: java.awt.Rectangle
astore 10
start local 10 17: aload 8
aload 10
invokevirtual java.awt.Rectangle.add:(Ljava/awt/Rectangle;)V
end local 10 18: StackMap locals:
StackMap stack:
aload 8
iload 4
iload 5
invokevirtual java.awt.Rectangle.contains:(II)Z
19: ireturn
end local 9 end local 8 end local 7 end local 6 20: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController javax.swing.JEditorPane javax.swing.text.Element int int int
StackMap stack: javax.swing.text.BadLocationException
pop
21: StackMap locals:
StackMap stack:
iconst_1
ireturn
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 22 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
0 22 1 editor Ljavax/swing/JEditorPane;
0 22 2 e Ljavax/swing/text/Element;
0 22 3 offset I
0 22 4 x I
0 22 5 y I
2 20 6 ui Ljavax/swing/plaf/TextUI;
5 20 7 s1 Ljava/awt/Shape;
10 20 8 r1 Ljava/awt/Rectangle;
13 20 9 s2 Ljava/awt/Shape;
17 18 10 r2 Ljava/awt/Rectangle;
Exception table:
from to target type
1 6 20 Class javax.swing.text.BadLocationException
7 19 20 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
editor
e
offset
x
y
protected void activateLink(int, javax.swing.JEditorPane);
descriptor: (ILjavax/swing/JEditorPane;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
aconst_null
invokevirtual javax.swing.text.html.HTMLEditorKit$LinkController.activateLink:(ILjavax/swing/JEditorPane;Ljava/awt/event/MouseEvent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
0 2 1 pos I
0 2 2 editor Ljavax/swing/JEditorPane;
MethodParameters:
Name Flags
pos
editor
void activateLink(int, javax.swing.JEditorPane, java.awt.event.MouseEvent);
descriptor: (ILjavax/swing/JEditorPane;Ljava/awt/event/MouseEvent;)V
flags: (0x0000)
Code:
stack=9, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual javax.swing.JEditorPane.getDocument:()Ljavax/swing/text/Document;
astore 4
start local 4 1: aload 4
instanceof javax.swing.text.html.HTMLDocument
ifeq 22
2: aload 4
checkcast javax.swing.text.html.HTMLDocument
astore 5
start local 5 3: aload 5
iload 1
invokevirtual javax.swing.text.html.HTMLDocument.getCharacterElement:(I)Ljavax/swing/text/Element;
astore 6
start local 6 4: aload 6
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 7
start local 7 5: aload 7
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 8
start local 8 6: aconst_null
astore 9
start local 9 7: iconst_m1
istore 10
start local 10 8: iconst_m1
istore 11
start local 11 9: aload 3
ifnull 12
10: aload 3
invokevirtual java.awt.event.MouseEvent.getX:()I
istore 10
11: aload 3
invokevirtual java.awt.event.MouseEvent.getY:()I
istore 11
12: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController int javax.swing.JEditorPane java.awt.event.MouseEvent javax.swing.text.Document javax.swing.text.html.HTMLDocument javax.swing.text.Element javax.swing.text.AttributeSet javax.swing.text.AttributeSet javax.swing.event.HyperlinkEvent int int
StackMap stack:
aload 8
ifnonnull 15
13: aload 0
aload 0
aload 2
aload 5
aload 6
aload 7
iload 1
iload 10
iload 11
invokevirtual javax.swing.text.html.HTMLEditorKit$LinkController.getMapHREF:(Ljavax/swing/JEditorPane;Ljavax/swing/text/html/HTMLDocument;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;III)Ljava/lang/String;
putfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
14: goto 16
15: StackMap locals:
StackMap stack:
aload 0
aload 8
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
putfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
16: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
ifnull 20
17: aload 0
aload 2
aload 5
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
aload 8
18: aload 6
aload 3
19: invokevirtual javax.swing.text.html.HTMLEditorKit$LinkController.createHyperlinkEvent:(Ljavax/swing/JEditorPane;Ljavax/swing/text/html/HTMLDocument;Ljava/lang/String;Ljavax/swing/text/AttributeSet;Ljavax/swing/text/Element;Ljava/awt/event/MouseEvent;)Ljavax/swing/event/HyperlinkEvent;
astore 9
20: StackMap locals:
StackMap stack:
aload 9
ifnull 22
21: aload 2
aload 9
invokevirtual javax.swing.JEditorPane.fireHyperlinkUpdate:(Ljavax/swing/event/HyperlinkEvent;)V
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 22: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController int javax.swing.JEditorPane java.awt.event.MouseEvent javax.swing.text.Document
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 23 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
0 23 1 pos I
0 23 2 html Ljavax/swing/JEditorPane;
0 23 3 mouseEvent Ljava/awt/event/MouseEvent;
1 23 4 doc Ljavax/swing/text/Document;
3 22 5 hdoc Ljavax/swing/text/html/HTMLDocument;
4 22 6 e Ljavax/swing/text/Element;
5 22 7 a Ljavax/swing/text/AttributeSet;
6 22 8 anchor Ljavax/swing/text/AttributeSet;
7 22 9 linkEvent Ljavax/swing/event/HyperlinkEvent;
8 22 10 x I
9 22 11 y I
MethodParameters:
Name Flags
pos
html
mouseEvent
javax.swing.event.HyperlinkEvent createHyperlinkEvent(javax.swing.JEditorPane, javax.swing.text.html.HTMLDocument, java.lang.String, javax.swing.text.AttributeSet, javax.swing.text.Element, java.awt.event.MouseEvent);
descriptor: (Ljavax/swing/JEditorPane;Ljavax/swing/text/html/HTMLDocument;Ljava/lang/String;Ljavax/swing/text/AttributeSet;Ljavax/swing/text/Element;Ljava/awt/event/MouseEvent;)Ljavax/swing/event/HyperlinkEvent;
flags: (0x0000)
Code:
stack=9, locals=11, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 2
invokevirtual javax.swing.text.html.HTMLDocument.getBase:()Ljava/net/URL;
astore 8
start local 8 1: new java.net.URL
dup
aload 8
aload 3
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 7
start local 7 2: aload 3
ifnull 12
ldc "file"
aload 7
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
3: aload 3
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
4: aload 8
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 9
start local 9 5: aload 7
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 10
start local 10 6: aload 9
ifnull 12
aload 10
ifnull 12
7: aload 10
aload 9
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 12
8: new java.net.URL
dup
aload 8
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 7
end local 10 end local 9 end local 8 9: goto 12
end local 7 StackMap locals:
StackMap stack: java.net.MalformedURLException
10: pop
11: aconst_null
astore 7
start local 7 12: StackMap locals: java.net.URL
StackMap stack:
aload 2
invokevirtual javax.swing.text.html.HTMLDocument.isFrameDocument:()Z
ifne 18
13: new javax.swing.event.HyperlinkEvent
dup
14: aload 1
getstatic javax.swing.event.HyperlinkEvent$EventType.ACTIVATED:Ljavax/swing/event/HyperlinkEvent$EventType;
aload 7
aload 3
15: aload 5
aload 6
16: invokespecial javax.swing.event.HyperlinkEvent.<init>:(Ljava/lang/Object;Ljavax/swing/event/HyperlinkEvent$EventType;Ljava/net/URL;Ljava/lang/String;Ljavax/swing/text/Element;Ljava/awt/event/InputEvent;)V
astore 8
start local 8 17: goto 30
end local 8 18: StackMap locals:
StackMap stack:
aload 4
ifnull 20
19: aload 4
getstatic javax.swing.text.html.HTML$Attribute.TARGET:Ljavax/swing/text/html/HTML$Attribute;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
goto 21
StackMap locals:
StackMap stack:
20: aconst_null
21: StackMap locals:
StackMap stack: java.lang.String
astore 9
start local 9 22: aload 9
ifnull 23
aload 9
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
23: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController javax.swing.JEditorPane javax.swing.text.html.HTMLDocument java.lang.String javax.swing.text.AttributeSet javax.swing.text.Element java.awt.event.MouseEvent java.net.URL top java.lang.String
StackMap stack:
aload 2
invokevirtual javax.swing.text.html.HTMLDocument.getBaseTarget:()Ljava/lang/String;
astore 9
24: StackMap locals:
StackMap stack:
aload 9
ifnull 25
aload 9
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
25: StackMap locals:
StackMap stack:
ldc "_self"
astore 9
26: StackMap locals:
StackMap stack:
new javax.swing.text.html.HTMLFrameHyperlinkEvent
dup
27: aload 1
getstatic javax.swing.event.HyperlinkEvent$EventType.ACTIVATED:Ljavax/swing/event/HyperlinkEvent$EventType;
aload 7
aload 3
28: aload 5
aload 6
aload 9
29: invokespecial javax.swing.text.html.HTMLFrameHyperlinkEvent.<init>:(Ljava/lang/Object;Ljavax/swing/event/HyperlinkEvent$EventType;Ljava/net/URL;Ljava/lang/String;Ljavax/swing/text/Element;Ljava/awt/event/InputEvent;Ljava/lang/String;)V
astore 8
end local 9 start local 8 30: StackMap locals: javax.swing.text.html.HTMLEditorKit$LinkController javax.swing.JEditorPane javax.swing.text.html.HTMLDocument java.lang.String javax.swing.text.AttributeSet javax.swing.text.Element java.awt.event.MouseEvent java.net.URL javax.swing.event.HyperlinkEvent
StackMap stack:
aload 8
areturn
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 31 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
0 31 1 html Ljavax/swing/JEditorPane;
0 31 2 hdoc Ljavax/swing/text/html/HTMLDocument;
0 31 3 href Ljava/lang/String;
0 31 4 anchor Ljavax/swing/text/AttributeSet;
0 31 5 element Ljavax/swing/text/Element;
0 31 6 mouseEvent Ljava/awt/event/MouseEvent;
2 10 7 u Ljava/net/URL;
12 31 7 u Ljava/net/URL;
1 9 8 base Ljava/net/URL;
5 9 9 baseFile Ljava/lang/String;
6 9 10 newFile Ljava/lang/String;
17 18 8 linkEvent Ljavax/swing/event/HyperlinkEvent;
30 31 8 linkEvent Ljavax/swing/event/HyperlinkEvent;
22 30 9 target Ljava/lang/String;
Exception table:
from to target type
0 9 10 Class java.net.MalformedURLException
MethodParameters:
Name Flags
html
hdoc
href
anchor
element
mouseEvent
void fireEvents(javax.swing.JEditorPane, javax.swing.text.html.HTMLDocument, java.lang.String, javax.swing.text.Element, java.awt.event.MouseEvent);
descriptor: (Ljavax/swing/JEditorPane;Ljavax/swing/text/html/HTMLDocument;Ljava/lang/String;Ljavax/swing/text/Element;Ljava/awt/event/MouseEvent;)V
flags: (0x0000)
Code:
stack=8, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
ifnull 10
1: new java.net.URL
dup
aload 2
invokevirtual javax.swing.text.html.HTMLDocument.getBase:()Ljava/net/URL;
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 6
start local 6 2: goto 5
end local 6 StackMap locals:
StackMap stack: java.net.MalformedURLException
3: pop
4: aconst_null
astore 6
start local 6 5: StackMap locals: java.net.URL
StackMap stack:
new javax.swing.event.HyperlinkEvent
dup
aload 1
6: getstatic javax.swing.event.HyperlinkEvent$EventType.EXITED:Ljavax/swing/event/HyperlinkEvent$EventType;
aload 6
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.href:Ljava/lang/String;
7: aload 4
aload 5
8: invokespecial javax.swing.event.HyperlinkEvent.<init>:(Ljava/lang/Object;Ljavax/swing/event/HyperlinkEvent$EventType;Ljava/net/URL;Ljava/lang/String;Ljavax/swing/text/Element;Ljava/awt/event/InputEvent;)V
astore 7
start local 7 9: aload 1
aload 7
invokevirtual javax.swing.JEditorPane.fireHyperlinkUpdate:(Ljavax/swing/event/HyperlinkEvent;)V
end local 7 end local 6 10: StackMap locals:
StackMap stack:
aload 3
ifnull 20
11: new java.net.URL
dup
aload 2
invokevirtual javax.swing.text.html.HTMLDocument.getBase:()Ljava/net/URL;
aload 3
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 6
start local 6 12: goto 15
end local 6 StackMap locals:
StackMap stack: java.net.MalformedURLException
13: pop
14: aconst_null
astore 6
start local 6 15: StackMap locals: java.net.URL
StackMap stack:
new javax.swing.event.HyperlinkEvent
dup
aload 1
16: getstatic javax.swing.event.HyperlinkEvent$EventType.ENTERED:Ljavax/swing/event/HyperlinkEvent$EventType;
17: aload 6
aload 3
aload 0
getfield javax.swing.text.html.HTMLEditorKit$LinkController.curElem:Ljavax/swing/text/Element;
aload 5
18: invokespecial javax.swing.event.HyperlinkEvent.<init>:(Ljava/lang/Object;Ljavax/swing/event/HyperlinkEvent$EventType;Ljava/net/URL;Ljava/lang/String;Ljavax/swing/text/Element;Ljava/awt/event/InputEvent;)V
astore 7
start local 7 19: aload 1
aload 7
invokevirtual javax.swing.JEditorPane.fireHyperlinkUpdate:(Ljavax/swing/event/HyperlinkEvent;)V
end local 7 end local 6 20: StackMap locals:
StackMap stack:
return
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 21 0 this Ljavax/swing/text/html/HTMLEditorKit$LinkController;
0 21 1 editor Ljavax/swing/JEditorPane;
0 21 2 doc Ljavax/swing/text/html/HTMLDocument;
0 21 3 href Ljava/lang/String;
0 21 4 lastElem Ljavax/swing/text/Element;
0 21 5 mouseEvent Ljava/awt/event/MouseEvent;
2 3 6 u Ljava/net/URL;
5 10 6 u Ljava/net/URL;
9 10 7 exit Ljavax/swing/event/HyperlinkEvent;
12 13 6 u Ljava/net/URL;
15 20 6 u Ljava/net/URL;
19 20 7 entered Ljavax/swing/event/HyperlinkEvent;
Exception table:
from to target type
1 2 3 Class java.net.MalformedURLException
11 12 13 Class java.net.MalformedURLException
MethodParameters:
Name Flags
editor
doc
href
lastElem
mouseEvent
}
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
public LinkController = javax.swing.text.html.HTMLEditorKit$LinkController of javax.swing.text.html.HTMLEditorKit