public class javax.swing.text.DefaultEditorKit$InsertContentAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.DefaultEditorKit$InsertContentAction
super_class: javax.swing.text.TextAction
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "insert-content"
invokespecial javax.swing.text.TextAction.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultEditorKit$InsertContentAction;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.DefaultEditorKit$InsertContentAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2
start local 2 1: aload 2
ifnull 10
aload 1
ifnull 10
2: aload 2
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifeq 3
aload 2
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifne 5
3: StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 2
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
4: return
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnull 9
7: aload 2
aload 3
invokevirtual javax.swing.text.JTextComponent.replaceSelection:(Ljava/lang/String;)V
8: goto 10
9: StackMap locals: java.lang.String
StackMap stack:
invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 2
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/DefaultEditorKit$InsertContentAction;
0 11 1 e Ljava/awt/event/ActionEvent;
1 11 2 target Ljavax/swing/text/JTextComponent;
6 10 3 content Ljava/lang/String;
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
public InsertContentAction = javax.swing.text.DefaultEditorKit$InsertContentAction of javax.swing.text.DefaultEditorKit