class javax.swing.text.InternationalFormatter$IncrementAction extends javax.swing.AbstractAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.InternationalFormatter$IncrementAction
super_class: javax.swing.AbstractAction
{
private int direction;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final javax.swing.text.InternationalFormatter this$0;
descriptor: Ljavax/swing/text/InternationalFormatter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javax.swing.text.InternationalFormatter, java.lang.String, int);
descriptor: (Ljavax/swing/text/InternationalFormatter;Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 // javax.swing.text.InternationalFormatter$IncrementAction this
start local 2 // java.lang.String name
start local 3 // int direction
0: .line 1047
aload 0 /* this */
aload 1
putfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
1: .line 1048
aload 0 /* this */
aload 2 /* name */
invokespecial javax.swing.AbstractAction.<init>:(Ljava/lang/String;)V
2: .line 1049
aload 0 /* this */
iload 3 /* direction */
putfield javax.swing.text.InternationalFormatter$IncrementAction.direction:I
3: .line 1050
return
end local 3 // int direction
end local 2 // java.lang.String name
end local 0 // javax.swing.text.InternationalFormatter$IncrementAction this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/InternationalFormatter$IncrementAction;
0 4 2 name Ljava/lang/String;
0 4 3 direction I
MethodParameters:
Name Flags
this$0 final
name
direction
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 // javax.swing.text.InternationalFormatter$IncrementAction this
start local 1 // java.awt.event.ActionEvent ae
0: .line 1054
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokestatic javax.swing.text.InternationalFormatter.access$0:(Ljavax/swing/text/InternationalFormatter;)Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.isEditable:()Z
ifeq 32
1: .line 1055
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokevirtual javax.swing.text.InternationalFormatter.getAllowsInvalid:()Z
ifeq 3
2: .line 1057
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokevirtual javax.swing.text.InternationalFormatter.updateMask:()V
3: .line 1060
StackMap locals:
StackMap stack:
iconst_0
istore 2 /* validEdit */
start local 2 // boolean validEdit
4: .line 1062
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokevirtual javax.swing.text.InternationalFormatter.isValidMask:()Z
ifeq 30
5: .line 1063
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokestatic javax.swing.text.InternationalFormatter.access$0:(Ljavax/swing/text/InternationalFormatter;)Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getSelectionStart:()I
istore 3 /* start */
start local 3 // int start
6: .line 1065
iload 3 /* start */
iconst_m1
if_icmpeq 30
7: .line 1066
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokevirtual javax.swing.text.InternationalFormatter.getIterator:()Ljava/text/AttributedCharacterIterator;
astore 4 /* iterator */
start local 4 // java.text.AttributedCharacterIterator iterator
8: .line 1068
aload 4 /* iterator */
iload 3 /* start */
invokeinterface java.text.AttributedCharacterIterator.setIndex:(I)C
pop
9: .line 1070
aload 4 /* iterator */
invokeinterface java.text.AttributedCharacterIterator.getAttributes:()Ljava/util/Map;
astore 5 /* attributes */
start local 5 // java.util.Map attributes
10: .line 1071
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
iload 3 /* start */
aload 5 /* attributes */
invokevirtual javax.swing.text.InternationalFormatter.getAdjustField:(ILjava/util/Map;)Ljava/lang/Object;
astore 6 /* field */
start local 6 // java.lang.Object field
11: .line 1073
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
aload 6 /* field */
iload 3 /* start */
invokevirtual javax.swing.text.InternationalFormatter.canIncrement:(Ljava/lang/Object;I)Z
ifeq 30
12: .line 1075
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
13: .line 1076
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokestatic javax.swing.text.InternationalFormatter.access$0:(Ljavax/swing/text/InternationalFormatter;)Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getText:()Ljava/lang/String;
14: .line 1075
invokevirtual javax.swing.text.InternationalFormatter.stringToValue:(Ljava/lang/String;)Ljava/lang/Object;
astore 7 /* value */
start local 7 // java.lang.Object value
15: .line 1077
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
16: .line 1078
aload 6 /* field */
iload 3 /* start */
17: .line 1077
invokevirtual javax.swing.text.InternationalFormatter.getFieldTypeCountTo:(Ljava/lang/Object;I)I
istore 8 /* fieldTypeCount */
start local 8 // int fieldTypeCount
18: .line 1080
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
aload 7 /* value */
aload 5 /* attributes */
19: .line 1081
aload 6 /* field */
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.direction:I
20: .line 1080
invokevirtual javax.swing.text.InternationalFormatter.adjustValue:(Ljava/lang/Object;Ljava/util/Map;Ljava/lang/Object;I)Ljava/lang/Object;
astore 7 /* value */
21: .line 1082
aload 7 /* value */
ifnull 30
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
aload 7 /* value */
iconst_0
invokevirtual javax.swing.text.InternationalFormatter.isValidValue:(Ljava/lang/Object;Z)Z
ifeq 30
22: .line 1083
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
aload 7 /* value */
invokevirtual javax.swing.text.InternationalFormatter.resetValue:(Ljava/lang/Object;)V
23: .line 1084
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokevirtual javax.swing.text.InternationalFormatter.updateMask:()V
24: .line 1086
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokevirtual javax.swing.text.InternationalFormatter.isValidMask:()Z
ifeq 26
25: .line 1087
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
aload 6 /* field */
iload 8 /* fieldTypeCount */
invokevirtual javax.swing.text.InternationalFormatter.selectField:(Ljava/lang/Object;I)V
26: .line 1089
StackMap locals: javax.swing.text.InternationalFormatter$IncrementAction java.awt.event.ActionEvent int int java.text.AttributedCharacterIterator java.util.Map java.lang.Object java.lang.Object int
StackMap stack:
iconst_1
istore 2 /* validEdit */
end local 8 // int fieldTypeCount
end local 7 // java.lang.Object value
27: .line 1091
goto 30
28: .line 1092
StackMap locals: javax.swing.text.InternationalFormatter$IncrementAction java.awt.event.ActionEvent int int java.text.AttributedCharacterIterator java.util.Map java.lang.Object
StackMap stack: java.text.ParseException
pop
goto 30
29: .line 1093
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
pop
end local 6 // java.lang.Object field
end local 5 // java.util.Map attributes
end local 4 // java.text.AttributedCharacterIterator iterator
end local 3 // int start
30: .line 1097
StackMap locals: javax.swing.text.InternationalFormatter$IncrementAction java.awt.event.ActionEvent int
StackMap stack:
iload 2 /* validEdit */
ifne 32
31: .line 1098
aload 0 /* this */
getfield javax.swing.text.InternationalFormatter$IncrementAction.this$0:Ljavax/swing/text/InternationalFormatter;
invokestatic javax.swing.text.InternationalFormatter.access$1:(Ljavax/swing/text/InternationalFormatter;)V
end local 2 // boolean validEdit
32: .line 1101
StackMap locals:
StackMap stack:
return
end local 1 // java.awt.event.ActionEvent ae
end local 0 // javax.swing.text.InternationalFormatter$IncrementAction this
LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljavax/swing/text/InternationalFormatter$IncrementAction;
0 33 1 ae Ljava/awt/event/ActionEvent;
4 32 2 validEdit Z
6 30 3 start I
8 30 4 iterator Ljava/text/AttributedCharacterIterator;
10 30 5 attributes Ljava/util/Map;
11 30 6 field Ljava/lang/Object;
15 27 7 value Ljava/lang/Object;
18 27 8 fieldTypeCount I
Exception table:
from to target type
12 27 28 Class java.text.ParseException
12 27 29 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
ae
}
SourceFile: "InternationalFormatter.java"
NestHost: javax.swing.text.InternationalFormatter
InnerClasses:
public Attribute = java.text.AttributedCharacterIterator$Attribute of java.text.AttributedCharacterIterator
private IncrementAction = javax.swing.text.InternationalFormatter$IncrementAction of javax.swing.text.InternationalFormatter