class javax.swing.text.DefaultEditorKit$DeleteNextCharAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.DefaultEditorKit$DeleteNextCharAction
super_class: javax.swing.text.TextAction
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "delete-next"
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$DeleteNextCharAction;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.DefaultEditorKit$DeleteNextCharAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: aload 2
ifnull 24
aload 2
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifeq 24
3: aload 2
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 4
start local 4 4: aload 2
invokevirtual javax.swing.text.JTextComponent.getCaret:()Ljavax/swing/text/Caret;
astore 5
start local 5 5: aload 5
invokeinterface javax.swing.text.Caret.getDot:()I
istore 6
start local 6 6: aload 5
invokeinterface javax.swing.text.Caret.getMark:()I
istore 7
start local 7 7: iload 6
iload 7
if_icmpeq 11
8: aload 4
iload 6
iload 7
invokestatic java.lang.Math.min:(II)I
iload 6
iload 7
isub
invokestatic java.lang.Math.abs:(I)I
invokeinterface javax.swing.text.Document.remove:(II)V
9: iconst_0
istore 3
10: goto 24
StackMap locals: javax.swing.text.DefaultEditorKit$DeleteNextCharAction java.awt.event.ActionEvent javax.swing.text.JTextComponent int javax.swing.text.Document javax.swing.text.Caret int int
StackMap stack:
11: iload 6
aload 4
invokeinterface javax.swing.text.Document.getLength:()I
if_icmpge 24
12: iconst_1
istore 8
start local 8 13: iload 6
aload 4
invokeinterface javax.swing.text.Document.getLength:()I
iconst_1
isub
if_icmpge 20
14: aload 4
iload 6
iconst_2
invokeinterface javax.swing.text.Document.getText:(II)Ljava/lang/String;
astore 9
start local 9 15: aload 9
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 10
start local 10 16: aload 9
iconst_1
invokevirtual java.lang.String.charAt:(I)C
istore 11
start local 11 17: iload 10
ldc 55296
if_icmplt 20
iload 10
ldc 56319
if_icmpgt 20
18: iload 11
ldc 56320
if_icmplt 20
iload 11
ldc 57343
if_icmpgt 20
19: iconst_2
istore 8
end local 11 end local 10 end local 9 20: StackMap locals: int
StackMap stack:
aload 4
iload 6
iload 8
invokeinterface javax.swing.text.Document.remove:(II)V
21: iconst_0
istore 3
end local 8 end local 7 end local 6 end local 5 end local 4 22: goto 24
StackMap locals: javax.swing.text.DefaultEditorKit$DeleteNextCharAction java.awt.event.ActionEvent javax.swing.text.JTextComponent int
StackMap stack: javax.swing.text.BadLocationException
23: pop
24: StackMap locals:
StackMap stack:
iload 3
ifeq 26
25: invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 2
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
26: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/text/DefaultEditorKit$DeleteNextCharAction;
0 27 1 e Ljava/awt/event/ActionEvent;
1 27 2 target Ljavax/swing/text/JTextComponent;
2 27 3 beep Z
4 22 4 doc Ljavax/swing/text/Document;
5 22 5 caret Ljavax/swing/text/Caret;
6 22 6 dot I
7 22 7 mark I
13 22 8 delChars I
15 20 9 dotChars Ljava/lang/String;
16 20 10 c0 C
17 20 11 c1 C
Exception table:
from to target type
3 22 23 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
DeleteNextCharAction = javax.swing.text.DefaultEditorKit$DeleteNextCharAction of javax.swing.text.DefaultEditorKit