public class org.springframework.format.number.CurrencyStyleFormatter extends org.springframework.format.number.AbstractNumberFormatter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.format.number.CurrencyStyleFormatter
super_class: org.springframework.format.number.AbstractNumberFormatter
{
private int fractionDigits;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.math.RoundingMode roundingMode;
descriptor: Ljava/math/RoundingMode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.util.Currency currency;
descriptor: Ljava/util/Currency;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.String pattern;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.format.number.AbstractNumberFormatter.<init>:()V
1: aload 0
iconst_2
putfield org.springframework.format.number.CurrencyStyleFormatter.fractionDigits:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/format/number/CurrencyStyleFormatter;
public void setFractionDigits(int);
descriptor: (I)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.CurrencyStyleFormatter.fractionDigits:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/format/number/CurrencyStyleFormatter;
0 2 1 fractionDigits I
MethodParameters:
Name Flags
fractionDigits
public void setRoundingMode(java.math.RoundingMode);
descriptor: (Ljava/math/RoundingMode;)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 org.springframework.format.number.CurrencyStyleFormatter.roundingMode:Ljava/math/RoundingMode;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/format/number/CurrencyStyleFormatter;
0 2 1 roundingMode Ljava/math/RoundingMode;
MethodParameters:
Name Flags
roundingMode
public void setCurrency(java.util.Currency);
descriptor: (Ljava/util/Currency;)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 org.springframework.format.number.CurrencyStyleFormatter.currency:Ljava/util/Currency;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/format/number/CurrencyStyleFormatter;
0 2 1 currency Ljava/util/Currency;
MethodParameters:
Name Flags
currency
public void setPattern(java.lang.String);
descriptor: (Ljava/lang/String;)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 org.springframework.format.number.CurrencyStyleFormatter.pattern:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/format/number/CurrencyStyleFormatter;
0 2 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
public java.math.BigDecimal parse(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/math/BigDecimal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.springframework.format.number.AbstractNumberFormatter.parse:(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/Number;
checkcast java.math.BigDecimal
astore 3
start local 3 1: aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.roundingMode:Ljava/math/RoundingMode;
ifnull 4
2: aload 3
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.fractionDigits:I
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.roundingMode:Ljava/math/RoundingMode;
invokevirtual java.math.BigDecimal.setScale:(ILjava/math/RoundingMode;)Ljava/math/BigDecimal;
astore 3
3: goto 5
4: StackMap locals: java.math.BigDecimal
StackMap stack:
aload 3
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.fractionDigits:I
invokevirtual java.math.BigDecimal.setScale:(I)Ljava/math/BigDecimal;
astore 3
5: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/format/number/CurrencyStyleFormatter;
0 6 1 text Ljava/lang/String;
0 6 2 locale Ljava/util/Locale;
1 6 3 decimal Ljava/math/BigDecimal;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
text
locale
protected java.text.NumberFormat getNumberFormat(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.text.NumberFormat.getCurrencyInstance:(Ljava/util/Locale;)Ljava/text/NumberFormat;
checkcast java.text.DecimalFormat
astore 2
start local 2 1: aload 2
iconst_1
invokevirtual java.text.DecimalFormat.setParseBigDecimal:(Z)V
2: aload 2
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.fractionDigits:I
invokevirtual java.text.DecimalFormat.setMaximumFractionDigits:(I)V
3: aload 2
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.fractionDigits:I
invokevirtual java.text.DecimalFormat.setMinimumFractionDigits:(I)V
4: aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.roundingMode:Ljava/math/RoundingMode;
ifnull 6
5: aload 2
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.roundingMode:Ljava/math/RoundingMode;
invokevirtual java.text.DecimalFormat.setRoundingMode:(Ljava/math/RoundingMode;)V
6: StackMap locals: java.text.DecimalFormat
StackMap stack:
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.currency:Ljava/util/Currency;
ifnull 8
7: aload 2
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.currency:Ljava/util/Currency;
invokevirtual java.text.DecimalFormat.setCurrency:(Ljava/util/Currency;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.pattern:Ljava/lang/String;
ifnull 10
9: aload 2
aload 0
getfield org.springframework.format.number.CurrencyStyleFormatter.pattern:Ljava/lang/String;
invokevirtual java.text.DecimalFormat.applyPattern:(Ljava/lang/String;)V
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 Lorg/springframework/format/number/CurrencyStyleFormatter;
0 11 1 locale Ljava/util/Locale;
1 11 2 format Ljava/text/DecimalFormat;
MethodParameters:
Name Flags
locale
public java.lang.Number parse(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/Number;
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.CurrencyStyleFormatter.parse:(Ljava/lang/String;Ljava/util/Locale;)Ljava/math/BigDecimal;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.text.ParseException
}
SourceFile: "CurrencyStyleFormatter.java"