public class javax.swing.text.InternationalFormatter extends javax.swing.text.DefaultFormatter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.InternationalFormatter
super_class: javax.swing.text.DefaultFormatter
{
private static final java.text.Format$Field[] EMPTY_FIELD_ARRAY;
descriptor: [Ljava/text/Format$Field;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.text.Format format;
descriptor: Ljava/text/Format;
flags: (0x0002) ACC_PRIVATE
private java.lang.Comparable max;
descriptor: Ljava/lang/Comparable;
flags: (0x0002) ACC_PRIVATE
private java.lang.Comparable min;
descriptor: Ljava/lang/Comparable;
flags: (0x0002) ACC_PRIVATE
private transient java.util.BitSet literalMask;
descriptor: Ljava/util/BitSet;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.text.AttributedCharacterIterator iterator;
descriptor: Ljava/text/AttributedCharacterIterator;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient boolean validMask;
descriptor: Z
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.lang.String string;
descriptor: Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient boolean ignoreDocumentMutate;
descriptor: Z
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.text.Format$Field
putstatic javax.swing.text.InternationalFormatter.EMPTY_FIELD_ARRAY:[Ljava/text/Format$Field;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.text.DefaultFormatter.<init>:()V
1: aload 0
iconst_0
invokevirtual javax.swing.text.InternationalFormatter.setOverwriteMode:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/InternationalFormatter;
public void <init>(java.text.Format);
descriptor: (Ljava/text/Format;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.text.InternationalFormatter.<init>:()V
1: aload 0
aload 1
invokevirtual javax.swing.text.InternationalFormatter.setFormat:(Ljava/text/Format;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/InternationalFormatter;
0 3 1 format Ljava/text/Format;
MethodParameters:
Name Flags
format
public void setFormat(java.text.Format);
descriptor: (Ljava/text/Format;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.text.InternationalFormatter.format:Ljava/text/Format;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/InternationalFormatter;
0 2 1 format Ljava/text/Format;
MethodParameters:
Name Flags
format
public java.text.Format getFormat();
descriptor: ()Ljava/text/Format;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.InternationalFormatter.format:Ljava/text/Format;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/InternationalFormatter;
public void setMinimum(java.lang.Comparable);
descriptor: (Ljava/lang/Comparable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getValueClass:()Ljava/lang/Class;
ifnonnull 2
aload 1
ifnull 2
1: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual javax.swing.text.InternationalFormatter.setValueClass:(Ljava/lang/Class;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.text.InternationalFormatter.min:Ljava/lang/Comparable;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/InternationalFormatter;
0 4 1 minimum Ljava/lang/Comparable;
MethodParameters:
Name Flags
minimum
public java.lang.Comparable getMinimum();
descriptor: ()Ljava/lang/Comparable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.InternationalFormatter.min:Ljava/lang/Comparable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/InternationalFormatter;
public void setMaximum(java.lang.Comparable);
descriptor: (Ljava/lang/Comparable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getValueClass:()Ljava/lang/Class;
ifnonnull 2
aload 1
ifnull 2
1: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual javax.swing.text.InternationalFormatter.setValueClass:(Ljava/lang/Class;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.text.InternationalFormatter.max:Ljava/lang/Comparable;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/InternationalFormatter;
0 4 1 max Ljava/lang/Comparable;
MethodParameters:
Name Flags
max
public java.lang.Comparable getMaximum();
descriptor: ()Ljava/lang/Comparable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.InternationalFormatter.max:Ljava/lang/Comparable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/InternationalFormatter;
public void install(javax.swing.JFormattedTextField);
descriptor: (Ljavax/swing/JFormattedTextField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.DefaultFormatter.install:(Ljavax/swing/JFormattedTextField;)V
1: aload 0
invokevirtual javax.swing.text.InternationalFormatter.updateMaskIfNecessary:()V
2: aload 0
invokevirtual javax.swing.text.InternationalFormatter.positionCursorAtInitialLocation:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/InternationalFormatter;
0 4 1 ftf Ljavax/swing/JFormattedTextField;
MethodParameters:
Name Flags
ftf
public java.lang.String valueToString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormat:()Ljava/text/Format;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
5: StackMap locals: java.text.Format
StackMap stack:
aload 2
aload 1
invokevirtual java.text.Format.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/InternationalFormatter;
0 6 1 value Ljava/lang/Object;
3 6 2 f Ljava/text/Format;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
value
public java.lang.Object stringToValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormat:()Ljava/text/Format;
invokevirtual javax.swing.text.InternationalFormatter.stringToValue:(Ljava/lang/String;Ljava/text/Format;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 4
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getValueClass:()Ljava/lang/Class;
ifnull 4
2: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getValueClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokespecial javax.swing.text.DefaultFormatter.stringToValue:(Ljava/lang/String;)Ljava/lang/Object;
astore 2
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 2
iconst_1
invokevirtual javax.swing.text.InternationalFormatter.isValidValue:(Ljava/lang/Object;Z)Z
ifne 10
5: new java.text.ParseException
dup
ldc "Value not within min/max range"
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
6: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 3
start local 3 7: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Class cast exception comparing values: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
9: invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/InternationalFormatter;
0 11 1 text Ljava/lang/String;
1 11 2 value Ljava/lang/Object;
7 10 3 cce Ljava/lang/ClassCastException;
Exception table:
from to target type
4 6 6 Class java.lang.ClassCastException
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
text
public java.text.Format$Field[] getFields(int);
descriptor: (I)[Ljava/text/Format$Field;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getAllowsInvalid:()Z
ifeq 2
1: aload 0
invokevirtual javax.swing.text.InternationalFormatter.updateMask:()V
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual javax.swing.text.InternationalFormatter.getAttributes:(I)Ljava/util/Map;
astore 2
start local 2 3: aload 2
ifnull 7
aload 2
invokeinterface java.util.Map.size:()I
ifle 7
4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 5: aload 3
aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
6: aload 3
getstatic javax.swing.text.InternationalFormatter.EMPTY_FIELD_ARRAY:[Ljava/text/Format$Field;
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.text.Format$Field[]
areturn
end local 3 7: StackMap locals: java.util.Map
StackMap stack:
getstatic javax.swing.text.InternationalFormatter.EMPTY_FIELD_ARRAY:[Ljava/text/Format$Field;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/InternationalFormatter;
0 8 1 offset I
3 8 2 attrs Ljava/util/Map;
5 7 3 al Ljava/util/ArrayList;
MethodParameters:
Name Flags
offset
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
1: invokespecial javax.swing.text.DefaultFormatter.clone:()Ljava/lang/Object;
2: checkcast javax.swing.text.InternationalFormatter
astore 1
start local 1 3: aload 1
aconst_null
putfield javax.swing.text.InternationalFormatter.literalMask:Ljava/util/BitSet;
4: aload 1
aconst_null
putfield javax.swing.text.InternationalFormatter.iterator:Ljava/text/AttributedCharacterIterator;
5: aload 1
iconst_0
putfield javax.swing.text.InternationalFormatter.validMask:Z
6: aload 1
aconst_null
putfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/InternationalFormatter;
3 8 1 formatter Ljavax/swing/text/InternationalFormatter;
Exceptions:
throws java.lang.CloneNotSupportedException
protected javax.swing.Action[] getActions();
descriptor: ()[Ljavax/swing/Action;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getSupportsIncrement:()Z
ifeq 4
1: iconst_2
anewarray javax.swing.Action
dup
iconst_0
new javax.swing.text.InternationalFormatter$IncrementAction
dup
aload 0
ldc "increment"
iconst_1
invokespecial javax.swing.text.InternationalFormatter$IncrementAction.<init>:(Ljavax/swing/text/InternationalFormatter;Ljava/lang/String;I)V
aastore
dup
iconst_1
2: new javax.swing.text.InternationalFormatter$IncrementAction
dup
aload 0
ldc "decrement"
iconst_m1
invokespecial javax.swing.text.InternationalFormatter$IncrementAction.<init>:(Ljavax/swing/text/InternationalFormatter;Ljava/lang/String;I)V
aastore
3: areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/InternationalFormatter;
java.lang.Object stringToValue(java.lang.String, java.text.Format);
descriptor: (Ljava/lang/String;Ljava/text/Format;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.text.Format.parseObject:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/InternationalFormatter;
0 3 1 text Ljava/lang/String;
0 3 2 f Ljava/text/Format;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
text
f
boolean isValidValue(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)Z
flags: (0x0000)
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getMinimum:()Ljava/lang/Comparable;
astore 3
start local 3 1: aload 3
ifnull 7
aload 3
aload 1
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ifle 7
2: iconst_0
ireturn
3: StackMap locals: javax.swing.text.InternationalFormatter java.lang.Object int java.lang.Comparable
StackMap stack: java.lang.ClassCastException
astore 4
start local 4 4: iload 2
ifeq 6
5: aload 4
athrow
6: StackMap locals: java.lang.ClassCastException
StackMap stack:
iconst_0
ireturn
end local 4 7: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getMaximum:()Ljava/lang/Comparable;
astore 4
start local 4 8: aload 4
ifnull 14
aload 4
aload 1
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ifge 14
9: iconst_0
ireturn
10: StackMap locals: javax.swing.text.InternationalFormatter java.lang.Object int java.lang.Comparable java.lang.Comparable
StackMap stack: java.lang.ClassCastException
astore 5
start local 5 11: iload 2
ifeq 13
12: aload 5
athrow
13: StackMap locals: java.lang.ClassCastException
StackMap stack:
iconst_0
ireturn
end local 5 14: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/text/InternationalFormatter;
0 15 1 value Ljava/lang/Object;
0 15 2 wantsCCE Z
1 15 3 min Ljava/lang/Comparable;
4 7 4 cce Ljava/lang/ClassCastException;
8 15 4 max Ljava/lang/Comparable;
11 14 5 cce Ljava/lang/ClassCastException;
Exception table:
from to target type
1 2 3 Class java.lang.ClassCastException
8 9 10 Class java.lang.ClassCastException
MethodParameters:
Name Flags
value
wantsCCE
java.util.Map getAttributes(int);
descriptor: (I)Ljava/util/Map;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.isValidMask:()Z
ifeq 5
1: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getIterator:()Ljava/text/AttributedCharacterIterator;
astore 2
start local 2 2: iload 1
iflt 5
iload 1
aload 2
invokeinterface java.text.AttributedCharacterIterator.getEndIndex:()I
if_icmpgt 5
3: aload 2
iload 1
invokeinterface java.text.AttributedCharacterIterator.setIndex:(I)C
pop
4: aload 2
invokeinterface java.text.AttributedCharacterIterator.getAttributes:()Ljava/util/Map;
areturn
end local 2 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/InternationalFormatter;
0 6 1 index I
2 5 2 iterator Ljava/text/AttributedCharacterIterator;
MethodParameters:
Name Flags
index
int getAttributeStart(java.text.AttributedCharacterIterator$Attribute);
descriptor: (Ljava/text/AttributedCharacterIterator$Attribute;)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.isValidMask:()Z
ifeq 8
1: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getIterator:()Ljava/text/AttributedCharacterIterator;
astore 2
start local 2 2: aload 2
invokeinterface java.text.AttributedCharacterIterator.first:()C
pop
3: goto 7
4: StackMap locals: java.text.AttributedCharacterIterator
StackMap stack:
aload 2
aload 1
invokeinterface java.text.AttributedCharacterIterator.getAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/lang/Object;
ifnull 6
5: aload 2
invokeinterface java.text.AttributedCharacterIterator.getIndex:()I
ireturn
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.text.AttributedCharacterIterator.next:()C
pop
7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.text.AttributedCharacterIterator.current:()C
ldc 65535
if_icmpne 4
end local 2 8: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/text/InternationalFormatter;
0 9 1 id Ljava/text/AttributedCharacterIterator$Attribute;
2 8 2 iterator Ljava/text/AttributedCharacterIterator;
MethodParameters:
Name Flags
id
java.text.AttributedCharacterIterator getIterator();
descriptor: ()Ljava/text/AttributedCharacterIterator;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.InternationalFormatter.iterator:Ljava/text/AttributedCharacterIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/InternationalFormatter;
void updateMaskIfNecessary();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getAllowsInvalid:()Z
ifne 7
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormat:()Ljava/text/Format;
ifnull 7
1: aload 0
invokevirtual javax.swing.text.InternationalFormatter.isValidMask:()Z
ifne 4
2: aload 0
invokevirtual javax.swing.text.InternationalFormatter.updateMask:()V
3: goto 7
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getText:()Ljava/lang/String;
astore 1
start local 1 5: aload 1
aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: aload 0
invokevirtual javax.swing.text.InternationalFormatter.updateMask:()V
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/InternationalFormatter;
5 7 1 newString Ljava/lang/String;
void updateMask();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormat:()Ljava/text/Format;
ifnull 18
1: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getDocument:()Ljavax/swing/text/Document;
astore 1
start local 1 2: aload 0
iconst_0
putfield javax.swing.text.InternationalFormatter.validMask:Z
3: aload 1
ifnull 18
4: aload 0
aload 1
iconst_0
aload 1
invokeinterface javax.swing.text.Document.getLength:()I
invokeinterface javax.swing.text.Document.getText:(II)Ljava/lang/String;
putfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
5: goto 8
StackMap locals: javax.swing.text.InternationalFormatter javax.swing.text.Document
StackMap stack: javax.swing.text.BadLocationException
6: pop
7: aload 0
aconst_null
putfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
8: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
ifnull 18
9: aload 0
aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
invokevirtual javax.swing.text.InternationalFormatter.stringToValue:(Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 10: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormat:()Ljava/text/Format;
11: aload 2
invokevirtual java.text.Format.formatToCharacterIterator:(Ljava/lang/Object;)Ljava/text/AttributedCharacterIterator;
12: astore 3
start local 3 13: aload 0
aload 3
invokevirtual javax.swing.text.InternationalFormatter.updateMask:(Ljava/text/AttributedCharacterIterator;)V
end local 3 end local 2 14: goto 18
15: StackMap locals:
StackMap stack: java.text.ParseException
pop
goto 18
16: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
goto 18
17: StackMap locals:
StackMap stack: java.lang.NullPointerException
pop
end local 1 18: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/swing/text/InternationalFormatter;
2 18 1 doc Ljavax/swing/text/Document;
10 14 2 value Ljava/lang/Object;
13 14 3 iterator Ljava/text/AttributedCharacterIterator;
Exception table:
from to target type
4 5 6 Class javax.swing.text.BadLocationException
9 14 15 Class java.text.ParseException
9 14 16 Class java.lang.IllegalArgumentException
9 14 17 Class java.lang.NullPointerException
int getLiteralCountTo(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual javax.swing.text.InternationalFormatter.isLiteral:(I)Z
ifeq 5
4: iinc 2 1
5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 3
end local 3 7: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/InternationalFormatter;
0 8 1 index I
1 8 2 lCount I
2 7 3 counter I
MethodParameters:
Name Flags
index
boolean isLiteral(int);
descriptor: (I)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.isValidMask:()Z
ifeq 2
iload 1
aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmpge 2
1: aload 0
getfield javax.swing.text.InternationalFormatter.literalMask:Ljava/util/BitSet;
iload 1
invokevirtual java.util.BitSet.get:(I)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/InternationalFormatter;
0 3 1 index I
MethodParameters:
Name Flags
index
char getLiteral(int);
descriptor: (I)C
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.isValidMask:()Z
ifeq 2
aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
ifnull 2
iload 1
aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmpge 2
1: aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
iload 1
invokevirtual java.lang.String.charAt:(I)C
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/InternationalFormatter;
0 3 1 index I
MethodParameters:
Name Flags
index
boolean isNavigatable(int);
descriptor: (I)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.text.InternationalFormatter.isLiteral:(I)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/InternationalFormatter;
0 3 1 offset I
MethodParameters:
Name Flags
offset
void updateValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.DefaultFormatter.updateValue:(Ljava/lang/Object;)V
1: aload 0
invokevirtual javax.swing.text.InternationalFormatter.updateMaskIfNecessary:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/InternationalFormatter;
0 3 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
void replace(javax.swing.text.DocumentFilter$FilterBypass, int, int, java.lang.String, javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/DocumentFilter$FilterBypass;IILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield javax.swing.text.InternationalFormatter.ignoreDocumentMutate:Z
ifeq 3
1: aload 1
iload 2
iload 3
aload 4
aload 5
invokevirtual javax.swing.text.DocumentFilter$FilterBypass.replace:(IILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
aload 4
aload 5
invokespecial javax.swing.text.DefaultFormatter.replace:(Ljavax/swing/text/DocumentFilter$FilterBypass;IILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
4: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/InternationalFormatter;
0 5 1 fb Ljavax/swing/text/DocumentFilter$FilterBypass;
0 5 2 offset I
0 5 3 length I
0 5 4 text Ljava/lang/String;
0 5 5 attrs Ljavax/swing/text/AttributeSet;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
fb
offset
length
text
attrs
private int getNextNonliteralIndex(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
istore 3
start local 3 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual javax.swing.text.InternationalFormatter.isLiteral:(I)Z
ifeq 5
3: iload 1
iload 2
iadd
istore 1
4: goto 6
5: StackMap locals:
StackMap stack:
iload 1
ireturn
6: StackMap locals:
StackMap stack:
iload 1
iflt 7
iload 1
iload 3
if_icmplt 2
7: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 8
iconst_0
goto 9
StackMap locals:
StackMap stack:
8: iload 3
StackMap locals:
StackMap stack: int
9: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/InternationalFormatter;
0 10 1 index I
0 10 2 direction I
1 10 3 max I
MethodParameters:
Name Flags
index
direction
boolean canReplace(javax.swing.text.DefaultFormatter$ReplaceHolder);
descriptor: (Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
flags: (0x0000)
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getAllowsInvalid:()Z
ifne 63
1: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual java.lang.String.length:()I
goto 4
StackMap locals: java.lang.String
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: iload 3
ifne 8
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
iconst_1
if_icmpne 8
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
6: invokevirtual javax.swing.JFormattedTextField.getSelectionStart:()I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
if_icmpeq 8
7: aload 1
aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
iconst_m1
invokevirtual javax.swing.text.InternationalFormatter.getNextNonliteralIndex:(II)I
putfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
8: StackMap locals: int
StackMap stack:
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getOverwriteMode:()Z
ifeq 53
9: aconst_null
astore 4
start local 4 10: iconst_0
istore 5
start local 5 11: iconst_0
istore 6
start local 6 12: iload 3
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
invokestatic java.lang.Math.max:(II)I
istore 7
start local 7 13: goto 48
14: StackMap locals: javax.swing.text.InternationalFormatter javax.swing.text.DefaultFormatter$ReplaceHolder java.lang.String int java.lang.StringBuffer int int int
StackMap stack:
aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
iload 5
iadd
invokevirtual javax.swing.text.InternationalFormatter.isLiteral:(I)Z
ifeq 36
15: aload 4
ifnull 19
16: aload 4
aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
17: iload 5
iadd
18: invokevirtual javax.swing.text.InternationalFormatter.getLiteral:(I)C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
19: StackMap locals:
StackMap stack:
iload 6
iload 3
if_icmpge 23
aload 2
iload 6
invokevirtual java.lang.String.charAt:(I)C
20: aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
iload 5
iadd
invokevirtual javax.swing.text.InternationalFormatter.getLiteral:(I)C
if_icmpne 23
21: iinc 6 1
22: goto 47
23: StackMap locals:
StackMap stack:
iload 6
ifne 29
24: aload 1
dup
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
iconst_1
iadd
putfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
25: aload 1
dup
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
iconst_1
isub
putfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
26: iinc 5 -1
27: iinc 7 -1
28: goto 47
29: StackMap locals:
StackMap stack:
aload 4
ifnonnull 47
30: new java.lang.StringBuffer
dup
iload 7
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 4
31: aload 4
aload 2
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
32: aload 4
aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
33: iload 5
iadd
34: invokevirtual javax.swing.text.InternationalFormatter.getLiteral:(I)C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
35: goto 47
36: StackMap locals:
StackMap stack:
iload 6
iload 3
if_icmpge 41
37: aload 4
ifnull 39
38: aload 4
aload 2
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
39: StackMap locals:
StackMap stack:
iinc 6 1
40: goto 47
41: StackMap locals:
StackMap stack:
aload 4
ifnonnull 45
42: new java.lang.StringBuffer
dup
iload 7
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 4
43: iload 6
ifle 45
44: aload 4
aload 2
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
45: StackMap locals:
StackMap stack:
aload 4
ifnull 47
46: aload 4
bipush 32
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
47: StackMap locals:
StackMap stack:
iinc 5 1
48: StackMap locals:
StackMap stack:
iload 5
iload 7
49: if_icmplt 14
end local 7 end local 6 end local 5 50: aload 4
ifnull 57
51: aload 1
aload 4
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
putfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
end local 4 52: goto 57
53: StackMap locals: javax.swing.text.InternationalFormatter javax.swing.text.DefaultFormatter$ReplaceHolder java.lang.String int
StackMap stack:
iload 3
ifle 56
54: aload 1
aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
iconst_1
invokevirtual javax.swing.text.InternationalFormatter.getNextNonliteralIndex:(II)I
putfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
55: goto 57
56: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
iconst_m1
invokevirtual javax.swing.text.InternationalFormatter.getNextNonliteralIndex:(II)I
putfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
57: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
putfield javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.endOffset:I
58: aload 1
checkcast javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
ifnull 60
59: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
goto 61
StackMap locals:
StackMap stack: javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
60: iconst_0
61: StackMap locals: javax.swing.text.InternationalFormatter javax.swing.text.DefaultFormatter$ReplaceHolder java.lang.String int
StackMap stack: javax.swing.text.InternationalFormatter$ExtendedReplaceHolder int
putfield javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.endTextLength:I
end local 3 end local 2 62: goto 68
63: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
putfield javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.endOffset:I
64: aload 1
checkcast javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
ifnull 66
65: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
goto 67
StackMap locals:
StackMap stack: javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
66: iconst_0
67: StackMap locals: javax.swing.text.InternationalFormatter javax.swing.text.DefaultFormatter$ReplaceHolder
StackMap stack: javax.swing.text.InternationalFormatter$ExtendedReplaceHolder int
putfield javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.endTextLength:I
68: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.text.DefaultFormatter.canReplace:(Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
istore 2
start local 2 69: iload 2
ifeq 71
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getAllowsInvalid:()Z
ifne 71
70: aload 1
checkcast javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
aload 0
invokevirtual javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.resetFromValue:(Ljavax/swing/text/InternationalFormatter;)V
71: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 72 0 this Ljavax/swing/text/InternationalFormatter;
0 72 1 rh Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
2 62 2 text Ljava/lang/String;
5 62 3 tl I
10 52 4 replace Ljava/lang/StringBuffer;
11 50 5 counter I
12 50 6 textIndex I
13 50 7 max I
69 72 2 can Z
MethodParameters:
Name Flags
rh
boolean replace(javax.swing.text.DefaultFormatter$ReplaceHolder);
descriptor: (Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
flags: (0x0000)
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: iconst_m1
istore 2
start local 2 1: iconst_1
istore 3
start local 3 2: iconst_m1
istore 4
start local 4 3: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
ifle 7
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
ifnull 4
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 7
4: StackMap locals: int int int
StackMap stack:
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getSelectionStart:()I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
if_icmpne 6
5: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
iconst_1
if_icmple 7
6: StackMap locals:
StackMap stack:
iconst_m1
istore 3
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.InternationalFormatter.getAllowsInvalid:()Z
ifne 14
8: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
ifnull 9
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 12
StackMap locals:
StackMap stack:
9: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
ifle 12
10: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getSelectionStart:()I
istore 2
11: goto 13
12: StackMap locals:
StackMap stack:
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
istore 2
13: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual javax.swing.text.InternationalFormatter.getLiteralCountTo:(I)I
istore 4
14: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.text.DefaultFormatter.replace:(Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
ifeq 25
15: iload 2
iconst_m1
if_icmpeq 20
16: aload 1
checkcast javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
getfield javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.endOffset:I
istore 5
start local 5 17: iload 5
aload 1
checkcast javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
getfield javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.endTextLength:I
iadd
istore 5
18: aload 0
iload 4
iload 5
iload 3
invokevirtual javax.swing.text.InternationalFormatter.repositionCursor:(III)V
end local 5 19: goto 24
20: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
getfield javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.endOffset:I
istore 2
21: iload 3
iconst_1
if_icmpne 23
22: iload 2
aload 1
checkcast javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
getfield javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.endTextLength:I
iadd
istore 2
23: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 3
invokevirtual javax.swing.text.InternationalFormatter.repositionCursor:(II)V
24: StackMap locals:
StackMap stack:
iconst_1
ireturn
25: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljavax/swing/text/InternationalFormatter;
0 26 1 rh Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
1 26 2 start I
2 26 3 direction I
3 26 4 literalCount I
17 19 5 end I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
rh
private void repositionCursor(int, int, int);
descriptor: (III)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 2
invokevirtual javax.swing.text.InternationalFormatter.getLiteralCountTo:(I)I
istore 4
start local 4 1: iload 4
iload 2
if_icmpeq 9
2: iload 2
iload 1
isub
istore 2
3: iconst_0
istore 5
start local 5 4: goto 8
5: StackMap locals: int int
StackMap stack:
aload 0
iload 5
invokevirtual javax.swing.text.InternationalFormatter.isLiteral:(I)Z
ifeq 7
6: iinc 2 1
7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 2
if_icmplt 5
end local 5 9: StackMap locals:
StackMap stack:
aload 0
iload 2
iconst_1
invokevirtual javax.swing.text.InternationalFormatter.repositionCursor:(II)V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/InternationalFormatter;
0 11 1 startLiteralCount I
0 11 2 end I
0 11 3 direction I
1 11 4 endLiteralCount I
4 9 5 counter I
MethodParameters:
Name Flags
startLiteralCount
end
direction
char getBufferedChar(int);
descriptor: (I)C
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.isValidMask:()Z
ifeq 3
1: aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
ifnull 3
iload 1
aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmpge 3
2: aload 0
getfield javax.swing.text.InternationalFormatter.string:Ljava/lang/String;
iload 1
invokevirtual java.lang.String.charAt:(I)C
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/InternationalFormatter;
0 4 1 index I
MethodParameters:
Name Flags
index
boolean isValidMask();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.InternationalFormatter.validMask:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/InternationalFormatter;
boolean isLiteral(java.util.Map);
descriptor: (Ljava/util/Map;)Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokeinterface java.util.Map.size:()I
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/InternationalFormatter;
0 2 1 attributes Ljava/util/Map;
MethodParameters:
Name Flags
attributes
private void updateMask(java.text.AttributedCharacterIterator);
descriptor: (Ljava/text/AttributedCharacterIterator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnull 26
1: aload 0
iconst_1
putfield javax.swing.text.InternationalFormatter.validMask:Z
2: aload 0
aload 1
putfield javax.swing.text.InternationalFormatter.iterator:Ljava/text/AttributedCharacterIterator;
3: aload 0
getfield javax.swing.text.InternationalFormatter.literalMask:Ljava/util/BitSet;
ifnonnull 6
4: aload 0
new java.util.BitSet
dup
invokespecial java.util.BitSet.<init>:()V
putfield javax.swing.text.InternationalFormatter.literalMask:Ljava/util/BitSet;
5: goto 11
6: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.InternationalFormatter.literalMask:Ljava/util/BitSet;
invokevirtual java.util.BitSet.length:()I
iconst_1
isub
istore 2
start local 2 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.text.InternationalFormatter.literalMask:Ljava/util/BitSet;
iload 2
invokevirtual java.util.BitSet.clear:(I)V
9: iinc 2 -1
10: StackMap locals:
StackMap stack:
iload 2
ifge 8
end local 2 11: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.text.AttributedCharacterIterator.first:()C
pop
12: goto 25
13: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.text.AttributedCharacterIterator.getAttributes:()Ljava/util/Map;
astore 2
start local 2 14: aload 0
aload 2
invokevirtual javax.swing.text.InternationalFormatter.isLiteral:(Ljava/util/Map;)Z
istore 3
start local 3 15: aload 1
invokeinterface java.text.AttributedCharacterIterator.getIndex:()I
istore 4
start local 4 16: aload 1
invokeinterface java.text.AttributedCharacterIterator.getRunLimit:()I
istore 5
start local 5 17: goto 23
18: StackMap locals: javax.swing.text.InternationalFormatter java.text.AttributedCharacterIterator java.util.Map int int int
StackMap stack:
iload 3
ifeq 21
19: aload 0
getfield javax.swing.text.InternationalFormatter.literalMask:Ljava/util/BitSet;
iload 4
invokevirtual java.util.BitSet.set:(I)V
20: goto 22
21: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.InternationalFormatter.literalMask:Ljava/util/BitSet;
iload 4
invokevirtual java.util.BitSet.clear:(I)V
22: StackMap locals:
StackMap stack:
iinc 4 1
23: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 18
24: aload 1
iload 4
invokeinterface java.text.AttributedCharacterIterator.setIndex:(I)C
pop
end local 5 end local 4 end local 3 end local 2 25: StackMap locals: javax.swing.text.InternationalFormatter java.text.AttributedCharacterIterator
StackMap stack:
aload 1
invokeinterface java.text.AttributedCharacterIterator.current:()C
ldc 65535
if_icmpne 13
26: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/text/InternationalFormatter;
0 27 1 iterator Ljava/text/AttributedCharacterIterator;
7 11 2 counter I
14 25 2 attributes Ljava/util/Map;
15 25 3 set Z
16 25 4 start I
17 25 5 end I
MethodParameters:
Name Flags
iterator
boolean canIncrement(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Z
flags: (0x0000)
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/InternationalFormatter;
0 2 1 field Ljava/lang/Object;
0 2 2 cursorPosition I
MethodParameters:
Name Flags
field
cursorPosition
void selectField(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getIterator:()Ljava/text/AttributedCharacterIterator;
astore 3
start local 3 1: aload 3
ifnull 19
2: aload 1
instanceof java.text.AttributedCharacterIterator$Attribute
ifeq 19
3: aload 1
checkcast java.text.AttributedCharacterIterator$Attribute
4: astore 4
start local 4 5: aload 3
invokeinterface java.text.AttributedCharacterIterator.first:()C
pop
6: goto 18
7: StackMap locals: java.text.AttributedCharacterIterator java.text.AttributedCharacterIterator$Attribute
StackMap stack:
aload 3
aload 4
invokeinterface java.text.AttributedCharacterIterator.getAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/lang/Object;
ifnonnull 9
8: aload 3
invokeinterface java.text.AttributedCharacterIterator.next:()C
ldc 65535
if_icmpne 7
9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.text.AttributedCharacterIterator.current:()C
ldc 65535
if_icmpeq 18
10: aload 3
aload 4
invokeinterface java.text.AttributedCharacterIterator.getRunLimit:(Ljava/text/AttributedCharacterIterator$Attribute;)I
istore 5
start local 5 11: iinc 2 -1
iload 2
ifgt 16
12: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
aload 3
invokeinterface java.text.AttributedCharacterIterator.getIndex:()I
13: iload 5
14: invokevirtual javax.swing.JFormattedTextField.select:(II)V
15: goto 19
16: StackMap locals: int
StackMap stack:
aload 3
iload 5
invokeinterface java.text.AttributedCharacterIterator.setIndex:(I)C
pop
17: aload 3
invokeinterface java.text.AttributedCharacterIterator.next:()C
pop
end local 5 18: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.text.AttributedCharacterIterator.current:()C
ldc 65535
if_icmpne 7
end local 4 19: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/swing/text/InternationalFormatter;
0 20 1 f Ljava/lang/Object;
0 20 2 count I
1 20 3 iterator Ljava/text/AttributedCharacterIterator;
5 19 4 field Ljava/text/AttributedCharacterIterator$Attribute;
11 18 5 limit I
MethodParameters:
Name Flags
f
count
java.lang.Object getAdjustField(int, java.util.Map);
descriptor: (ILjava/util/Map;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/InternationalFormatter;
0 1 1 start I
0 1 2 attributes Ljava/util/Map;
MethodParameters:
Name Flags
start
attributes
private int getFieldTypeCountTo(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getIterator:()Ljava/text/AttributedCharacterIterator;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: aload 3
ifnull 15
3: aload 1
instanceof java.text.AttributedCharacterIterator$Attribute
ifeq 15
4: aload 1
checkcast java.text.AttributedCharacterIterator$Attribute
5: astore 5
start local 5 6: aload 3
invokeinterface java.text.AttributedCharacterIterator.first:()C
pop
7: goto 14
8: StackMap locals: java.text.AttributedCharacterIterator int java.text.AttributedCharacterIterator$Attribute
StackMap stack:
aload 3
aload 5
invokeinterface java.text.AttributedCharacterIterator.getAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/lang/Object;
ifnonnull 10
9: aload 3
invokeinterface java.text.AttributedCharacterIterator.next:()C
ldc 65535
if_icmpne 8
10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.text.AttributedCharacterIterator.current:()C
ldc 65535
if_icmpeq 15
11: aload 3
aload 3
aload 5
invokeinterface java.text.AttributedCharacterIterator.getRunLimit:(Ljava/text/AttributedCharacterIterator$Attribute;)I
invokeinterface java.text.AttributedCharacterIterator.setIndex:(I)C
pop
12: aload 3
invokeinterface java.text.AttributedCharacterIterator.next:()C
pop
13: iinc 4 1
14: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.text.AttributedCharacterIterator.getIndex:()I
iload 2
if_icmplt 8
end local 5 15: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/text/InternationalFormatter;
0 16 1 f Ljava/lang/Object;
0 16 2 start I
1 16 3 iterator Ljava/text/AttributedCharacterIterator;
2 16 4 count I
6 15 5 field Ljava/text/AttributedCharacterIterator$Attribute;
MethodParameters:
Name Flags
f
start
java.lang.Object adjustValue(java.lang.Object, java.util.Map, java.lang.Object, int);
descriptor: (Ljava/lang/Object;Ljava/util/Map;Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/InternationalFormatter;
0 1 1 value Ljava/lang/Object;
0 1 2 attributes Ljava/util/Map;
0 1 3 field Ljava/lang/Object;
0 1 4 direction I
Exceptions:
throws javax.swing.text.BadLocationException, java.text.ParseException
MethodParameters:
Name Flags
value
attributes
field
direction
boolean getSupportsIncrement();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/InternationalFormatter;
void resetValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 1: aload 0
aload 1
invokevirtual javax.swing.text.InternationalFormatter.valueToString:(Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
iconst_1
putfield javax.swing.text.InternationalFormatter.ignoreDocumentMutate:Z
3: aload 2
iconst_0
aload 2
invokeinterface javax.swing.text.Document.getLength:()I
invokeinterface javax.swing.text.Document.remove:(II)V
4: aload 2
iconst_0
aload 3
aconst_null
invokeinterface javax.swing.text.Document.insertString:(ILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
5: goto 9
StackMap locals: javax.swing.text.InternationalFormatter java.lang.Object javax.swing.text.Document java.lang.String
StackMap stack: java.lang.Throwable
6: astore 4
7: aload 0
iconst_0
putfield javax.swing.text.InternationalFormatter.ignoreDocumentMutate:Z
8: aload 4
athrow
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.swing.text.InternationalFormatter.ignoreDocumentMutate:Z
10: aload 0
aload 1
invokevirtual javax.swing.text.InternationalFormatter.updateValue:(Ljava/lang/Object;)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/text/InternationalFormatter;
0 12 1 value Ljava/lang/Object;
1 12 2 doc Ljavax/swing/text/Document;
2 12 3 string Ljava/lang/String;
Exception table:
from to target type
2 6 6 any
Exceptions:
throws javax.swing.text.BadLocationException, java.text.ParseException
MethodParameters:
Name Flags
value
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
invokevirtual javax.swing.text.InternationalFormatter.updateMaskIfNecessary:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/InternationalFormatter;
0 3 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
javax.swing.text.DefaultFormatter$ReplaceHolder getReplaceHolder(javax.swing.text.DocumentFilter$FilterBypass, int, int, java.lang.String, javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/DocumentFilter$FilterBypass;IILjava/lang/String;Ljavax/swing/text/AttributeSet;)Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
flags: (0x0000)
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield javax.swing.text.InternationalFormatter.replaceHolder:Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
ifnonnull 2
1: aload 0
new javax.swing.text.InternationalFormatter$ExtendedReplaceHolder
dup
invokespecial javax.swing.text.InternationalFormatter$ExtendedReplaceHolder.<init>:()V
putfield javax.swing.text.InternationalFormatter.replaceHolder:Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
aload 4
aload 5
invokespecial javax.swing.text.DefaultFormatter.getReplaceHolder:(Ljavax/swing/text/DocumentFilter$FilterBypass;IILjava/lang/String;Ljavax/swing/text/AttributeSet;)Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/InternationalFormatter;
0 3 1 fb Ljavax/swing/text/DocumentFilter$FilterBypass;
0 3 2 offset I
0 3 3 length I
0 3 4 text Ljava/lang/String;
0 3 5 attrs Ljavax/swing/text/AttributeSet;
MethodParameters:
Name Flags
fb
offset
length
text
attrs
static javax.swing.JFormattedTextField access$0(javax.swing.text.InternationalFormatter);
descriptor: (Ljavax/swing/text/InternationalFormatter;)Ljavax/swing/JFormattedTextField;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
areturn
LocalVariableTable:
Start End Slot Name Signature
static void access$1(javax.swing.text.InternationalFormatter);
descriptor: (Ljavax/swing/text/InternationalFormatter;)V
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javax.swing.text.InternationalFormatter.invalidEdit:()V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "InternationalFormatter.java"
NestMembers:
javax.swing.text.InternationalFormatter$ExtendedReplaceHolder javax.swing.text.InternationalFormatter$IncrementAction
InnerClasses:
public Attribute = java.text.AttributedCharacterIterator$Attribute of java.text.AttributedCharacterIterator
public Field = java.text.Format$Field of java.text.Format
ReplaceHolder = javax.swing.text.DefaultFormatter$ReplaceHolder of javax.swing.text.DefaultFormatter
public abstract FilterBypass = javax.swing.text.DocumentFilter$FilterBypass of javax.swing.text.DocumentFilter
ExtendedReplaceHolder = javax.swing.text.InternationalFormatter$ExtendedReplaceHolder of javax.swing.text.InternationalFormatter
private IncrementAction = javax.swing.text.InternationalFormatter$IncrementAction of javax.swing.text.InternationalFormatter