class sun.util.locale.provider.HostLocaleProviderAdapterImpl$10 extends sun.text.spi.JavaTimeDateTimePatternProvider
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.util.locale.provider.HostLocaleProviderAdapterImpl$10
super_class: sun.text.spi.JavaTimeDateTimePatternProvider
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.text.spi.JavaTimeDateTimePatternProvider.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/HostLocaleProviderAdapterImpl$10;
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: invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.getSupportedCalendarLocales:()[Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/HostLocaleProviderAdapterImpl$10;
public boolean isSupportedLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.isSupportedCalendarLocale:(Ljava/util/Locale;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/HostLocaleProviderAdapterImpl$10;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public java.lang.String getJavaTimeDateTimePattern(int, int, java.lang.String, java.util.Locale);
descriptor: (IILjava/lang/String;Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
invokevirtual sun.util.locale.provider.HostLocaleProviderAdapterImpl$10.getDateTimePatterns:(Ljava/util/Locale;)Ljava/util/concurrent/atomic/AtomicReferenceArray;
astore 5
start local 5 1: new java.lang.StringBuilder
dup
aload 5
iload 2
iconst_2
idiv
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 5
iload 1
iconst_2
idiv
iconst_2
iadd
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: astore 6
start local 6 6: aload 0
aload 3
aload 6
invokevirtual sun.util.locale.provider.HostLocaleProviderAdapterImpl$10.toJavaTimeDateTimePattern:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
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 7 0 this Lsun/util/locale/provider/HostLocaleProviderAdapterImpl$10;
0 7 1 timeStyle I
0 7 2 dateStyle I
0 7 3 calType Ljava/lang/String;
0 7 4 locale Ljava/util/Locale;
1 7 5 patterns Ljava/util/concurrent/atomic/AtomicReferenceArray<Ljava/lang/String;>;
6 7 6 pattern Ljava/lang/String;
MethodParameters:
Name Flags
timeStyle
dateStyle
calType
locale
private java.util.concurrent.atomic.AtomicReferenceArray<java.lang.String> getDateTimePatterns(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/concurrent/atomic/AtomicReferenceArray;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: getstatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.dateFormatCache:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ref.SoftReference
astore 3
start local 3 1: aload 3
ifnull 3
aload 3
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.atomic.AtomicReferenceArray
dup
astore 2
start local 2 2: ifnonnull 19
end local 2 3: StackMap locals: sun.util.locale.provider.HostLocaleProviderAdapterImpl$10 java.util.Locale top java.lang.ref.SoftReference
StackMap stack:
aload 1
invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.removeExtensions:(Ljava/util/Locale;)Ljava/util/Locale;
invokevirtual java.util.Locale.toLanguageTag:()Ljava/lang/String;
astore 4
start local 4 4: new java.util.concurrent.atomic.AtomicReferenceArray
dup
iconst_4
invokespecial java.util.concurrent.atomic.AtomicReferenceArray.<init>:(I)V
astore 2
start local 2 5: aload 2
iconst_0
aconst_null
6: iconst_1
iconst_m1
aload 4
invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.getDateTimePattern:(IILjava/lang/String;)Ljava/lang/String;
7: invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.convertDateTimePattern:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
pop
8: aload 2
iconst_1
aconst_null
9: iconst_3
iconst_m1
aload 4
invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.getDateTimePattern:(IILjava/lang/String;)Ljava/lang/String;
10: invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.convertDateTimePattern:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
pop
11: aload 2
iconst_2
aconst_null
12: iconst_m1
iconst_1
aload 4
invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.getDateTimePattern:(IILjava/lang/String;)Ljava/lang/String;
13: invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.convertDateTimePattern:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
pop
14: aload 2
iconst_3
aconst_null
15: iconst_m1
iconst_3
aload 4
invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.getDateTimePattern:(IILjava/lang/String;)Ljava/lang/String;
16: invokestatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.convertDateTimePattern:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
pop
17: new java.lang.ref.SoftReference
dup
aload 2
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
astore 3
18: getstatic sun.util.locale.provider.HostLocaleProviderAdapterImpl.dateFormatCache:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 3
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 19: StackMap locals: sun.util.locale.provider.HostLocaleProviderAdapterImpl$10 java.util.Locale java.util.concurrent.atomic.AtomicReferenceArray java.lang.ref.SoftReference
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/util/locale/provider/HostLocaleProviderAdapterImpl$10;
0 20 1 locale Ljava/util/Locale;
2 3 2 patterns Ljava/util/concurrent/atomic/AtomicReferenceArray<Ljava/lang/String;>;
5 20 2 patterns Ljava/util/concurrent/atomic/AtomicReferenceArray<Ljava/lang/String;>;
1 20 3 ref Ljava/lang/ref/SoftReference<Ljava/util/concurrent/atomic/AtomicReferenceArray<Ljava/lang/String;>;>;
4 19 4 langtag Ljava/lang/String;
Signature: (Ljava/util/Locale;)Ljava/util/concurrent/atomic/AtomicReferenceArray<Ljava/lang/String;>;
MethodParameters:
Name Flags
locale
private java.lang.String toJavaTimeDateTimePattern(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: new java.lang.StringBuilder
dup
iload 3
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: iconst_0
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: iconst_0
istore 8
start local 8 6: goto 48
7: StackMap locals: sun.util.locale.provider.HostLocaleProviderAdapterImpl$10 java.lang.String java.lang.String int java.lang.StringBuilder int int int int
StackMap stack:
aload 2
iload 8
invokevirtual java.lang.String.charAt:(I)C
istore 9
start local 9 8: iload 9
bipush 39
if_icmpne 29
9: iload 8
iconst_1
iadd
iload 3
if_icmpge 19
10: aload 2
iload 8
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 10
start local 10 11: iload 10
bipush 39
if_icmpne 19
12: iinc 8 1
13: iload 6
ifeq 17
14: aload 0
aload 1
iload 7
iload 6
aload 4
invokevirtual sun.util.locale.provider.HostLocaleProviderAdapterImpl$10.convert:(Ljava/lang/String;CILjava/lang/StringBuilder;)V
15: iconst_0
istore 7
16: iconst_0
istore 6
17: StackMap locals: int int
StackMap stack:
aload 4
ldc "''"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: goto 47
end local 10 19: StackMap locals:
StackMap stack:
iload 5
ifne 26
20: iload 6
ifeq 24
21: aload 0
aload 1
iload 7
iload 6
aload 4
invokevirtual sun.util.locale.provider.HostLocaleProviderAdapterImpl$10.convert:(Ljava/lang/String;CILjava/lang/StringBuilder;)V
22: iconst_0
istore 7
23: iconst_0
istore 6
24: StackMap locals:
StackMap stack:
iconst_1
istore 5
25: goto 27
26: StackMap locals:
StackMap stack:
iconst_0
istore 5
27: StackMap locals:
StackMap stack:
aload 4
iload 9
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
28: goto 47
29: StackMap locals:
StackMap stack:
iload 5
ifeq 32
30: aload 4
iload 9
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
31: goto 47
32: StackMap locals:
StackMap stack:
iload 9
bipush 97
if_icmplt 33
iload 9
bipush 122
if_icmple 40
StackMap locals:
StackMap stack:
33: iload 9
bipush 65
if_icmplt 34
iload 9
bipush 90
if_icmple 40
34: StackMap locals:
StackMap stack:
iload 6
ifeq 38
35: aload 0
aload 1
iload 7
iload 6
aload 4
invokevirtual sun.util.locale.provider.HostLocaleProviderAdapterImpl$10.convert:(Ljava/lang/String;CILjava/lang/StringBuilder;)V
36: iconst_0
istore 7
37: iconst_0
istore 6
38: StackMap locals:
StackMap stack:
aload 4
iload 9
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
39: goto 47
40: StackMap locals:
StackMap stack:
iload 7
ifeq 41
iload 7
iload 9
if_icmpne 44
41: StackMap locals:
StackMap stack:
iload 9
istore 7
42: iinc 6 1
43: goto 47
44: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 7
iload 6
aload 4
invokevirtual sun.util.locale.provider.HostLocaleProviderAdapterImpl$10.convert:(Ljava/lang/String;CILjava/lang/StringBuilder;)V
45: iload 9
istore 7
46: iconst_1
istore 6
end local 9 47: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
48: iload 8
iload 3
if_icmplt 7
end local 8 49: iload 5
ifeq 51
50: aconst_null
areturn
51: StackMap locals:
StackMap stack:
iload 6
ifeq 53
52: aload 0
aload 1
iload 7
iload 6
aload 4
invokevirtual sun.util.locale.provider.HostLocaleProviderAdapterImpl$10.convert:(Ljava/lang/String;CILjava/lang/StringBuilder;)V
53: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 54 0 this Lsun/util/locale/provider/HostLocaleProviderAdapterImpl$10;
0 54 1 calendarType Ljava/lang/String;
0 54 2 jrePattern Ljava/lang/String;
1 54 3 length I
2 54 4 sb Ljava/lang/StringBuilder;
3 54 5 inQuote Z
4 54 6 count I
5 54 7 lastLetter C
6 49 8 i I
8 47 9 c C
11 19 10 nextc C
MethodParameters:
Name Flags
calendarType
jrePattern
private void convert(java.lang.String, char, int, java.lang.StringBuilder);
descriptor: (Ljava/lang/String;CILjava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
lookupswitch { // 2
71: 1
121: 13
default: 16
}
1: StackMap locals:
StackMap stack:
aload 1
ldc "japanese"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
2: iload 3
iconst_4
if_icmplt 5
3: iconst_1
istore 3
4: goto 18
5: StackMap locals:
StackMap stack:
iconst_5
istore 3
6: goto 18
StackMap locals:
StackMap stack:
7: aload 1
ldc "iso8601"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
8: iload 3
iconst_4
if_icmplt 11
9: iconst_4
istore 3
10: goto 18
11: StackMap locals:
StackMap stack:
iconst_1
istore 3
12: goto 18
13: StackMap locals:
StackMap stack:
aload 1
ldc "japanese"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
iload 3
iconst_4
if_icmplt 18
14: iconst_1
istore 3
15: goto 18
16: StackMap locals:
StackMap stack:
iload 3
iconst_4
if_icmple 18
17: iconst_4
istore 3
18: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 3
aload 4
invokevirtual sun.util.locale.provider.HostLocaleProviderAdapterImpl$10.appendN:(CILjava/lang/StringBuilder;)V
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/util/locale/provider/HostLocaleProviderAdapterImpl$10;
0 20 1 calendarType Ljava/lang/String;
0 20 2 letter C
0 20 3 count I
0 20 4 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
calendarType
letter
count
sb
private void appendN(char, int, java.lang.StringBuilder);
descriptor: (CILjava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 3
iload 1
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
iload 2
if_icmplt 2
end local 4 5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/util/locale/provider/HostLocaleProviderAdapterImpl$10;
0 6 1 c C
0 6 2 n I
0 6 3 sb Ljava/lang/StringBuilder;
1 5 4 i I
MethodParameters:
Name Flags
c
n
sb
}
SourceFile: "HostLocaleProviderAdapterImpl.java"
EnclosingMethod: sun.util.locale.provider.HostLocaleProviderAdapterImpl.getJavaTimeDateTimePatternProvider:()Lsun/text/spi/JavaTimeDateTimePatternProvider;
NestHost: sun.util.locale.provider.HostLocaleProviderAdapterImpl
InnerClasses:
sun.util.locale.provider.HostLocaleProviderAdapterImpl$10