public class javax.swing.text.DefaultFormatter extends javax.swing.JFormattedTextField$AbstractFormatter implements java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.DefaultFormatter
super_class: javax.swing.JFormattedTextField$AbstractFormatter
{
private boolean allowsInvalid;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean overwriteMode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean commitOnEdit;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Class<?> valueClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
private javax.swing.text.NavigationFilter navigationFilter;
descriptor: Ljavax/swing/text/NavigationFilter;
flags: (0x0002) ACC_PRIVATE
private javax.swing.text.DocumentFilter documentFilter;
descriptor: Ljavax/swing/text/DocumentFilter;
flags: (0x0002) ACC_PRIVATE
transient javax.swing.text.DefaultFormatter$ReplaceHolder replaceHolder;
descriptor: Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
flags: (0x0080) ACC_TRANSIENT
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.JFormattedTextField$AbstractFormatter.<init>:()V
1: aload 0
iconst_1
putfield javax.swing.text.DefaultFormatter.overwriteMode:Z
2: aload 0
iconst_1
putfield javax.swing.text.DefaultFormatter.allowsInvalid:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/DefaultFormatter;
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.JFormattedTextField$AbstractFormatter.install:(Ljavax/swing/JFormattedTextField;)V
1: aload 0
invokevirtual javax.swing.text.DefaultFormatter.positionCursorAtInitialLocation:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultFormatter;
0 3 1 ftf Ljavax/swing/JFormattedTextField;
MethodParameters:
Name Flags
ftf
public void setCommitsOnValidEdit(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.DefaultFormatter.commitOnEdit:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultFormatter;
0 2 1 commit Z
MethodParameters:
Name Flags
commit
public boolean getCommitsOnValidEdit();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultFormatter.commitOnEdit:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultFormatter;
public void setOverwriteMode(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.DefaultFormatter.overwriteMode:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultFormatter;
0 2 1 overwriteMode Z
MethodParameters:
Name Flags
overwriteMode
public boolean getOverwriteMode();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultFormatter.overwriteMode:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultFormatter;
public void setAllowsInvalid(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.DefaultFormatter.allowsInvalid:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultFormatter;
0 2 1 allowsInvalid Z
MethodParameters:
Name Flags
allowsInvalid
public boolean getAllowsInvalid();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultFormatter.allowsInvalid:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultFormatter;
public void setValueClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)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.DefaultFormatter.valueClass:Ljava/lang/Class;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultFormatter;
0 2 1 valueClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
valueClass
public java.lang.Class<?> getValueClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultFormatter.valueClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultFormatter;
Signature: ()Ljava/lang/Class<*>;
public java.lang.Object stringToValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getValueClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
astore 3
start local 3 2: aload 2
ifnonnull 6
aload 3
ifnull 6
3: aload 3
invokevirtual javax.swing.JFormattedTextField.getValue:()Ljava/lang/Object;
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
end local 4 6: StackMap locals: java.lang.Class javax.swing.JFormattedTextField
StackMap stack:
aload 2
ifnull 19
7: aload 2
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
8: aload 2
invokevirtual java.lang.Class.getModifiers:()I
invokestatic sun.swing.SwingUtilities2.checkAccess:(I)V
9: aload 2
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 4
start local 4 10: goto 13
end local 4 StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
11: pop
12: aconst_null
astore 4
start local 4 13: StackMap locals: java.lang.reflect.Constructor
StackMap stack:
aload 4
ifnull 19
14: aload 4
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
invokestatic sun.swing.SwingUtilities2.checkAccess:(I)V
15: aload 4
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
16: areturn
17: StackMap locals:
StackMap stack: java.lang.Throwable
pop
18: new java.text.ParseException
dup
ldc "Error creating instance"
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
end local 4 19: StackMap locals:
StackMap stack:
aload 1
areturn
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/DefaultFormatter;
0 20 1 string Ljava/lang/String;
1 20 2 vc Ljava/lang/Class<*>;
2 20 3 ftf Ljavax/swing/JFormattedTextField;
4 6 4 value Ljava/lang/Object;
10 11 4 cons Ljava/lang/reflect/Constructor<*>;
13 19 4 cons Ljava/lang/reflect/Constructor<*>;
Exception table:
from to target type
7 10 11 Class java.lang.NoSuchMethodException
14 16 17 Class java.lang.Throwable
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
string
public java.lang.String valueToString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultFormatter;
0 3 1 value Ljava/lang/Object;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
value
protected javax.swing.text.DocumentFilter getDocumentFilter();
descriptor: ()Ljavax/swing/text/DocumentFilter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultFormatter.documentFilter:Ljavax/swing/text/DocumentFilter;
ifnonnull 2
1: aload 0
new javax.swing.text.DefaultFormatter$DefaultDocumentFilter
dup
aload 0
invokespecial javax.swing.text.DefaultFormatter$DefaultDocumentFilter.<init>:(Ljavax/swing/text/DefaultFormatter;)V
putfield javax.swing.text.DefaultFormatter.documentFilter:Ljavax/swing/text/DocumentFilter;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultFormatter.documentFilter:Ljavax/swing/text/DocumentFilter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultFormatter;
protected javax.swing.text.NavigationFilter getNavigationFilter();
descriptor: ()Ljavax/swing/text/NavigationFilter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultFormatter.navigationFilter:Ljavax/swing/text/NavigationFilter;
ifnonnull 2
1: aload 0
new javax.swing.text.DefaultFormatter$DefaultNavigationFilter
dup
aload 0
invokespecial javax.swing.text.DefaultFormatter$DefaultNavigationFilter.<init>:(Ljavax/swing/text/DefaultFormatter;)V
putfield javax.swing.text.DefaultFormatter.navigationFilter:Ljavax/swing/text/NavigationFilter;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultFormatter.navigationFilter:Ljavax/swing/text/NavigationFilter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultFormatter;
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
invokespecial javax.swing.JFormattedTextField$AbstractFormatter.clone:()Ljava/lang/Object;
checkcast javax.swing.text.DefaultFormatter
astore 1
start local 1 1: aload 1
aconst_null
putfield javax.swing.text.DefaultFormatter.navigationFilter:Ljavax/swing/text/NavigationFilter;
2: aload 1
aconst_null
putfield javax.swing.text.DefaultFormatter.documentFilter:Ljavax/swing/text/DocumentFilter;
3: aload 1
aconst_null
putfield javax.swing.text.DefaultFormatter.replaceHolder:Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/DefaultFormatter;
1 5 1 formatter Ljavax/swing/text/DefaultFormatter;
Exceptions:
throws java.lang.CloneNotSupportedException
void positionCursorAtInitialLocation();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 0
invokevirtual javax.swing.text.DefaultFormatter.getInitialVisualPosition:()I
invokevirtual javax.swing.JFormattedTextField.setCaretPosition:(I)V
3: StackMap locals: javax.swing.JFormattedTextField
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/DefaultFormatter;
1 4 1 ftf Ljavax/swing/JFormattedTextField;
int getInitialVisualPosition();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
iconst_1
invokevirtual javax.swing.text.DefaultFormatter.getNextNavigatableChar:(II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultFormatter;
boolean isNavigatable(int);
descriptor: (I)Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultFormatter;
0 1 1 offset I
MethodParameters:
Name Flags
offset
boolean isLegalInsertText(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultFormatter;
0 1 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
private int getNextNavigatableChar(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.DefaultFormatter.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 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual javax.swing.text.DefaultFormatter.isNavigatable:(I)Z
ifeq 4
3: iload 1
ireturn
4: StackMap locals:
StackMap stack:
iload 1
iload 2
iadd
istore 1
5: StackMap locals:
StackMap stack:
iload 1
iflt 6
iload 1
iload 3
if_icmplt 2
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/DefaultFormatter;
0 7 1 offset I
0 7 2 direction I
1 7 3 max I
MethodParameters:
Name Flags
offset
direction
java.lang.String getReplaceString(int, int, java.lang.String);
descriptor: (IILjava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getText:()Ljava/lang/String;
astore 4
start local 4 1: aload 4
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 2: aload 3
ifnull 4
3: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
4: StackMap locals: java.lang.String java.lang.String
StackMap stack:
iload 1
iload 2
iadd
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 6
5: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
iload 1
iload 2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
6: StackMap locals:
StackMap stack:
aload 5
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 7 0 this Ljavax/swing/text/DefaultFormatter;
0 7 1 offset I
0 7 2 deleteLength I
0 7 3 replaceString Ljava/lang/String;
1 7 4 string Ljava/lang/String;
2 7 5 result Ljava/lang/String;
MethodParameters:
Name Flags
offset
deleteLength
replaceString
boolean isValidEdit(javax.swing.text.DefaultFormatter$ReplaceHolder);
descriptor: (Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getAllowsInvalid:()Z
ifne 6
1: aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual javax.swing.text.DefaultFormatter.getReplaceString:(IILjava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 1
aload 0
aload 2
invokevirtual javax.swing.text.DefaultFormatter.stringToValue:(Ljava/lang/String;)Ljava/lang/Object;
putfield javax.swing.text.DefaultFormatter$ReplaceHolder.value:Ljava/lang/Object;
3: iconst_1
ireturn
4: StackMap locals: javax.swing.text.DefaultFormatter javax.swing.text.DefaultFormatter$ReplaceHolder java.lang.String
StackMap stack: java.text.ParseException
pop
5: iconst_0
ireturn
end local 2 6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/DefaultFormatter;
0 7 1 rh Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
2 6 2 newString Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.text.ParseException
MethodParameters:
Name Flags
rh
void commitEdit();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual javax.swing.JFormattedTextField.commitEdit:()V
3: StackMap locals: javax.swing.JFormattedTextField
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/DefaultFormatter;
1 4 1 ftf Ljavax/swing/JFormattedTextField;
Exceptions:
throws java.text.ParseException
void updateValue();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual javax.swing.text.DefaultFormatter.updateValue:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultFormatter;
void updateValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getText:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual javax.swing.text.DefaultFormatter.stringToValue:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
end local 2 3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultFormatter.getCommitsOnValidEdit:()Z
ifeq 5
4: aload 0
invokevirtual javax.swing.text.DefaultFormatter.commitEdit:()V
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual javax.swing.text.DefaultFormatter.setEditValid:(Z)V
6: goto 9
StackMap locals:
StackMap stack: java.text.ParseException
7: pop
8: aload 0
iconst_0
invokevirtual javax.swing.text.DefaultFormatter.setEditValid:(Z)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/DefaultFormatter;
0 10 1 value Ljava/lang/Object;
2 3 2 string Ljava/lang/String;
Exception table:
from to target type
0 6 7 Class java.text.ParseException
MethodParameters:
Name Flags
value
int getNextCursorPosition(int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual javax.swing.text.DefaultFormatter.getNextNavigatableChar:(II)I
istore 3
start local 3 1: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
istore 4
start local 4 2: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getAllowsInvalid:()Z
ifne 12
3: iload 2
iconst_m1
if_icmpne 8
iload 1
iload 3
if_icmpne 8
4: aload 0
iload 3
iconst_1
invokevirtual javax.swing.text.DefaultFormatter.getNextNavigatableChar:(II)I
istore 3
5: iload 3
iload 4
if_icmplt 12
6: iload 1
istore 3
7: goto 12
8: StackMap locals: int int
StackMap stack:
iload 2
iconst_1
if_icmpne 12
iload 3
iload 4
if_icmplt 12
9: aload 0
iload 4
iconst_1
isub
iconst_m1
invokevirtual javax.swing.text.DefaultFormatter.getNextNavigatableChar:(II)I
istore 3
10: iload 3
iload 4
if_icmpge 12
11: iinc 3 1
12: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/text/DefaultFormatter;
0 13 1 offset I
0 13 2 direction I
1 13 3 newOffset I
2 13 4 max I
MethodParameters:
Name Flags
offset
direction
void repositionCursor(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getCaret:()Ljavax/swing/text/Caret;
aload 0
1: iload 1
iload 2
2: invokevirtual javax.swing.text.DefaultFormatter.getNextCursorPosition:(II)I
invokeinterface javax.swing.text.Caret.setDot:(I)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/DefaultFormatter;
0 4 1 offset I
0 4 2 direction I
MethodParameters:
Name Flags
offset
direction
int getNextVisualPositionFrom(javax.swing.text.JTextComponent, int, javax.swing.text.Position$Bias, int, javax.swing.text.Position$Bias[]);
descriptor: (Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;I[Ljavax/swing/text/Position$Bias;)I
flags: (0x0000)
Code:
stack=6, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
aload 1
iload 2
aload 3
1: iload 4
aload 5
2: invokevirtual javax.swing.plaf.TextUI.getNextVisualPositionFrom:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;I[Ljavax/swing/text/Position$Bias;)I
istore 6
start local 6 3: iload 6
iconst_m1
if_icmpne 5
4: iconst_m1
ireturn
5: StackMap locals: int
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultFormatter.getAllowsInvalid:()Z
ifne 22
iload 4
iconst_3
if_icmpeq 7
6: iload 4
bipush 7
if_icmpne 22
7: StackMap locals:
StackMap stack:
iconst_m1
istore 7
start local 7 8: goto 13
9: StackMap locals: int
StackMap stack:
iload 6
istore 7
10: aload 1
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
11: aload 1
iload 6
aload 3
iload 4
aload 5
12: invokevirtual javax.swing.plaf.TextUI.getNextVisualPositionFrom:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;I[Ljavax/swing/text/Position$Bias;)I
istore 6
13: StackMap locals:
StackMap stack:
aload 0
iload 6
invokevirtual javax.swing.text.DefaultFormatter.isNavigatable:(I)Z
ifne 14
iload 6
iload 7
if_icmpne 9
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
istore 8
start local 8 15: iload 7
iload 6
if_icmpeq 16
iload 6
iload 8
if_icmpne 22
16: StackMap locals: int
StackMap stack:
iload 6
ifne 19
17: aload 5
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
18: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getInitialVisualPosition:()I
istore 6
19: StackMap locals:
StackMap stack:
iload 6
iload 8
if_icmplt 22
iload 8
ifle 22
20: aload 5
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
21: aload 0
iload 8
iconst_1
isub
iconst_m1
invokevirtual javax.swing.text.DefaultFormatter.getNextNavigatableChar:(II)I
iconst_1
iadd
istore 6
end local 8 end local 7 22: StackMap locals:
StackMap stack:
iload 6
ireturn
end local 6 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 23 0 this Ljavax/swing/text/DefaultFormatter;
0 23 1 text Ljavax/swing/text/JTextComponent;
0 23 2 pos I
0 23 3 bias Ljavax/swing/text/Position$Bias;
0 23 4 direction I
0 23 5 biasRet [Ljavax/swing/text/Position$Bias;
3 23 6 value I
8 22 7 last I
15 22 8 max I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
text
pos
bias
direction
biasRet
boolean canReplace(javax.swing.text.DefaultFormatter$ReplaceHolder);
descriptor: (Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.DefaultFormatter.isValidEdit:(Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultFormatter;
0 1 1 rh Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
MethodParameters:
Name Flags
rh
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=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
iload 3
aload 4
aload 5
invokevirtual javax.swing.text.DefaultFormatter.getReplaceHolder:(Ljavax/swing/text/DocumentFilter$FilterBypass;IILjava/lang/String;Ljavax/swing/text/AttributeSet;)Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
astore 6
start local 6 1: aload 0
aload 6
invokevirtual javax.swing.text.DefaultFormatter.replace:(Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
pop
2: return
end local 6 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/DefaultFormatter;
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;
1 3 6 rh Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
fb
offset
length
text
attrs
boolean replace(javax.swing.text.DefaultFormatter$ReplaceHolder);
descriptor: (Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: iconst_1
istore 3
start local 3 2: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
ifle 6
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
ifnull 3
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 6
3: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getSelectionStart:()I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
if_icmpne 5
4: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
iconst_1
if_icmple 6
5: StackMap locals:
StackMap stack:
iconst_m1
istore 3
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultFormatter.getOverwriteMode:()Z
ifeq 11
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
ifnull 11
7: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getSelectedText:()Ljava/lang/String;
ifnonnull 11
8: aload 1
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokestatic java.lang.Math.max:(II)I
9: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.fb:Ljavax/swing/text/DocumentFilter$FilterBypass;
invokevirtual javax.swing.text.DocumentFilter$FilterBypass.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
isub
10: invokestatic java.lang.Math.min:(II)I
putfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
11: StackMap locals:
StackMap stack:
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
ifnull 12
aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual javax.swing.text.DefaultFormatter.isLegalInsertText:(Ljava/lang/String;)Z
ifeq 14
12: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.text.DefaultFormatter.canReplace:(Ljavax/swing/text/DefaultFormatter$ReplaceHolder;)Z
ifeq 14
13: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
ifne 15
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
ifnull 14
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 15
14: StackMap locals:
StackMap stack:
iconst_0
istore 2
15: StackMap locals:
StackMap stack:
iload 2
ifeq 25
16: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.cursorPosition:I
istore 4
start local 4 17: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.fb:Ljavax/swing/text/DocumentFilter$FilterBypass;
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.length:I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.attrs:Ljavax/swing/text/AttributeSet;
invokevirtual javax.swing.text.DocumentFilter$FilterBypass.replace:(IILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
18: iload 4
iconst_m1
if_icmpne 22
19: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
istore 4
20: iload 3
iconst_1
if_icmpne 22
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
ifnull 22
21: aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.offset:I
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.text:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iadd
istore 4
22: StackMap locals: int
StackMap stack:
aload 0
aload 1
getfield javax.swing.text.DefaultFormatter$ReplaceHolder.value:Ljava/lang/Object;
invokevirtual javax.swing.text.DefaultFormatter.updateValue:(Ljava/lang/Object;)V
23: aload 0
iload 4
iload 3
invokevirtual javax.swing.text.DefaultFormatter.repositionCursor:(II)V
24: iconst_1
ireturn
end local 4 25: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultFormatter.invalidEdit:()V
26: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/text/DefaultFormatter;
0 27 1 rh Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
1 27 2 valid Z
2 27 3 direction I
17 25 4 cursor I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
rh
void setDot(javax.swing.text.NavigationFilter$FilterBypass, int, javax.swing.text.Position$Bias);
descriptor: (Ljavax/swing/text/NavigationFilter$FilterBypass;ILjavax/swing/text/Position$Bias;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
aload 3
invokevirtual javax.swing.text.NavigationFilter$FilterBypass.setDot:(ILjavax/swing/text/Position$Bias;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultFormatter;
0 2 1 fb Ljavax/swing/text/NavigationFilter$FilterBypass;
0 2 2 dot I
0 2 3 bias Ljavax/swing/text/Position$Bias;
MethodParameters:
Name Flags
fb
dot
bias
void moveDot(javax.swing.text.NavigationFilter$FilterBypass, int, javax.swing.text.Position$Bias);
descriptor: (Ljavax/swing/text/NavigationFilter$FilterBypass;ILjavax/swing/text/Position$Bias;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
aload 3
invokevirtual javax.swing.text.NavigationFilter$FilterBypass.moveDot:(ILjavax/swing/text/Position$Bias;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultFormatter;
0 2 1 fb Ljavax/swing/text/NavigationFilter$FilterBypass;
0 2 2 dot I
0 2 3 bias Ljavax/swing/text/Position$Bias;
MethodParameters:
Name Flags
fb
dot
bias
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.DefaultFormatter.replaceHolder:Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
ifnonnull 2
1: aload 0
new javax.swing.text.DefaultFormatter$ReplaceHolder
dup
invokespecial javax.swing.text.DefaultFormatter$ReplaceHolder.<init>:()V
putfield javax.swing.text.DefaultFormatter.replaceHolder:Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultFormatter.replaceHolder:Ljavax/swing/text/DefaultFormatter$ReplaceHolder;
aload 1
iload 2
iload 3
aload 4
aload 5
invokevirtual javax.swing.text.DefaultFormatter$ReplaceHolder.reset:(Ljavax/swing/text/DocumentFilter$FilterBypass;IILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
3: aload 0
getfield javax.swing.text.DefaultFormatter.replaceHolder: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 4 0 this Ljavax/swing/text/DefaultFormatter;
0 4 1 fb Ljavax/swing/text/DocumentFilter$FilterBypass;
0 4 2 offset I
0 4 3 length I
0 4 4 text Ljava/lang/String;
0 4 5 attrs Ljavax/swing/text/AttributeSet;
MethodParameters:
Name Flags
fb
offset
length
text
attrs
static javax.swing.JFormattedTextField access$0(javax.swing.text.DefaultFormatter);
descriptor: (Ljavax/swing/text/DefaultFormatter;)Ljavax/swing/JFormattedTextField;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javax.swing.text.DefaultFormatter.getFormattedTextField:()Ljavax/swing/JFormattedTextField;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DefaultFormatter.java"
NestMembers:
javax.swing.text.DefaultFormatter$DefaultDocumentFilter javax.swing.text.DefaultFormatter$DefaultNavigationFilter javax.swing.text.DefaultFormatter$ReplaceHolder
InnerClasses:
public abstract AbstractFormatter = javax.swing.JFormattedTextField$AbstractFormatter of javax.swing.JFormattedTextField
private DefaultDocumentFilter = javax.swing.text.DefaultFormatter$DefaultDocumentFilter of javax.swing.text.DefaultFormatter
private DefaultNavigationFilter = javax.swing.text.DefaultFormatter$DefaultNavigationFilter of javax.swing.text.DefaultFormatter
ReplaceHolder = javax.swing.text.DefaultFormatter$ReplaceHolder of javax.swing.text.DefaultFormatter
public abstract FilterBypass = javax.swing.text.DocumentFilter$FilterBypass of javax.swing.text.DocumentFilter
public abstract FilterBypass = javax.swing.text.NavigationFilter$FilterBypass of javax.swing.text.NavigationFilter
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position