public abstract class javax.swing.text.html.HTMLEditorKit$HTMLTextAction extends javax.swing.text.StyledEditorKit$StyledTextAction
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.text.html.HTMLEditorKit$HTMLTextAction
super_class: javax.swing.text.StyledEditorKit$StyledTextAction
{
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.StyledEditorKit$StyledTextAction.<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$HTMLTextAction;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected javax.swing.text.html.HTMLDocument getHTMLDocument(javax.swing.JEditorPane);
descriptor: (Ljavax/swing/JEditorPane;)Ljavax/swing/text/html/HTMLDocument;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, 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.html.HTMLDocument
ifeq 3
2: aload 2
checkcast javax.swing.text.html.HTMLDocument
areturn
3: StackMap locals: javax.swing.text.Document
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "document must be HTMLDocument"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLTextAction;
0 4 1 e Ljavax/swing/JEditorPane;
1 4 2 d Ljavax/swing/text/Document;
MethodParameters:
Name Flags
e
protected javax.swing.text.html.HTMLEditorKit getHTMLEditorKit(javax.swing.JEditorPane);
descriptor: (Ljavax/swing/JEditorPane;)Ljavax/swing/text/html/HTMLEditorKit;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.JEditorPane.getEditorKit:()Ljavax/swing/text/EditorKit;
astore 2
start local 2 1: aload 2
instanceof javax.swing.text.html.HTMLEditorKit
ifeq 3
2: aload 2
checkcast javax.swing.text.html.HTMLEditorKit
areturn
3: StackMap locals: javax.swing.text.EditorKit
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "EditorKit must be HTMLEditorKit"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLTextAction;
0 4 1 e Ljavax/swing/JEditorPane;
1 4 2 k Ljavax/swing/text/EditorKit;
MethodParameters:
Name Flags
e
protected javax.swing.text.Element[] getElementsAt(javax.swing.text.html.HTMLDocument, int);
descriptor: (Ljavax/swing/text/html/HTMLDocument;I)[Ljavax/swing/text/Element;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual javax.swing.text.html.HTMLDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
iload 2
iconst_0
invokevirtual javax.swing.text.html.HTMLEditorKit$HTMLTextAction.getElementsAt:(Ljavax/swing/text/Element;II)[Ljavax/swing/text/Element;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLTextAction;
0 1 1 doc Ljavax/swing/text/html/HTMLDocument;
0 1 2 offset I
MethodParameters:
Name Flags
doc
offset
private javax.swing.text.Element[] getElementsAt(javax.swing.text.Element, int, int);
descriptor: (Ljavax/swing/text/Element;II)[Ljavax/swing/text/Element;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 4
1: iload 3
iconst_1
iadd
anewarray javax.swing.text.Element
astore 4
start local 4 2: aload 4
iload 3
aload 1
aastore
3: aload 4
areturn
end local 4 4: StackMap locals:
StackMap stack:
aload 0
aload 1
5: aload 1
iload 2
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
6: invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
7: iload 2
iload 3
iconst_1
iadd
8: invokevirtual javax.swing.text.html.HTMLEditorKit$HTMLTextAction.getElementsAt:(Ljavax/swing/text/Element;II)[Ljavax/swing/text/Element;
astore 4
start local 4 9: aload 4
iload 3
aload 1
aastore
10: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLTextAction;
0 11 1 parent Ljavax/swing/text/Element;
0 11 2 offset I
0 11 3 depth I
2 4 4 retValue [Ljavax/swing/text/Element;
9 11 4 retValue [Ljavax/swing/text/Element;
MethodParameters:
Name Flags
parent
offset
depth
protected int elementCountToTag(javax.swing.text.html.HTMLDocument, int, javax.swing.text.html.HTML$Tag);
descriptor: (Ljavax/swing/text/html/HTMLDocument;ILjavax/swing/text/html/HTML$Tag;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_m1
istore 4
start local 4 1: aload 1
iload 2
invokevirtual javax.swing.text.html.HTMLDocument.getCharacterElement:(I)Ljavax/swing/text/Element;
astore 5
start local 5 2: goto 5
3: StackMap locals: int javax.swing.text.Element
StackMap stack:
aload 5
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
astore 5
4: iinc 4 1
5: StackMap locals:
StackMap stack:
aload 5
ifnull 9
aload 5
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
6: getstatic javax.swing.text.StyleConstants.NameAttribute:Ljava/lang/Object;
7: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
8: aload 3
if_acmpne 3
9: StackMap locals:
StackMap stack:
aload 5
ifnonnull 11
10: iconst_m1
ireturn
11: StackMap locals:
StackMap stack:
iload 4
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 12 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLTextAction;
0 12 1 doc Ljavax/swing/text/html/HTMLDocument;
0 12 2 offset I
0 12 3 tag Ljavax/swing/text/html/HTML$Tag;
1 12 4 depth I
2 12 5 e Ljavax/swing/text/Element;
MethodParameters:
Name Flags
doc
offset
tag
protected javax.swing.text.Element findElementMatchingTag(javax.swing.text.html.HTMLDocument, int, javax.swing.text.html.HTML$Tag);
descriptor: (Ljavax/swing/text/html/HTMLDocument;ILjavax/swing/text/html/HTML$Tag;)Ljavax/swing/text/Element;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual javax.swing.text.html.HTMLDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: goto 10
3: StackMap locals: javax.swing.text.Element javax.swing.text.Element
StackMap stack:
aload 4
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
4: getstatic javax.swing.text.StyleConstants.NameAttribute:Ljava/lang/Object;
5: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
6: aload 3
7: if_acmpne 9
8: aload 4
astore 5
9: StackMap locals:
StackMap stack:
aload 4
aload 4
iload 2
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 4
10: StackMap locals:
StackMap stack:
aload 4
ifnonnull 3
11: aload 5
areturn
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 12 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLTextAction;
0 12 1 doc Ljavax/swing/text/html/HTMLDocument;
0 12 2 offset I
0 12 3 tag Ljavax/swing/text/html/HTML$Tag;
1 12 4 e Ljavax/swing/text/Element;
2 12 5 lastMatch Ljavax/swing/text/Element;
MethodParameters:
Name Flags
doc
offset
tag
}
SourceFile: "HTMLEditorKit.java"
NestHost: javax.swing.text.html.HTMLEditorKit
InnerClasses:
public abstract StyledTextAction = javax.swing.text.StyledEditorKit$StyledTextAction of javax.swing.text.StyledEditorKit
public Tag = javax.swing.text.html.HTML$Tag of javax.swing.text.html.HTML
public abstract HTMLTextAction = javax.swing.text.html.HTMLEditorKit$HTMLTextAction of javax.swing.text.html.HTMLEditorKit