public class sun.util.locale.provider.NumberFormatProviderImpl extends java.text.spi.NumberFormatProvider implements sun.util.locale.provider.AvailableLanguageTags
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.util.locale.provider.NumberFormatProviderImpl
super_class: java.text.spi.NumberFormatProvider
{
private static final int NUMBERSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int CURRENCYSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int PERCENTSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int SCIENTIFICSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int INTEGERSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private final sun.util.locale.provider.LocaleProviderAdapter$Type type;
descriptor: Lsun/util/locale/provider/LocaleProviderAdapter$Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<java.lang.String> langtags;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public void <init>(sun.util.locale.provider.LocaleProviderAdapter$Type, java.util.Set<java.lang.String>);
descriptor: (Lsun/util/locale/provider/LocaleProviderAdapter$Type;Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.text.spi.NumberFormatProvider.<init>:()V
1: aload 0
aload 1
putfield sun.util.locale.provider.NumberFormatProviderImpl.type:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
2: aload 0
aload 2
putfield sun.util.locale.provider.NumberFormatProviderImpl.langtags:Ljava/util/Set;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
0 4 1 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
0 4 2 langtags Ljava/util/Set<Ljava/lang/String;>;
Signature: (Lsun/util/locale/provider/LocaleProviderAdapter$Type;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
type
langtags
public java.util.Locale[] getAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.provider.NumberFormatProviderImpl.type:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getAvailableLocales:()[Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
public boolean isSupportedLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.util.locale.provider.NumberFormatProviderImpl.type:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
aload 1
aload 0
getfield sun.util.locale.provider.NumberFormatProviderImpl.langtags:Ljava/util/Set;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.isSupportedProviderLocale:(Ljava/util/Locale;Ljava/util/Set;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public java.text.NumberFormat getCurrencyInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual sun.util.locale.provider.NumberFormatProviderImpl.getInstance:(Ljava/util/Locale;I)Ljava/text/NumberFormat;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public java.text.NumberFormat getIntegerInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_4
invokevirtual sun.util.locale.provider.NumberFormatProviderImpl.getInstance:(Ljava/util/Locale;I)Ljava/text/NumberFormat;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public java.text.NumberFormat getNumberInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.util.locale.provider.NumberFormatProviderImpl.getInstance:(Ljava/util/Locale;I)Ljava/text/NumberFormat;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public java.text.NumberFormat getPercentInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_2
invokevirtual sun.util.locale.provider.NumberFormatProviderImpl.getInstance:(Ljava/util/Locale;I)Ljava/text/NumberFormat;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
private java.text.NumberFormat getInstance(java.util.Locale, int);
descriptor: (Ljava/util/Locale;I)Ljava/text/NumberFormat;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ldc "nu"
invokevirtual java.util.Locale.getUnicodeLocaleType:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 4
3: aload 1
invokestatic sun.util.locale.provider.CalendarDataUtility.findRegionOverride:(Ljava/util/Locale;)Ljava/util/Locale;
goto 5
4: StackMap locals:
StackMap stack:
aload 1
5: StackMap locals:
StackMap stack: java.util.Locale
astore 3
start local 3 6: aload 0
getfield sun.util.locale.provider.NumberFormatProviderImpl.type:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
astore 4
start local 4 7: aload 4
aload 3
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleResources:(Ljava/util/Locale;)Lsun/util/locale/provider/LocaleResources;
invokevirtual sun.util.locale.provider.LocaleResources.getNumberPatterns:()[Ljava/lang/String;
astore 5
start local 5 8: aload 3
invokestatic java.text.DecimalFormatSymbols.getInstance:(Ljava/util/Locale;)Ljava/text/DecimalFormatSymbols;
astore 6
start local 6 9: iload 2
iconst_4
if_icmpne 10
iconst_0
goto 11
StackMap locals: sun.util.locale.provider.NumberFormatProviderImpl java.util.Locale int java.util.Locale sun.util.locale.provider.LocaleProviderAdapter java.lang.String[] java.text.DecimalFormatSymbols
StackMap stack:
10: iload 2
StackMap locals:
StackMap stack: int
11: istore 7
start local 7 12: new java.text.DecimalFormat
dup
aload 5
iload 7
aaload
aload 6
invokespecial java.text.DecimalFormat.<init>:(Ljava/lang/String;Ljava/text/DecimalFormatSymbols;)V
astore 8
start local 8 13: iload 2
iconst_4
if_icmpne 18
14: aload 8
iconst_0
invokevirtual java.text.DecimalFormat.setMaximumFractionDigits:(I)V
15: aload 8
iconst_0
invokevirtual java.text.DecimalFormat.setDecimalSeparatorAlwaysShown:(Z)V
16: aload 8
iconst_1
invokevirtual java.text.DecimalFormat.setParseIntegerOnly:(Z)V
17: goto 20
StackMap locals: int java.text.DecimalFormat
StackMap stack:
18: iload 2
iconst_1
if_icmpne 20
19: aload 8
aload 6
invokestatic sun.util.locale.provider.NumberFormatProviderImpl.adjustForCurrencyDefaultFractionDigits:(Ljava/text/DecimalFormat;Ljava/text/DecimalFormatSymbols;)V
20: StackMap locals:
StackMap stack:
aload 8
areturn
end local 8 end local 7 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 21 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
0 21 1 locale Ljava/util/Locale;
0 21 2 choice I
6 21 3 override Ljava/util/Locale;
7 21 4 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
8 21 5 numberPatterns [Ljava/lang/String;
9 21 6 symbols Ljava/text/DecimalFormatSymbols;
12 21 7 entry I
13 21 8 format Ljava/text/DecimalFormat;
MethodParameters:
Name Flags
locale
choice
private static void adjustForCurrencyDefaultFractionDigits(java.text.DecimalFormat, java.text.DecimalFormatSymbols);
descriptor: (Ljava/text/DecimalFormat;Ljava/text/DecimalFormatSymbols;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.text.DecimalFormatSymbols.getCurrency:()Ljava/util/Currency;
astore 2
start local 2 1: aload 2
ifnonnull 5
2: aload 1
invokevirtual java.text.DecimalFormatSymbols.getInternationalCurrencySymbol:()Ljava/lang/String;
invokestatic java.util.Currency.getInstance:(Ljava/lang/String;)Ljava/util/Currency;
astore 2
3: goto 5
StackMap locals: java.text.DecimalFormat java.text.DecimalFormatSymbols java.util.Currency
StackMap stack: java.lang.IllegalArgumentException
4: pop
5: StackMap locals:
StackMap stack:
aload 2
ifnull 15
6: aload 2
invokevirtual java.util.Currency.getDefaultFractionDigits:()I
istore 3
start local 3 7: iload 3
iconst_m1
if_icmpeq 15
8: aload 0
invokevirtual java.text.DecimalFormat.getMinimumFractionDigits:()I
istore 4
start local 4 9: iload 4
aload 0
invokevirtual java.text.DecimalFormat.getMaximumFractionDigits:()I
if_icmpne 13
10: aload 0
iload 3
invokevirtual java.text.DecimalFormat.setMinimumFractionDigits:(I)V
11: aload 0
iload 3
invokevirtual java.text.DecimalFormat.setMaximumFractionDigits:(I)V
12: goto 15
13: StackMap locals: int int
StackMap stack:
aload 0
iload 3
iload 4
invokestatic java.lang.Math.min:(II)I
invokevirtual java.text.DecimalFormat.setMinimumFractionDigits:(I)V
14: aload 0
iload 3
invokevirtual java.text.DecimalFormat.setMaximumFractionDigits:(I)V
end local 4 end local 3 15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 format Ljava/text/DecimalFormat;
0 16 1 symbols Ljava/text/DecimalFormatSymbols;
1 16 2 currency Ljava/util/Currency;
7 15 3 digits I
9 15 4 oldMinDigits I
Exception table:
from to target type
2 3 4 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
format
symbols
public java.util.Set<java.lang.String> getAvailableLanguageTags();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.provider.NumberFormatProviderImpl.langtags:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
}
SourceFile: "NumberFormatProviderImpl.java"
InnerClasses:
public final Type = sun.util.locale.provider.LocaleProviderAdapter$Type of sun.util.locale.provider.LocaleProviderAdapter