public class sun.util.locale.LocaleExtensions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.util.locale.LocaleExtensions
super_class: java.lang.Object
{
private final java.util.Map<java.lang.Character, sun.util.locale.Extension> extensionMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Character;Lsun/util/locale/Extension;>;
private final java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final sun.util.locale.LocaleExtensions CALENDAR_JAPANESE;
descriptor: Lsun/util/locale/LocaleExtensions;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.util.locale.LocaleExtensions NUMBER_THAI;
descriptor: Lsun/util/locale/LocaleExtensions;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Lsun/util/locale/LocaleExtensions;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.util.locale.LocaleExtensions.$assertionsDisabled:Z
3: new sun.util.locale.LocaleExtensions
dup
ldc "u-ca-japanese"
4: bipush 117
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
5: getstatic sun.util.locale.UnicodeLocaleExtension.CA_JAPANESE:Lsun/util/locale/UnicodeLocaleExtension;
6: invokespecial sun.util.locale.LocaleExtensions.<init>:(Ljava/lang/String;Ljava/lang/Character;Lsun/util/locale/Extension;)V
7: putstatic sun.util.locale.LocaleExtensions.CALENDAR_JAPANESE:Lsun/util/locale/LocaleExtensions;
8: new sun.util.locale.LocaleExtensions
dup
ldc "u-nu-thai"
9: bipush 117
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
10: getstatic sun.util.locale.UnicodeLocaleExtension.NU_THAI:Lsun/util/locale/UnicodeLocaleExtension;
11: invokespecial sun.util.locale.LocaleExtensions.<init>:(Ljava/lang/String;Ljava/lang/Character;Lsun/util/locale/Extension;)V
12: putstatic sun.util.locale.LocaleExtensions.NUMBER_THAI:Lsun/util/locale/LocaleExtensions;
13: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, java.lang.Character, sun.util.locale.Extension);
descriptor: (Ljava/lang/String;Ljava/lang/Character;Lsun/util/locale/Extension;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.util.locale.LocaleExtensions.id:Ljava/lang/String;
2: aload 0
aload 2
aload 3
invokestatic java.util.Collections.singletonMap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
putfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
3: return
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/LocaleExtensions;
0 4 1 id Ljava/lang/String;
0 4 2 key Ljava/lang/Character;
0 4 3 value Lsun/util/locale/Extension;
MethodParameters:
Name Flags
id
key
value
void <init>(java.util.Map<sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar, java.lang.String>, java.util.Set<sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString>, java.util.Map<sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString, java.lang.String>);
descriptor: (Ljava/util/Map;Ljava/util/Set;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=6, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/util/Map;)Z
ifeq 2
iconst_0
goto 3
StackMap locals: sun.util.locale.LocaleExtensions java.util.Map java.util.Set java.util.Map
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: aload 2
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/util/Set;)Z
ifeq 5
iconst_0
goto 6
StackMap locals: int
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 5
start local 5 7: aload 3
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/util/Map;)Z
ifeq 8
iconst_0
goto 9
StackMap locals: int
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: istore 6
start local 6 10: iload 4
ifne 14
iload 5
ifne 14
iload 6
ifne 14
11: aload 0
ldc ""
putfield sun.util.locale.LocaleExtensions.id:Ljava/lang/String;
12: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
13: return
14: StackMap locals: int
StackMap stack:
new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
astore 7
start local 7 15: iload 4
ifeq 26
16: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 25
StackMap locals: sun.util.locale.LocaleExtensions java.util.Map java.util.Set java.util.Map int int int java.util.SortedMap top java.util.Iterator
StackMap stack:
17: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 18: aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar
invokevirtual sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar.value:()C
invokestatic sun.util.locale.LocaleUtils.toLower:(C)C
istore 10
start local 10 19: aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 20: iload 10
invokestatic sun.util.locale.LanguageTag.isPrivateusePrefixChar:(C)Z
ifeq 24
21: aload 11
invokestatic sun.util.locale.InternalLocaleBuilder.removePrivateuseVariant:(Ljava/lang/String;)Ljava/lang/String;
astore 11
22: aload 11
ifnonnull 24
23: goto 25
24: StackMap locals: sun.util.locale.LocaleExtensions java.util.Map java.util.Set java.util.Map int int int java.util.SortedMap java.util.Map$Entry java.util.Iterator int java.lang.String
StackMap stack:
aload 7
iload 10
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
new sun.util.locale.Extension
dup
iload 10
aload 11
invokestatic sun.util.locale.LocaleUtils.toLowerString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial sun.util.locale.Extension.<init>:(CLjava/lang/String;)V
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 end local 10 end local 8 25: StackMap locals: sun.util.locale.LocaleExtensions java.util.Map java.util.Set java.util.Map int int int java.util.SortedMap top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
26: StackMap locals: sun.util.locale.LocaleExtensions java.util.Map java.util.Set java.util.Map int int int java.util.SortedMap
StackMap stack:
iload 5
ifne 27
iload 6
ifeq 45
27: StackMap locals:
StackMap stack:
aconst_null
astore 8
start local 8 28: aconst_null
astore 9
start local 9 29: iload 5
ifeq 35
30: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 8
31: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 11
goto 34
StackMap locals: sun.util.locale.LocaleExtensions java.util.Map java.util.Set java.util.Map int int int java.util.SortedMap java.util.SortedSet java.util.SortedMap top java.util.Iterator
StackMap stack:
32: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
astore 10
start local 10 33: aload 8
aload 10
invokevirtual sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.value:()Ljava/lang/String;
invokestatic sun.util.locale.LocaleUtils.toLowerString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
end local 10 34: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 32
35: StackMap locals: sun.util.locale.LocaleExtensions java.util.Map java.util.Set java.util.Map int int int java.util.SortedMap java.util.SortedSet java.util.SortedMap
StackMap stack:
iload 6
ifeq 43
36: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
astore 9
37: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 11
goto 42
StackMap locals: sun.util.locale.LocaleExtensions java.util.Map java.util.Set java.util.Map int int int java.util.SortedMap java.util.SortedSet java.util.SortedMap top java.util.Iterator
StackMap stack:
38: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 10
start local 10 39: aload 10
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
invokevirtual sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.value:()Ljava/lang/String;
invokestatic sun.util.locale.LocaleUtils.toLowerString:(Ljava/lang/String;)Ljava/lang/String;
astore 12
start local 12 40: aload 10
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic sun.util.locale.LocaleUtils.toLowerString:(Ljava/lang/String;)Ljava/lang/String;
astore 13
start local 13 41: aload 9
aload 12
aload 13
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 end local 12 end local 10 42: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 38
43: StackMap locals: sun.util.locale.LocaleExtensions java.util.Map java.util.Set java.util.Map int int int java.util.SortedMap java.util.SortedSet java.util.SortedMap
StackMap stack:
new sun.util.locale.UnicodeLocaleExtension
dup
aload 8
aload 9
invokespecial sun.util.locale.UnicodeLocaleExtension.<init>:(Ljava/util/SortedSet;Ljava/util/SortedMap;)V
astore 10
start local 10 44: aload 7
bipush 117
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aload 10
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 9 end local 8 45: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.SortedMap.isEmpty:()Z
ifeq 49
46: aload 0
ldc ""
putfield sun.util.locale.LocaleExtensions.id:Ljava/lang/String;
47: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
48: goto 51
49: StackMap locals:
StackMap stack:
aload 0
aload 7
invokestatic sun.util.locale.LocaleExtensions.toID:(Ljava/util/SortedMap;)Ljava/lang/String;
putfield sun.util.locale.LocaleExtensions.id:Ljava/lang/String;
50: aload 0
aload 7
putfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
51: StackMap locals:
StackMap stack:
return
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 52 0 this Lsun/util/locale/LocaleExtensions;
0 52 1 extensions Ljava/util/Map<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;Ljava/lang/String;>;
0 52 2 uattributes Ljava/util/Set<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;>;
0 52 3 ukeywords Ljava/util/Map<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;Ljava/lang/String;>;
4 52 4 hasExtension Z
7 52 5 hasUAttributes Z
10 52 6 hasUKeywords Z
15 52 7 map Ljava/util/SortedMap<Ljava/lang/Character;Lsun/util/locale/Extension;>;
18 25 8 ext Ljava/util/Map$Entry<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;Ljava/lang/String;>;
19 25 10 key C
20 25 11 value Ljava/lang/String;
28 45 8 uaset Ljava/util/SortedSet<Ljava/lang/String;>;
29 45 9 ukmap Ljava/util/SortedMap<Ljava/lang/String;Ljava/lang/String;>;
33 34 10 cis Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;
39 42 10 kwd Ljava/util/Map$Entry<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;Ljava/lang/String;>;
40 42 12 key Ljava/lang/String;
41 42 13 type Ljava/lang/String;
44 45 10 ule Lsun/util/locale/UnicodeLocaleExtension;
Signature: (Ljava/util/Map<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;Ljava/lang/String;>;Ljava/util/Set<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;>;Ljava/util/Map<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
extensions
uattributes
ukeywords
public java.util.Set<java.lang.Character> getKeys();
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.LocaleExtensions.extensionMap:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/locale/LocaleExtensions;
Signature: ()Ljava/util/Set<Ljava/lang/Character;>;
public sun.util.locale.Extension getExtension(java.lang.Character);
descriptor: (Ljava/lang/Character;)Lsun/util/locale/Extension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
aload 1
invokevirtual java.lang.Character.charValue:()C
invokestatic sun.util.locale.LocaleUtils.toLower:(C)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.Extension
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/LocaleExtensions;
0 1 1 key Ljava/lang/Character;
MethodParameters:
Name Flags
key
public java.lang.String getExtensionValue(java.lang.Character);
descriptor: (Ljava/lang/Character;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
aload 1
invokevirtual java.lang.Character.charValue:()C
invokestatic sun.util.locale.LocaleUtils.toLower:(C)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.Extension
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.util.locale.Extension
StackMap stack:
aload 2
invokevirtual sun.util.locale.Extension.getValue:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/util/locale/LocaleExtensions;
0 4 1 key Ljava/lang/Character;
1 4 2 ext Lsun/util/locale/Extension;
MethodParameters:
Name Flags
key
public java.util.Set<java.lang.String> getUnicodeLocaleAttributes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
bipush 117
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.Extension
astore 1
start local 1 1: aload 1
ifnonnull 3
2: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
3: StackMap locals: sun.util.locale.Extension
StackMap stack:
getstatic sun.util.locale.LocaleExtensions.$assertionsDisabled:Z
ifne 4
aload 1
instanceof sun.util.locale.UnicodeLocaleExtension
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.util.locale.UnicodeLocaleExtension
invokevirtual sun.util.locale.UnicodeLocaleExtension.getUnicodeLocaleAttributes:()Ljava/util/Set;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/util/locale/LocaleExtensions;
1 5 1 ext Lsun/util/locale/Extension;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getUnicodeLocaleKeys();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
bipush 117
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.Extension
astore 1
start local 1 1: aload 1
ifnonnull 3
2: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
3: StackMap locals: sun.util.locale.Extension
StackMap stack:
getstatic sun.util.locale.LocaleExtensions.$assertionsDisabled:Z
ifne 4
aload 1
instanceof sun.util.locale.UnicodeLocaleExtension
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.util.locale.UnicodeLocaleExtension
invokevirtual sun.util.locale.UnicodeLocaleExtension.getUnicodeLocaleKeys:()Ljava/util/Set;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/util/locale/LocaleExtensions;
1 5 1 ext Lsun/util/locale/Extension;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.lang.String getUnicodeLocaleType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
bipush 117
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.Extension
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.util.locale.Extension
StackMap stack:
getstatic sun.util.locale.LocaleExtensions.$assertionsDisabled:Z
ifne 4
aload 2
instanceof sun.util.locale.UnicodeLocaleExtension
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 2
checkcast sun.util.locale.UnicodeLocaleExtension
aload 1
invokestatic sun.util.locale.LocaleUtils.toLowerString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.util.locale.UnicodeLocaleExtension.getUnicodeLocaleType:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/util/locale/LocaleExtensions;
0 5 1 unicodeLocaleKey Ljava/lang/String;
1 5 2 ext Lsun/util/locale/Extension;
MethodParameters:
Name Flags
unicodeLocaleKey
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.LocaleExtensions.extensionMap:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/LocaleExtensions;
public static boolean isValidKey(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic sun.util.locale.LanguageTag.isExtensionSingletonChar:(C)Z
ifne 1
iload 0
invokestatic sun.util.locale.LanguageTag.isPrivateusePrefixChar:(C)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c C
MethodParameters:
Name Flags
c
public static boolean isValidUnicodeLocaleKey(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.util.locale.UnicodeLocaleExtension.isKey:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ukey Ljava/lang/String;
MethodParameters:
Name Flags
ukey
private static java.lang.String toID(java.util.SortedMap<java.lang.Character, sun.util.locale.Extension>);
descriptor: (Ljava/util/SortedMap;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
invokeinterface java.util.SortedMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: java.util.SortedMap java.lang.StringBuilder sun.util.locale.Extension top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 4: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
istore 5
start local 5 5: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast sun.util.locale.Extension
astore 6
start local 6 6: iload 5
invokestatic sun.util.locale.LanguageTag.isPrivateusePrefixChar:(C)Z
ifeq 9
7: aload 6
astore 2
8: goto 12
9: StackMap locals: java.util.SortedMap java.lang.StringBuilder sun.util.locale.Extension java.util.Map$Entry java.util.Iterator int sun.util.locale.Extension
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 11
10: aload 1
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 6 end local 5 end local 3 12: StackMap locals: java.util.SortedMap java.lang.StringBuilder sun.util.locale.Extension top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
13: aload 2
ifnull 17
14: aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 16
15: aload 1
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: StackMap locals: java.util.SortedMap java.lang.StringBuilder sun.util.locale.Extension
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 map Ljava/util/SortedMap<Ljava/lang/Character;Lsun/util/locale/Extension;>;
1 18 1 buf Ljava/lang/StringBuilder;
2 18 2 privuse Lsun/util/locale/Extension;
4 12 3 entry Ljava/util/Map$Entry<Ljava/lang/Character;Lsun/util/locale/Extension;>;
5 12 5 singleton C
6 12 6 extension Lsun/util/locale/Extension;
Signature: (Ljava/util/SortedMap<Ljava/lang/Character;Lsun/util/locale/Extension;>;)Ljava/lang/String;
MethodParameters:
Name Flags
map
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.LocaleExtensions.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/LocaleExtensions;
public java.lang.String getID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.LocaleExtensions.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/LocaleExtensions;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.LocaleExtensions.id:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/LocaleExtensions;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.util.locale.LocaleExtensions
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.LocaleExtensions.id:Ljava/lang/String;
aload 1
checkcast sun.util.locale.LocaleExtensions
getfield sun.util.locale.LocaleExtensions.id:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/util/locale/LocaleExtensions;
0 5 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
}
SourceFile: "LocaleExtensions.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
final CaseInsensitiveChar = sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar of sun.util.locale.InternalLocaleBuilder
final CaseInsensitiveString = sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString of sun.util.locale.InternalLocaleBuilder