public final class sun.util.locale.BaseLocale
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.util.locale.BaseLocale
super_class: java.lang.Object
{
public static final java.lang.String SEP;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "_"
private static final sun.util.locale.BaseLocale$Cache CACHE;
descriptor: Lsun/util/locale/BaseLocale$Cache;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String language;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String script;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String region;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String variant;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile int hash;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.util.locale.BaseLocale$Cache
dup
invokespecial sun.util.locale.BaseLocale$Cache.<init>:()V
putstatic sun.util.locale.BaseLocale.CACHE:Lsun/util/locale/BaseLocale$Cache;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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
invokespecial java.lang.Object.<init>:()V
1: iload 5
ifeq 7
2: aload 0
aload 1
invokestatic sun.util.locale.LocaleUtils.toLowerString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
putfield sun.util.locale.BaseLocale.language:Ljava/lang/String;
3: aload 0
aload 2
invokestatic sun.util.locale.LocaleUtils.toTitleString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
putfield sun.util.locale.BaseLocale.script:Ljava/lang/String;
4: aload 0
aload 3
invokestatic sun.util.locale.LocaleUtils.toUpperString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
putfield sun.util.locale.BaseLocale.region:Ljava/lang/String;
5: aload 0
aload 4
invokevirtual java.lang.String.intern:()Ljava/lang/String;
putfield sun.util.locale.BaseLocale.variant:Ljava/lang/String;
6: goto 11
7: StackMap locals: sun.util.locale.BaseLocale java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 0
aload 1
putfield sun.util.locale.BaseLocale.language:Ljava/lang/String;
8: aload 0
aload 2
putfield sun.util.locale.BaseLocale.script:Ljava/lang/String;
9: aload 0
aload 3
putfield sun.util.locale.BaseLocale.region:Ljava/lang/String;
10: aload 0
aload 4
putfield sun.util.locale.BaseLocale.variant:Ljava/lang/String;
11: StackMap locals:
StackMap stack:
return
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/BaseLocale;
0 12 1 language Ljava/lang/String;
0 12 2 script Ljava/lang/String;
0 12 3 region Ljava/lang/String;
0 12 4 variant Ljava/lang/String;
0 12 5 normalize Z
MethodParameters:
Name Flags
language
script
region
variant
normalize
public static sun.util.locale.BaseLocale createInstance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/BaseLocale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: new sun.util.locale.BaseLocale
dup
aload 0
ldc ""
aload 1
ldc ""
iconst_0
invokespecial sun.util.locale.BaseLocale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
astore 2
start local 2 1: getstatic sun.util.locale.BaseLocale.CACHE:Lsun/util/locale/BaseLocale$Cache;
new sun.util.locale.BaseLocale$Key
dup
aload 2
invokespecial sun.util.locale.BaseLocale$Key.<init>:(Lsun/util/locale/BaseLocale;)V
aload 2
invokevirtual sun.util.locale.BaseLocale$Cache.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 language Ljava/lang/String;
0 3 1 region Ljava/lang/String;
1 3 2 base Lsun/util/locale/BaseLocale;
MethodParameters:
Name Flags
language
region
public static sun.util.locale.BaseLocale getInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/BaseLocale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnull 9
1: aload 0
ldc "he"
invokestatic sun.util.locale.LocaleUtils.caseIgnoreMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 4
2: ldc "iw"
astore 0
3: goto 9
StackMap locals:
StackMap stack:
4: aload 0
ldc "yi"
invokestatic sun.util.locale.LocaleUtils.caseIgnoreMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 7
5: ldc "ji"
astore 0
6: goto 9
StackMap locals:
StackMap stack:
7: aload 0
ldc "id"
invokestatic sun.util.locale.LocaleUtils.caseIgnoreMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 9
8: ldc "in"
astore 0
9: StackMap locals:
StackMap stack:
new sun.util.locale.BaseLocale$Key
dup
aload 0
aload 1
aload 2
aload 3
iconst_0
invokespecial sun.util.locale.BaseLocale$Key.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
astore 4
start local 4 10: getstatic sun.util.locale.BaseLocale.CACHE:Lsun/util/locale/BaseLocale$Cache;
aload 4
invokevirtual sun.util.locale.BaseLocale$Cache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.BaseLocale
astore 5
start local 5 11: aload 5
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 language Ljava/lang/String;
0 12 1 script Ljava/lang/String;
0 12 2 region Ljava/lang/String;
0 12 3 variant Ljava/lang/String;
10 12 4 key Lsun/util/locale/BaseLocale$Key;
11 12 5 baseLocale Lsun/util/locale/BaseLocale;
MethodParameters:
Name Flags
language
script
region
variant
public java.lang.String getLanguage();
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.BaseLocale.language:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/BaseLocale;
public java.lang.String getScript();
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.BaseLocale.script:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/BaseLocale;
public java.lang.String getRegion();
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.BaseLocale.region:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/BaseLocale;
public java.lang.String getVariant();
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.BaseLocale.variant:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/BaseLocale;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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.BaseLocale
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.util.locale.BaseLocale
astore 2
start local 2 5: aload 0
getfield sun.util.locale.BaseLocale.language:Ljava/lang/String;
aload 2
getfield sun.util.locale.BaseLocale.language:Ljava/lang/String;
if_acmpne 10
6: aload 0
getfield sun.util.locale.BaseLocale.script:Ljava/lang/String;
aload 2
getfield sun.util.locale.BaseLocale.script:Ljava/lang/String;
if_acmpne 10
7: aload 0
getfield sun.util.locale.BaseLocale.region:Ljava/lang/String;
aload 2
getfield sun.util.locale.BaseLocale.region:Ljava/lang/String;
if_acmpne 10
8: aload 0
getfield sun.util.locale.BaseLocale.variant:Ljava/lang/String;
aload 2
getfield sun.util.locale.BaseLocale.variant:Ljava/lang/String;
if_acmpne 10
9: iconst_1
ireturn
StackMap locals: sun.util.locale.BaseLocale
StackMap stack:
10: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/util/locale/BaseLocale;
0 11 1 obj Ljava/lang/Object;
5 11 2 other Lsun/util/locale/BaseLocale;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.util.StringJoiner
dup
ldc ", "
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;)V
astore 1
start local 1 1: aload 0
getfield sun.util.locale.BaseLocale.language:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 3
2: aload 1
new java.lang.StringBuilder
dup
ldc "language="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.util.locale.BaseLocale.language:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
3: StackMap locals: java.util.StringJoiner
StackMap stack:
aload 0
getfield sun.util.locale.BaseLocale.script:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 5
4: aload 1
new java.lang.StringBuilder
dup
ldc "script="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.util.locale.BaseLocale.script:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.BaseLocale.region:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 7
6: aload 1
new java.lang.StringBuilder
dup
ldc "region="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.util.locale.BaseLocale.region:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.BaseLocale.variant:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 9
8: aload 1
new java.lang.StringBuilder
dup
ldc "variant="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.util.locale.BaseLocale.variant:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/util/locale/BaseLocale;
1 10 1 sj Ljava/util/StringJoiner;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.BaseLocale.hash:I
istore 1
start local 1 1: iload 1
ifne 8
2: aload 0
getfield sun.util.locale.BaseLocale.language:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
istore 1
3: bipush 31
iload 1
imul
aload 0
getfield sun.util.locale.BaseLocale.script:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield sun.util.locale.BaseLocale.region:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
5: bipush 31
iload 1
imul
aload 0
getfield sun.util.locale.BaseLocale.variant:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
6: iload 1
ifeq 8
7: aload 0
iload 1
putfield sun.util.locale.BaseLocale.hash:I
8: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/util/locale/BaseLocale;
1 9 1 h I
}
SourceFile: "BaseLocale.java"
NestMembers:
sun.util.locale.BaseLocale$Cache sun.util.locale.BaseLocale$Key
InnerClasses:
private Cache = sun.util.locale.BaseLocale$Cache of sun.util.locale.BaseLocale
private final Key = sun.util.locale.BaseLocale$Key of sun.util.locale.BaseLocale