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 1
aload 0
getfield sun.util.locale.provider.NumberFormatProviderImpl.type:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
aload 0
getfield sun.util.locale.provider.NumberFormatProviderImpl.langtags:Ljava/util/Set;
invokestatic sun.util.locale.provider.LocaleProviderAdapter.isSupportedLocale:(Ljava/util/Locale;Lsun/util/locale/provider/LocaleProviderAdapter$Type;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=8, 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 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 3
start local 3 3: aload 3
aload 1
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 4
start local 4 4: aload 1
invokestatic java.text.DecimalFormatSymbols.getInstance:(Ljava/util/Locale;)Ljava/text/DecimalFormatSymbols;
astore 5
start local 5 5: iload 2
iconst_4
if_icmpne 6
iconst_0
goto 7
StackMap locals: sun.util.locale.provider.LocaleProviderAdapter java.lang.String[] java.text.DecimalFormatSymbols
StackMap stack:
6: iload 2
StackMap locals:
StackMap stack: int
7: istore 6
start local 6 8: new java.text.DecimalFormat
dup
aload 4
iload 6
aaload
aload 5
invokespecial java.text.DecimalFormat.<init>:(Ljava/lang/String;Ljava/text/DecimalFormatSymbols;)V
astore 7
start local 7 9: iload 2
iconst_4
if_icmpne 14
10: aload 7
iconst_0
invokevirtual java.text.DecimalFormat.setMaximumFractionDigits:(I)V
11: aload 7
iconst_0
invokevirtual java.text.DecimalFormat.setDecimalSeparatorAlwaysShown:(Z)V
12: aload 7
iconst_1
invokevirtual java.text.DecimalFormat.setParseIntegerOnly:(Z)V
13: goto 16
StackMap locals: int java.text.DecimalFormat
StackMap stack:
14: iload 2
iconst_1
if_icmpne 16
15: aload 7
aload 5
invokestatic sun.util.locale.provider.NumberFormatProviderImpl.adjustForCurrencyDefaultFractionDigits:(Ljava/text/DecimalFormat;Ljava/text/DecimalFormatSymbols;)V
16: StackMap locals:
StackMap stack:
aload 7
areturn
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 17 0 this Lsun/util/locale/provider/NumberFormatProviderImpl;
0 17 1 locale Ljava/util/Locale;
0 17 2 choice I
3 17 3 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
4 17 4 numberPatterns [Ljava/lang/String;
5 17 5 symbols Ljava/text/DecimalFormatSymbols;
8 17 6 entry I
9 17 7 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