class javax.swing.text.DefaultEditorKit$PreviousWordAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.DefaultEditorKit$PreviousWordAction
super_class: javax.swing.text.TextAction
{
private boolean select;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial javax.swing.text.TextAction.<init>:(Ljava/lang/String;)V
1: aload 0
iload 2
putfield javax.swing.text.DefaultEditorKit$PreviousWordAction.select:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultEditorKit$PreviousWordAction;
0 3 1 nm Ljava/lang/String;
0 3 2 select Z
MethodParameters:
Name Flags
nm
select
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.DefaultEditorKit$PreviousWordAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2
start local 2 1: aload 2
ifnull 24
2: aload 2
invokevirtual javax.swing.text.JTextComponent.getCaretPosition:()I
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: aload 2
iload 3
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
5: astore 5
start local 5 6: aload 2
iload 3
invokestatic javax.swing.text.Utilities.getPreviousWord:(Ljavax/swing/text/JTextComponent;I)I
istore 3
7: iload 3
aload 5
invokeinterface javax.swing.text.Element.getStartOffset:()I
if_icmpge 17
8: aload 2
iload 3
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
9: invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
10: isub
istore 3
end local 5 11: goto 17
StackMap locals: javax.swing.text.DefaultEditorKit$PreviousWordAction java.awt.event.ActionEvent javax.swing.text.JTextComponent int int
StackMap stack: javax.swing.text.BadLocationException
12: pop
13: iload 3
ifeq 16
14: iconst_0
istore 3
15: goto 17
16: StackMap locals:
StackMap stack:
iconst_1
istore 4
17: StackMap locals:
StackMap stack:
iload 4
ifne 23
18: aload 0
getfield javax.swing.text.DefaultEditorKit$PreviousWordAction.select:Z
ifeq 21
19: aload 2
iload 3
invokevirtual javax.swing.text.JTextComponent.moveCaretPosition:(I)V
20: goto 24
21: StackMap locals:
StackMap stack:
aload 2
iload 3
invokevirtual javax.swing.text.JTextComponent.setCaretPosition:(I)V
22: goto 24
23: StackMap locals:
StackMap stack:
invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 2
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
end local 4 end local 3 24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljavax/swing/text/DefaultEditorKit$PreviousWordAction;
0 25 1 e Ljava/awt/event/ActionEvent;
1 25 2 target Ljavax/swing/text/JTextComponent;
3 24 3 offs I
4 24 4 failed Z
6 11 5 curPara Ljavax/swing/text/Element;
Exception table:
from to target type
4 11 12 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
PreviousWordAction = javax.swing.text.DefaultEditorKit$PreviousWordAction of javax.swing.text.DefaultEditorKit