public class javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction
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 "default-typed"
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$DefaultKeyTypedAction;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2
start local 2 1: aload 2
ifnull 11
aload 1
ifnull 11
2: aload 2
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifeq 3
aload 2
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifne 4
3: StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
astore 3
start local 3 5: aload 1
invokevirtual java.awt.event.ActionEvent.getModifiers:()I
istore 4
start local 4 6: aload 3
ifnull 11
aload 3
invokevirtual java.lang.String.length:()I
ifle 11
7: iload 4
bipush 8
iand
iload 4
iconst_2
iand
if_icmpne 11
8: aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 9: iload 5
bipush 32
if_icmplt 11
iload 5
bipush 127
if_icmpeq 11
10: aload 2
aload 3
invokevirtual javax.swing.text.JTextComponent.replaceSelection:(Ljava/lang/String;)V
end local 5 end local 4 end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/text/DefaultEditorKit$DefaultKeyTypedAction;
0 12 1 e Ljava/awt/event/ActionEvent;
1 12 2 target Ljavax/swing/text/JTextComponent;
5 11 3 content Ljava/lang/String;
6 11 4 mod I
9 11 5 c C
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
public DefaultKeyTypedAction = javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction of javax.swing.text.DefaultEditorKit