class javax.swing.text.DefaultEditorKit$NextWordAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.DefaultEditorKit$NextWordAction
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$NextWordAction.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$NextWordAction;
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=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.DefaultEditorKit$NextWordAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2
start local 2 1: aload 2
ifnull 28
2: aload 2
invokevirtual javax.swing.text.JTextComponent.getCaretPosition:()I
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iload 3
istore 5
start local 5 5: aload 2
iload 3
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
6: astore 6
start local 6 7: aload 2
iload 3
invokestatic javax.swing.text.Utilities.getNextWord:(Ljavax/swing/text/JTextComponent;I)I
istore 3
8: iload 3
aload 6
invokeinterface javax.swing.text.Element.getEndOffset:()I
if_icmplt 21
9: iload 5
aload 6
invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
isub
if_icmpeq 21
10: aload 6
invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
isub
istore 3
11: goto 21
StackMap locals: javax.swing.text.DefaultEditorKit$NextWordAction java.awt.event.ActionEvent javax.swing.text.JTextComponent int int int javax.swing.text.Element
StackMap stack: javax.swing.text.BadLocationException
12: pop
13: aload 2
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
istore 7
start local 7 14: iload 3
iload 7
if_icmpeq 20
15: iload 5
aload 6
invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
isub
if_icmpeq 18
16: aload 6
invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
isub
istore 3
17: goto 21
18: StackMap locals: int
StackMap stack:
iload 7
istore 3
19: goto 21
20: StackMap locals:
StackMap stack:
iconst_1
istore 4
end local 7 21: StackMap locals:
StackMap stack:
iload 4
ifne 27
22: aload 0
getfield javax.swing.text.DefaultEditorKit$NextWordAction.select:Z
ifeq 25
23: aload 2
iload 3
invokevirtual javax.swing.text.JTextComponent.moveCaretPosition:(I)V
24: goto 28
25: StackMap locals:
StackMap stack:
aload 2
iload 3
invokevirtual javax.swing.text.JTextComponent.setCaretPosition:(I)V
26: goto 28
27: 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 6 end local 5 end local 4 end local 3 28: StackMap locals: javax.swing.text.DefaultEditorKit$NextWordAction 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 29 0 this Ljavax/swing/text/DefaultEditorKit$NextWordAction;
0 29 1 e Ljava/awt/event/ActionEvent;
1 29 2 target Ljavax/swing/text/JTextComponent;
3 28 3 offs I
4 28 4 failed Z
5 28 5 oldOffs I
7 28 6 curPara Ljavax/swing/text/Element;
14 21 7 end I
Exception table:
from to target type
7 11 12 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
NextWordAction = javax.swing.text.DefaultEditorKit$NextWordAction of javax.swing.text.DefaultEditorKit