public abstract class javax.swing.text.StyledEditorKit$StyledTextAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.text.StyledEditorKit$StyledTextAction
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/StyledEditorKit$StyledTextAction;
0 2 1 nm Ljava/lang/String;
MethodParameters:
Name Flags
nm
protected final javax.swing.JEditorPane getEditor(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)Ljavax/swing/JEditorPane;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.StyledEditorKit$StyledTextAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2
start local 2 1: aload 2
instanceof javax.swing.JEditorPane
ifeq 3
2: aload 2
checkcast javax.swing.JEditorPane
areturn
3: StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/StyledEditorKit$StyledTextAction;
0 4 1 e Ljava/awt/event/ActionEvent;
1 4 2 tcomp Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
e
protected final javax.swing.text.StyledDocument getStyledDocument(javax.swing.JEditorPane);
descriptor: (Ljavax/swing/JEditorPane;)Ljavax/swing/text/StyledDocument;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
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.StyledDocument
ifeq 3
2: aload 2
checkcast javax.swing.text.StyledDocument
areturn
3: StackMap locals: javax.swing.text.Document
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "document must be StyledDocument"
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/StyledEditorKit$StyledTextAction;
0 4 1 e Ljavax/swing/JEditorPane;
1 4 2 d Ljavax/swing/text/Document;
MethodParameters:
Name Flags
e
protected final javax.swing.text.StyledEditorKit getStyledEditorKit(javax.swing.JEditorPane);
descriptor: (Ljavax/swing/JEditorPane;)Ljavax/swing/text/StyledEditorKit;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
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.StyledEditorKit
ifeq 3
2: aload 2
checkcast javax.swing.text.StyledEditorKit
areturn
3: StackMap locals: javax.swing.text.EditorKit
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "EditorKit must be StyledEditorKit"
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/StyledEditorKit$StyledTextAction;
0 4 1 e Ljavax/swing/JEditorPane;
1 4 2 k Ljavax/swing/text/EditorKit;
MethodParameters:
Name Flags
e
protected final void setCharacterAttributes(javax.swing.JEditorPane, javax.swing.text.AttributeSet, boolean);
descriptor: (Ljavax/swing/JEditorPane;Ljavax/swing/text/AttributeSet;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual javax.swing.JEditorPane.getSelectionStart:()I
istore 4
start local 4 1: aload 1
invokevirtual javax.swing.JEditorPane.getSelectionEnd:()I
istore 5
start local 5 2: iload 4
iload 5
if_icmpeq 5
3: aload 0
aload 1
invokevirtual javax.swing.text.StyledEditorKit$StyledTextAction.getStyledDocument:(Ljavax/swing/JEditorPane;)Ljavax/swing/text/StyledDocument;
astore 6
start local 6 4: aload 6
iload 4
iload 5
iload 4
isub
aload 2
iload 3
invokeinterface javax.swing.text.StyledDocument.setCharacterAttributes:(IILjavax/swing/text/AttributeSet;Z)V
end local 6 5: StackMap locals: int int
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.text.StyledEditorKit$StyledTextAction.getStyledEditorKit:(Ljavax/swing/JEditorPane;)Ljavax/swing/text/StyledEditorKit;
astore 6
start local 6 6: aload 6
invokevirtual javax.swing.text.StyledEditorKit.getInputAttributes:()Ljavax/swing/text/MutableAttributeSet;
astore 7
start local 7 7: iload 3
ifeq 9
8: aload 7
aload 7
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
9: StackMap locals: javax.swing.text.StyledEditorKit javax.swing.text.MutableAttributeSet
StackMap stack:
aload 7
aload 2
invokeinterface javax.swing.text.MutableAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
10: return
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 11 0 this Ljavax/swing/text/StyledEditorKit$StyledTextAction;
0 11 1 editor Ljavax/swing/JEditorPane;
0 11 2 attr Ljavax/swing/text/AttributeSet;
0 11 3 replace Z
1 11 4 p0 I
2 11 5 p1 I
4 5 6 doc Ljavax/swing/text/StyledDocument;
6 11 6 k Ljavax/swing/text/StyledEditorKit;
7 11 7 inputAttributes Ljavax/swing/text/MutableAttributeSet;
MethodParameters:
Name Flags
editor
attr
replace
protected final void setParagraphAttributes(javax.swing.JEditorPane, javax.swing.text.AttributeSet, boolean);
descriptor: (Ljavax/swing/JEditorPane;Ljavax/swing/text/AttributeSet;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual javax.swing.JEditorPane.getSelectionStart:()I
istore 4
start local 4 1: aload 1
invokevirtual javax.swing.JEditorPane.getSelectionEnd:()I
istore 5
start local 5 2: aload 0
aload 1
invokevirtual javax.swing.text.StyledEditorKit$StyledTextAction.getStyledDocument:(Ljavax/swing/JEditorPane;)Ljavax/swing/text/StyledDocument;
astore 6
start local 6 3: aload 6
iload 4
iload 5
iload 4
isub
aload 2
iload 3
invokeinterface javax.swing.text.StyledDocument.setParagraphAttributes:(IILjavax/swing/text/AttributeSet;Z)V
4: return
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 5 0 this Ljavax/swing/text/StyledEditorKit$StyledTextAction;
0 5 1 editor Ljavax/swing/JEditorPane;
0 5 2 attr Ljavax/swing/text/AttributeSet;
0 5 3 replace Z
1 5 4 p0 I
2 5 5 p1 I
3 5 6 doc Ljavax/swing/text/StyledDocument;
MethodParameters:
Name Flags
editor
attr
replace
}
SourceFile: "StyledEditorKit.java"
NestHost: javax.swing.text.StyledEditorKit
InnerClasses:
public abstract StyledTextAction = javax.swing.text.StyledEditorKit$StyledTextAction of javax.swing.text.StyledEditorKit