class javax.swing.text.DefaultEditorKit$EndWordAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.DefaultEditorKit$EndWordAction
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$EndWordAction.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$EndWordAction;
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=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.DefaultEditorKit$EndWordAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2
start local 2 1: aload 2
ifnull 11
2: aload 2
invokevirtual javax.swing.text.JTextComponent.getCaretPosition:()I
istore 3
start local 3 3: aload 2
iload 3
invokestatic javax.swing.text.Utilities.getWordEnd:(Ljavax/swing/text/JTextComponent;I)I
istore 4
start local 4 4: aload 0
getfield javax.swing.text.DefaultEditorKit$EndWordAction.select:Z
ifeq 7
5: aload 2
iload 4
invokevirtual javax.swing.text.JTextComponent.moveCaretPosition:(I)V
6: goto 11
7: StackMap locals: javax.swing.text.JTextComponent int int
StackMap stack:
aload 2
iload 4
invokevirtual javax.swing.text.JTextComponent.setCaretPosition:(I)V
end local 4 end local 3 8: goto 11
StackMap locals: javax.swing.text.DefaultEditorKit$EndWordAction java.awt.event.ActionEvent javax.swing.text.JTextComponent
StackMap stack: javax.swing.text.BadLocationException
9: pop
10: invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 2
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/text/DefaultEditorKit$EndWordAction;
0 12 1 e Ljava/awt/event/ActionEvent;
1 12 2 target Ljavax/swing/text/JTextComponent;
3 8 3 offs I
4 8 4 endOffs I
Exception table:
from to target type
2 8 9 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
EndWordAction = javax.swing.text.DefaultEditorKit$EndWordAction of javax.swing.text.DefaultEditorKit