abstract class com.apple.laf.AquaKeyBindings$DeleteWordAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.apple.laf.AquaKeyBindings$DeleteWordAction
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
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaKeyBindings$DeleteWordAction;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.apple.laf.AquaKeyBindings$DeleteWordAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2
start local 2 2: aload 2
ifnonnull 3
return
3: StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
aload 2
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifeq 4
aload 2
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifne 6
4: StackMap locals:
StackMap stack:
invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 2
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
5: return
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.text.JTextComponent.getSelectionStart:()I
istore 3
start local 3 7: aload 2
iload 3
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
astore 4
start local 4 8: aload 0
aload 2
aload 4
iload 3
invokevirtual com.apple.laf.AquaKeyBindings$DeleteWordAction.getEnd:(Ljavax/swing/text/JTextComponent;Ljavax/swing/text/Element;I)I
istore 5
start local 5 9: iload 3
iload 5
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 10: iload 5
iload 3
isub
invokestatic java.lang.Math.abs:(I)I
istore 7
start local 7 11: iload 6
iflt 15
12: aload 2
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
iload 6
iload 7
invokeinterface javax.swing.text.Document.remove:(II)V
13: return
end local 7 end local 6 end local 5 end local 4 end local 3 14: StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
pop
15: StackMap locals:
StackMap stack:
invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 2
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/apple/laf/AquaKeyBindings$DeleteWordAction;
0 17 1 e Ljava/awt/event/ActionEvent;
2 17 2 target Ljavax/swing/text/JTextComponent;
7 14 3 start I
8 14 4 line Ljavax/swing/text/Element;
9 14 5 end I
10 14 6 offs I
11 14 7 len I
Exception table:
from to target type
6 13 14 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
e final
abstract int getEnd(javax.swing.text.JTextComponent, javax.swing.text.Element, int);
descriptor: (Ljavax/swing/text/JTextComponent;Ljavax/swing/text/Element;I)I
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
target final
line final
start final
}
SourceFile: "AquaKeyBindings.java"
NestHost: com.apple.laf.AquaKeyBindings
InnerClasses:
abstract DeleteWordAction = com.apple.laf.AquaKeyBindings$DeleteWordAction of com.apple.laf.AquaKeyBindings