public abstract class org.springframework.format.number.AbstractNumberFormatter implements org.springframework.format.Formatter<java.lang.Number>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.format.number.AbstractNumberFormatter
super_class: java.lang.Object
{
private boolean lenient;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.springframework.format.number.AbstractNumberFormatter.lenient:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/format/number/AbstractNumberFormatter;
public void setLenient(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 org.springframework.format.number.AbstractNumberFormatter.lenient:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/format/number/AbstractNumberFormatter;
0 2 1 lenient Z
MethodParameters:
Name Flags
lenient
public java.lang.String print(java.lang.Number, java.util.Locale);
descriptor: (Ljava/lang/Number;Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.springframework.format.number.AbstractNumberFormatter.getNumberFormat:(Ljava/util/Locale;)Ljava/text/NumberFormat;
aload 1
invokevirtual java.text.NumberFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/format/number/AbstractNumberFormatter;
0 1 1 number Ljava/lang/Number;
0 1 2 locale Ljava/util/Locale;
MethodParameters:
Name Flags
number
locale
public java.lang.Number parse(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/Number;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.springframework.format.number.AbstractNumberFormatter.getNumberFormat:(Ljava/util/Locale;)Ljava/text/NumberFormat;
astore 3
start local 3 1: new java.text.ParsePosition
dup
iconst_0
invokespecial java.text.ParsePosition.<init>:(I)V
astore 4
start local 4 2: aload 3
aload 1
aload 4
invokevirtual java.text.NumberFormat.parse:(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Number;
astore 5
start local 5 3: aload 4
invokevirtual java.text.ParsePosition.getErrorIndex:()I
iconst_m1
if_icmpeq 5
4: new java.text.ParseException
dup
aload 1
aload 4
invokevirtual java.text.ParsePosition.getIndex:()I
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
5: StackMap locals: java.text.NumberFormat java.text.ParsePosition java.lang.Number
StackMap stack:
aload 0
getfield org.springframework.format.number.AbstractNumberFormatter.lenient:Z
ifne 8
6: aload 1
invokevirtual java.lang.String.length:()I
aload 4
invokevirtual java.text.ParsePosition.getIndex:()I
if_icmpeq 8
7: new java.text.ParseException
dup
aload 1
aload 4
invokevirtual java.text.ParsePosition.getIndex:()I
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
8: 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 9 0 this Lorg/springframework/format/number/AbstractNumberFormatter;
0 9 1 text Ljava/lang/String;
0 9 2 locale Ljava/util/Locale;
1 9 3 format Ljava/text/NumberFormat;
2 9 4 position Ljava/text/ParsePosition;
3 9 5 number Ljava/lang/Number;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
text
locale
protected abstract java.text.NumberFormat getNumberFormat(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
locale
public java.lang.Object parse(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.springframework.format.number.AbstractNumberFormatter.parse:(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/Number;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.text.ParseException
public java.lang.String print(java.lang.Object, java.util.Locale);
descriptor: (Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.lang.Number
aload 2
invokevirtual org.springframework.format.number.AbstractNumberFormatter.print:(Ljava/lang/Number;Ljava/util/Locale;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/springframework/format/Formatter<Ljava/lang/Number;>;
SourceFile: "AbstractNumberFormatter.java"