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=2, locals=8, 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 15
aload 1
ifnull 15
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 15
aload 3
invokevirtual java.lang.String.length:()I
ifle 15
7: iconst_1
istore 5
start local 5 8: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 6
start local 6 9: aload 6
instanceof sun.awt.SunToolkit
ifeq 11
10: aload 6
checkcast sun.awt.SunToolkit
iload 4
invokevirtual sun.awt.SunToolkit.isPrintableCharacterModifiersMask:(I)Z
istore 5
11: StackMap locals: javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction java.awt.event.ActionEvent javax.swing.text.JTextComponent java.lang.String int int java.awt.Toolkit
StackMap stack:
aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 12: iload 5
ifeq 13
iload 7
bipush 32
if_icmplt 13
iload 7
bipush 127
if_icmpne 14
13: StackMap locals: int
StackMap stack:
iload 5
ifne 15
iload 7
sipush 8204
if_icmplt 15
iload 7
sipush 8205
if_icmpgt 15
14: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual javax.swing.text.JTextComponent.replaceSelection:(Ljava/lang/String;)V
end local 7 end local 6 end local 5 end local 4 end local 3 15: StackMap locals: javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction java.awt.event.ActionEvent javax.swing.text.JTextComponent
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/text/DefaultEditorKit$DefaultKeyTypedAction;
0 16 1 e Ljava/awt/event/ActionEvent;
1 16 2 target Ljavax/swing/text/JTextComponent;
5 15 3 content Ljava/lang/String;
6 15 4 mod I
8 15 5 isPrintableMask Z
9 15 6 tk Ljava/awt/Toolkit;
12 15 7 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