public class sun.util.locale.provider.CalendarNameProviderImpl extends java.util.spi.CalendarNameProvider 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.CalendarNameProviderImpl
super_class: java.util.spi.CalendarNameProvider
{
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;>;
private static int[] REST_OF_STYLES;
descriptor: [I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_5
newarray 10
dup
iconst_0
1: ldc 32769
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
ldc 32770
iastore
dup
iconst_3
2: iconst_4
iastore
dup
iconst_4
ldc 32772
iastore
3: putstatic sun.util.locale.provider.CalendarNameProviderImpl.REST_OF_STYLES:[I
4: return
LocalVariableTable:
Start End Slot Name Signature
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.util.spi.CalendarNameProvider.<init>:()V
1: aload 0
aload 1
putfield sun.util.locale.provider.CalendarNameProviderImpl.type:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
2: aload 0
aload 2
putfield sun.util.locale.provider.CalendarNameProviderImpl.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/CalendarNameProviderImpl;
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.lang.String getDisplayName(java.lang.String, int, int, int, java.util.Locale);
descriptor: (Ljava/lang/String;IIILjava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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
aload 1
iload 2
iload 3
iload 4
aload 5
iconst_0
invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.getDisplayNameImpl:(Ljava/lang/String;IIILjava/util/Locale;Z)Ljava/lang/String;
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 1 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
0 1 1 calendarType Ljava/lang/String;
0 1 2 field I
0 1 3 value I
0 1 4 style I
0 1 5 locale Ljava/util/Locale;
MethodParameters:
Name Flags
calendarType
field
value
style
locale
public java.lang.String getJavaTimeDisplayName(java.lang.String, int, int, int, java.util.Locale);
descriptor: (Ljava/lang/String;IIILjava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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
aload 1
iload 2
iload 3
iload 4
aload 5
iconst_1
invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.getDisplayNameImpl:(Ljava/lang/String;IIILjava/util/Locale;Z)Ljava/lang/String;
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 1 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
0 1 1 calendarType Ljava/lang/String;
0 1 2 field I
0 1 3 value I
0 1 4 style I
0 1 5 locale Ljava/util/Locale;
MethodParameters:
Name Flags
calendarType
field
value
style
locale
public java.lang.String getDisplayNameImpl(java.lang.String, int, int, int, java.util.Locale, boolean);
descriptor: (Ljava/lang/String;IIILjava/util/Locale;Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aconst_null
astore 7
start local 7 1: aload 0
aload 1
iload 2
iload 4
iload 6
invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.getResourceKey:(Ljava/lang/String;IIZ)Ljava/lang/String;
astore 8
start local 8 2: aload 8
ifnull 45
3: aload 0
getfield sun.util.locale.provider.CalendarNameProviderImpl.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 5
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleResources:(Ljava/util/Locale;)Lsun/util/locale/provider/LocaleResources;
astore 9
start local 9 4: iload 6
ifeq 5
aload 9
aload 8
invokevirtual sun.util.locale.provider.LocaleResources.getJavaTimeNames:(Ljava/lang/String;)[Ljava/lang/String;
goto 6
StackMap locals: java.lang.String java.lang.String sun.util.locale.provider.LocaleResources
StackMap stack:
5: aload 9
aload 8
invokevirtual sun.util.locale.provider.LocaleResources.getCalendarNames:(Ljava/lang/String;)[Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String[]
6: astore 10
start local 10 7: aload 10
ifnull 45
aload 10
arraylength
ifle 45
8: iload 2
bipush 7
if_icmpeq 9
iload 2
iconst_1
if_icmpne 10
9: StackMap locals: java.lang.String[]
StackMap stack:
iinc 3 -1
10: StackMap locals:
StackMap stack:
iload 3
ifge 12
11: aconst_null
areturn
12: StackMap locals:
StackMap stack:
iload 3
aload 10
arraylength
if_icmplt 37
13: iload 2
ifne 36
ldc "japanese"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
14: ldc "japanese"
invokestatic sun.util.calendar.CalendarSystem.forName:(Ljava/lang/String;)Lsun/util/calendar/CalendarSystem;
invokevirtual sun.util.calendar.CalendarSystem.getEras:()[Lsun/util/calendar/Era;
astore 11
start local 11 15: iload 3
aload 11
arraylength
if_icmpgt 35
16: aload 0
getfield sun.util.locale.provider.CalendarNameProviderImpl.type:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.CLDR:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpne 24
17: invokestatic sun.util.locale.provider.LocaleProviderAdapter.forJRE:()Lsun/util/locale/provider/LocaleProviderAdapter;
aload 5
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleResources:(Ljava/util/Locale;)Lsun/util/locale/provider/LocaleResources;
astore 9
18: getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
19: aload 1
iload 2
iload 4
iload 6
20: invokestatic sun.util.locale.provider.CalendarNameProviderImpl.getResourceKeyFor:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;Ljava/lang/String;IIZ)Ljava/lang/String;
astore 8
21: iload 6
ifeq 22
aload 9
aload 8
invokevirtual sun.util.locale.provider.LocaleResources.getJavaTimeNames:(Ljava/lang/String;)[Ljava/lang/String;
goto 23
StackMap locals: sun.util.calendar.Era[]
StackMap stack:
22: aload 9
aload 8
invokevirtual sun.util.locale.provider.LocaleResources.getCalendarNames:(Ljava/lang/String;)[Ljava/lang/String;
23: StackMap locals:
StackMap stack: java.lang.String[]
astore 10
24: StackMap locals:
StackMap stack:
aload 10
ifnull 25
iload 3
aload 10
arraylength
if_icmplt 37
25: StackMap locals:
StackMap stack:
aload 11
iload 3
iconst_1
isub
aaload
astore 12
start local 12 26: iload 6
ifeq 31
27: iload 4
invokestatic sun.util.locale.provider.CalendarNameProviderImpl.getBaseStyle:(I)I
iconst_4
if_icmpne 29
28: aload 12
invokevirtual sun.util.calendar.Era.getAbbreviation:()Ljava/lang/String;
goto 30
29: StackMap locals: sun.util.calendar.Era
StackMap stack:
aload 12
invokevirtual sun.util.calendar.Era.getName:()Ljava/lang/String;
30: StackMap locals:
StackMap stack: java.lang.String
areturn
31: StackMap locals:
StackMap stack:
iload 4
iconst_2
iand
ifeq 33
32: aload 12
invokevirtual sun.util.calendar.Era.getName:()Ljava/lang/String;
goto 34
33: StackMap locals:
StackMap stack:
aload 12
invokevirtual sun.util.calendar.Era.getAbbreviation:()Ljava/lang/String;
34: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 12 35: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 11 36: StackMap locals:
StackMap stack:
aconst_null
areturn
37: StackMap locals:
StackMap stack:
aload 10
iload 3
aaload
astore 7
38: aload 7
invokevirtual java.lang.String.length:()I
ifne 45
39: iload 4
ldc 32769
if_icmpeq 41
iload 4
ldc 32770
if_icmpeq 41
40: iload 4
ldc 32772
if_icmpne 45
41: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
42: iload 4
invokestatic sun.util.locale.provider.CalendarNameProviderImpl.getBaseStyle:(I)I
43: aload 5
44: invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.getDisplayName:(Ljava/lang/String;IIILjava/util/Locale;)Ljava/lang/String;
astore 7
end local 10 end local 9 45: StackMap locals:
StackMap stack:
aload 7
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 46 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
0 46 1 calendarType Ljava/lang/String;
0 46 2 field I
0 46 3 value I
0 46 4 style I
0 46 5 locale Ljava/util/Locale;
0 46 6 javatime Z
1 46 7 name Ljava/lang/String;
2 46 8 key Ljava/lang/String;
4 45 9 lr Lsun/util/locale/provider/LocaleResources;
7 45 10 strings [Ljava/lang/String;
15 36 11 jeras [Lsun/util/calendar/Era;
26 35 12 supEra Lsun/util/calendar/Era;
MethodParameters:
Name Flags
calendarType
field
value
style
locale
javatime
public java.util.Map<java.lang.String, java.lang.Integer> getDisplayNames(java.lang.String, int, int, java.util.Locale);
descriptor: (Ljava/lang/String;IILjava/util/Locale;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
ifne 8
1: aload 0
aload 1
iload 2
iconst_1
aload 4
iconst_0
invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.getDisplayNamesImpl:(Ljava/lang/String;IILjava/util/Locale;Z)Ljava/util/Map;
astore 5
start local 5 2: getstatic sun.util.locale.provider.CalendarNameProviderImpl.REST_OF_STYLES:[I
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 6
StackMap locals: sun.util.locale.provider.CalendarNameProviderImpl java.lang.String int int java.util.Locale java.util.Map top int int int[]
StackMap stack:
3: aload 9
iload 7
iaload
istore 6
start local 6 4: aload 5
aload 0
aload 1
iload 2
iload 6
aload 4
iconst_0
invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.getDisplayNamesImpl:(Ljava/lang/String;IILjava/util/Locale;Z)Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
end local 6 5: iinc 7 1
StackMap locals:
StackMap stack:
6: iload 7
iload 8
if_icmplt 3
7: goto 9
end local 5 8: StackMap locals: sun.util.locale.provider.CalendarNameProviderImpl java.lang.String int int java.util.Locale
StackMap stack:
aload 0
aload 1
iload 2
iload 3
aload 4
iconst_0
invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.getDisplayNamesImpl:(Ljava/lang/String;IILjava/util/Locale;Z)Ljava/util/Map;
astore 5
start local 5 9: StackMap locals: java.util.Map
StackMap stack:
aload 5
invokeinterface java.util.Map.isEmpty:()Z
ifeq 10
aconst_null
goto 11
StackMap locals:
StackMap stack:
10: aload 5
StackMap locals:
StackMap stack: java.util.Map
11: 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 12 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
0 12 1 calendarType Ljava/lang/String;
0 12 2 field I
0 12 3 style I
0 12 4 locale Ljava/util/Locale;
2 8 5 names Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
9 12 5 names Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
4 5 6 st I
Signature: (Ljava/lang/String;IILjava/util/Locale;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
MethodParameters:
Name Flags
calendarType
field
style
locale
public java.util.Map<java.lang.String, java.lang.Integer> getJavaTimeDisplayNames(java.lang.String, int, int, java.util.Locale);
descriptor: (Ljava/lang/String;IILjava/util/Locale;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
iload 3
aload 4
iconst_1
invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.getDisplayNamesImpl:(Ljava/lang/String;IILjava/util/Locale;Z)Ljava/util/Map;
astore 5
start local 5 1: aload 5
invokeinterface java.util.Map.isEmpty:()Z
ifeq 2
aconst_null
goto 3
StackMap locals: java.util.Map
StackMap stack:
2: aload 5
StackMap locals:
StackMap stack: java.util.Map
3: 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 Lsun/util/locale/provider/CalendarNameProviderImpl;
0 4 1 calendarType Ljava/lang/String;
0 4 2 field I
0 4 3 style I
0 4 4 locale Ljava/util/Locale;
1 4 5 names Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
Signature: (Ljava/lang/String;IILjava/util/Locale;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
MethodParameters:
Name Flags
calendarType
field
style
locale
private java.util.Map<java.lang.String, java.lang.Integer> getDisplayNamesImpl(java.lang.String, int, int, java.util.Locale, boolean);
descriptor: (Ljava/lang/String;IILjava/util/Locale;Z)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, 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
iload 5
invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.getResourceKey:(Ljava/lang/String;IIZ)Ljava/lang/String;
astore 6
start local 6 1: new java.util.TreeMap
dup
getstatic sun.util.locale.provider.CalendarNameProviderImpl$LengthBasedComparator.INSTANCE:Lsun/util/locale/provider/CalendarNameProviderImpl$LengthBasedComparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
astore 7
start local 7 2: aload 6
ifnull 24
3: aload 0
getfield sun.util.locale.provider.CalendarNameProviderImpl.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 4
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleResources:(Ljava/util/Locale;)Lsun/util/locale/provider/LocaleResources;
astore 8
start local 8 4: iload 5
ifeq 5
aload 8
aload 6
invokevirtual sun.util.locale.provider.LocaleResources.getJavaTimeNames:(Ljava/lang/String;)[Ljava/lang/String;
goto 6
StackMap locals: java.lang.String java.util.Map sun.util.locale.provider.LocaleResources
StackMap stack:
5: aload 8
aload 6
invokevirtual sun.util.locale.provider.LocaleResources.getCalendarNames:(Ljava/lang/String;)[Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String[]
6: astore 9
start local 9 7: aload 9
ifnull 24
8: aload 0
aload 9
invokevirtual sun.util.locale.provider.CalendarNameProviderImpl.hasDuplicates:([Ljava/lang/String;)Z
ifne 24
9: iload 2
iconst_1
if_icmpne 13
10: aload 9
arraylength
ifle 24
11: aload 7
aload 9
iconst_0
aaload
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: goto 24
13: StackMap locals: java.lang.String[]
StackMap stack:
iload 2
bipush 7
if_icmpne 14
iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 10
start local 10 16: iconst_0
istore 11
start local 11 17: goto 23
18: StackMap locals: int int
StackMap stack:
aload 9
iload 11
aaload
astore 12
start local 12 19: aload 12
invokevirtual java.lang.String.length:()I
ifne 21
20: goto 22
21: StackMap locals: java.lang.String
StackMap stack:
aload 7
aload 12
iload 10
iload 11
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 12 22: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
23: iload 11
aload 9
arraylength
if_icmplt 18
end local 11 end local 10 end local 9 end local 8 24: StackMap locals: sun.util.locale.provider.CalendarNameProviderImpl java.lang.String int int java.util.Locale int java.lang.String java.util.Map
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 25 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
0 25 1 calendarType Ljava/lang/String;
0 25 2 field I
0 25 3 style I
0 25 4 locale Ljava/util/Locale;
0 25 5 javatime Z
1 25 6 key Ljava/lang/String;
2 25 7 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
4 24 8 lr Lsun/util/locale/provider/LocaleResources;
7 24 9 strings [Ljava/lang/String;
16 24 10 base I
17 24 11 i I
19 22 12 name Ljava/lang/String;
Signature: (Ljava/lang/String;IILjava/util/Locale;Z)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
MethodParameters:
Name Flags
calendarType
field
style
locale
javatime
private static int getBaseStyle(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc -32769
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 style I
MethodParameters:
Name Flags
style
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.CalendarNameProviderImpl.langtags:Ljava/util/Set;
invokestatic sun.util.locale.provider.LocaleProviderAdapter.toLocaleArray:(Ljava/util/Set;)[Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
public boolean isSupportedLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: getstatic java.util.Locale.ROOT:Ljava/util/Locale;
aload 1
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 1
invokevirtual java.util.Locale.hasExtensions:()Z
ifeq 6
4: aload 1
ldc "ca"
invokevirtual java.util.Locale.getUnicodeLocaleType:(Ljava/lang/String;)Ljava/lang/String;
astore 2
5: aload 1
invokevirtual java.util.Locale.stripExtensions:()Ljava/util/Locale;
astore 1
6: StackMap locals: java.lang.String
StackMap stack:
aload 2
ifnull 14
7: aload 2
dup
astore 3
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 5
-1581060683: 8
-752730191: 9
113094: 10
283776265: 11
2093696456: 12
default: 13
}
StackMap locals: java.lang.String
StackMap stack:
8: aload 3
ldc "buddhist"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 13
StackMap locals:
StackMap stack:
9: aload 3
ldc "japanese"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 13
StackMap locals:
StackMap stack:
10: aload 3
ldc "roc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 13
StackMap locals:
StackMap stack:
11: aload 3
ldc "gregory"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 13
StackMap locals:
StackMap stack:
12: aload 3
ldc "islamic"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.provider.CalendarNameProviderImpl.langtags:Ljava/util/Set;
aload 1
invokevirtual java.util.Locale.toLanguageTag:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 16
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.provider.CalendarNameProviderImpl.type:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpne 19
17: aload 1
invokevirtual java.util.Locale.toString:()Ljava/lang/String;
bipush 95
bipush 45
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 4
start local 4 18: aload 0
getfield sun.util.locale.provider.CalendarNameProviderImpl.langtags:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 4 19: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
0 20 1 locale Ljava/util/Locale;
3 20 2 calendarType Ljava/lang/String;
18 19 4 oldname Ljava/lang/String;
MethodParameters:
Name Flags
locale
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.CalendarNameProviderImpl.langtags:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
private boolean hasDuplicates(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
arraylength
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 12
3: StackMap locals: int int
StackMap stack:
aload 1
iload 3
aaload
astore 4
start local 4 4: aload 4
ifnull 11
5: iload 3
iconst_1
iadd
istore 5
start local 5 6: goto 10
7: StackMap locals: java.lang.String int
StackMap stack:
aload 4
aload 1
iload 5
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 2
if_icmplt 7
end local 5 end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 2
iconst_1
isub
if_icmplt 3
end local 3 13: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
0 14 1 strings [Ljava/lang/String;
1 14 2 len I
2 13 3 i I
4 11 4 a Ljava/lang/String;
6 11 5 j I
MethodParameters:
Name Flags
strings
private java.lang.String getResourceKey(java.lang.String, int, int, boolean);
descriptor: (Ljava/lang/String;IIZ)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.util.locale.provider.CalendarNameProviderImpl.type:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
aload 1
iload 2
iload 3
iload 4
invokestatic sun.util.locale.provider.CalendarNameProviderImpl.getResourceKeyFor:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;Ljava/lang/String;IIZ)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/CalendarNameProviderImpl;
0 1 1 type Ljava/lang/String;
0 1 2 field I
0 1 3 style I
0 1 4 javatime Z
MethodParameters:
Name Flags
type
field
style
javatime
private static java.lang.String getResourceKeyFor(sun.util.locale.provider.LocaleProviderAdapter$Type, java.lang.String, int, int, boolean);
descriptor: (Lsun/util/locale/provider/LocaleProviderAdapter$Type;Ljava/lang/String;IIZ)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
invokestatic sun.util.locale.provider.CalendarNameProviderImpl.getBaseStyle:(I)I
istore 5
start local 5 1: iload 3
iload 5
if_icmpeq 2
iconst_1
goto 3
StackMap locals: int
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 6
start local 6 4: ldc "gregory"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aconst_null
astore 1
6: StackMap locals: int
StackMap stack:
iload 5
iconst_4
if_icmpne 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 7
start local 7 9: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 8
start local 8 10: iload 4
ifeq 12
11: aload 8
ldc "java.time."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals: int java.lang.StringBuilder
StackMap stack:
iload 2
tableswitch { // 0 - 9
0: 13
1: 29
2: 32
3: 45
4: 45
5: 45
6: 45
7: 38
8: 45
9: 42
default: 45
}
13: StackMap locals:
StackMap stack:
aload 1
ifnull 15
14: aload 8
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
iload 7
ifeq 18
16: aload 8
ldc "narrow."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: goto 27
18: StackMap locals:
StackMap stack:
aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpne 25
19: iload 4
ifeq 22
20: iload 5
iconst_2
if_icmpne 22
21: aload 8
ldc "long."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: StackMap locals:
StackMap stack:
iload 5
iconst_1
if_icmpne 27
23: aload 8
ldc "short."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: goto 27
25: StackMap locals:
StackMap stack:
iload 5
iconst_2
if_icmpne 27
26: aload 8
ldc "long."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
27: StackMap locals:
StackMap stack:
aload 8
ldc "Eras"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
28: goto 45
29: StackMap locals:
StackMap stack:
iload 7
ifne 45
30: aload 8
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".FirstYear"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: goto 45
32: StackMap locals:
StackMap stack:
ldc "islamic"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
33: aload 8
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
34: StackMap locals:
StackMap stack:
iload 6
ifeq 36
35: aload 8
ldc "standalone."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
36: StackMap locals:
StackMap stack:
aload 8
ldc "Month"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokestatic sun.util.locale.provider.CalendarNameProviderImpl.toStyleName:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: goto 45
38: StackMap locals:
StackMap stack:
iload 6
ifeq 40
iload 7
ifeq 40
39: aload 8
ldc "standalone."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
40: StackMap locals:
StackMap stack:
aload 8
ldc "Day"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokestatic sun.util.locale.provider.CalendarNameProviderImpl.toStyleName:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: goto 45
42: StackMap locals:
StackMap stack:
iload 7
ifeq 44
43: aload 8
ldc "narrow."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
44: StackMap locals:
StackMap stack:
aload 8
ldc "AmPmMarkers"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.lang.StringBuilder.length:()I
ifle 46
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 47
StackMap locals:
StackMap stack:
46: aconst_null
StackMap locals:
StackMap stack: java.lang.String
47: 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 48 0 adapterType Lsun/util/locale/provider/LocaleProviderAdapter$Type;
0 48 1 type Ljava/lang/String;
0 48 2 field I
0 48 3 style I
0 48 4 javatime Z
1 48 5 baseStyle I
4 48 6 isStandalone Z
9 48 7 isNarrow Z
10 48 8 key Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
adapterType
type
field
style
javatime
private static java.lang.String toStyleName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 1 - 4
1: 1
2: 3
3: 3
4: 2
default: 3
}
1: StackMap locals:
StackMap stack:
ldc "Abbreviations"
areturn
2: StackMap locals:
StackMap stack:
ldc "Narrows"
areturn
3: StackMap locals:
StackMap stack:
ldc "Names"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 baseStyle I
MethodParameters:
Name Flags
baseStyle
}
SourceFile: "CalendarNameProviderImpl.java"
NestMembers:
sun.util.locale.provider.CalendarNameProviderImpl$LengthBasedComparator
InnerClasses:
private LengthBasedComparator = sun.util.locale.provider.CalendarNameProviderImpl$LengthBasedComparator of sun.util.locale.provider.CalendarNameProviderImpl
public final Type = sun.util.locale.provider.LocaleProviderAdapter$Type of sun.util.locale.provider.LocaleProviderAdapter