class javax.swing.text.DefaultEditorKit$EndParagraphAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.DefaultEditorKit$EndParagraphAction
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$EndParagraphAction.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$EndParagraphAction;
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$EndParagraphAction.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.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
astore 4
start local 4 4: aload 2
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
5: aload 4
invokeinterface javax.swing.text.Element.getEndOffset:()I
6: invokestatic java.lang.Math.min:(II)I
istore 3
7: aload 0
getfield javax.swing.text.DefaultEditorKit$EndParagraphAction.select:Z
ifeq 10
8: aload 2
iload 3
invokevirtual javax.swing.text.JTextComponent.moveCaretPosition:(I)V
9: goto 11
10: StackMap locals: javax.swing.text.JTextComponent int javax.swing.text.Element
StackMap stack:
aload 2
iload 3
invokevirtual javax.swing.text.JTextComponent.setCaretPosition:(I)V
end local 4 end local 3 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$EndParagraphAction;
0 12 1 e Ljava/awt/event/ActionEvent;
1 12 2 target Ljavax/swing/text/JTextComponent;
3 11 3 offs I
4 11 4 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
EndParagraphAction = javax.swing.text.DefaultEditorKit$EndParagraphAction of javax.swing.text.DefaultEditorKit