final class sun.util.locale.BaseLocale$Key
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.util.locale.BaseLocale$Key
super_class: java.lang.Object
{
private final java.lang.ref.SoftReference<sun.util.locale.BaseLocale> holderRef;
descriptor: Ljava/lang/ref/SoftReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/SoftReference<Lsun/util/locale/BaseLocale;>;
private final sun.util.locale.BaseLocale holder;
descriptor: Lsun/util/locale/BaseLocale;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean normalized;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int hash;
descriptor: I
flags: (0x0012) ACC_PRIVATE, 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=1, locals=0, args_size=0
0: ldc Lsun/util/locale/BaseLocale;
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.BaseLocale$Key.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(sun.util.locale.BaseLocale);
descriptor: (Lsun/util/locale/BaseLocale;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.util.locale.BaseLocale$Key.holder:Lsun/util/locale/BaseLocale;
2: aload 0
aconst_null
putfield sun.util.locale.BaseLocale$Key.holderRef:Ljava/lang/ref/SoftReference;
3: aload 0
iconst_1
putfield sun.util.locale.BaseLocale$Key.normalized:Z
4: aload 1
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
astore 2
start local 2 5: aload 1
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
astore 3
start local 3 6: getstatic sun.util.locale.BaseLocale$Key.$assertionsDisabled:Z
ifne 11
aload 2
invokestatic sun.util.locale.LocaleUtils.toLowerString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
aload 2
if_acmpne 10
7: aload 3
invokestatic sun.util.locale.LocaleUtils.toUpperString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
aload 3
if_acmpne 10
8: aload 1
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
ldc ""
if_acmpne 10
9: aload 1
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
ldc ""
if_acmpeq 11
StackMap locals: sun.util.locale.BaseLocale$Key sun.util.locale.BaseLocale java.lang.String java.lang.String
StackMap stack:
10: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.hashCode:()I
istore 4
start local 4 12: aload 3
ldc ""
if_acmpeq 19
13: aload 3
invokevirtual java.lang.String.length:()I
istore 5
start local 5 14: iconst_0
istore 6
start local 6 15: goto 18
16: StackMap locals: int int int
StackMap stack:
bipush 31
iload 4
imul
aload 3
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokestatic sun.util.locale.LocaleUtils.toLower:(C)C
iadd
istore 4
17: iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 5
if_icmplt 16
end local 6 end local 5 19: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield sun.util.locale.BaseLocale$Key.hash:I
20: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/util/locale/BaseLocale$Key;
0 21 1 locale Lsun/util/locale/BaseLocale;
5 21 2 language Ljava/lang/String;
6 21 3 region Ljava/lang/String;
12 21 4 h I
14 19 5 len I
15 19 6 i I
MethodParameters:
Name Flags
locale
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=7, locals=7, 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: aload 1
ifnonnull 3
2: ldc ""
astore 1
3: StackMap locals: sun.util.locale.BaseLocale$Key java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 2
ifnonnull 5
4: ldc ""
astore 2
5: StackMap locals:
StackMap stack:
aload 3
ifnonnull 7
6: ldc ""
astore 3
7: StackMap locals:
StackMap stack:
aload 4
ifnonnull 9
8: ldc ""
astore 4
9: StackMap locals:
StackMap stack:
new sun.util.locale.BaseLocale
dup
aload 1
aload 2
aload 3
aload 4
iload 5
invokespecial sun.util.locale.BaseLocale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
astore 6
start local 6 10: aload 0
iload 5
putfield sun.util.locale.BaseLocale$Key.normalized:Z
11: aload 0
getfield sun.util.locale.BaseLocale$Key.normalized:Z
ifeq 15
12: aload 0
new java.lang.ref.SoftReference
dup
aload 6
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putfield sun.util.locale.BaseLocale$Key.holderRef:Ljava/lang/ref/SoftReference;
13: aload 0
aconst_null
putfield sun.util.locale.BaseLocale$Key.holder:Lsun/util/locale/BaseLocale;
14: goto 17
15: StackMap locals: sun.util.locale.BaseLocale
StackMap stack:
aload 0
aconst_null
putfield sun.util.locale.BaseLocale$Key.holderRef:Ljava/lang/ref/SoftReference;
16: aload 0
aload 6
putfield sun.util.locale.BaseLocale$Key.holder:Lsun/util/locale/BaseLocale;
17: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 6
invokevirtual sun.util.locale.BaseLocale$Key.hashCode:(Lsun/util/locale/BaseLocale;)I
putfield sun.util.locale.BaseLocale$Key.hash:I
18: return
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 19 0 this Lsun/util/locale/BaseLocale$Key;
0 19 1 language Ljava/lang/String;
0 19 2 script Ljava/lang/String;
0 19 3 region Ljava/lang/String;
0 19 4 variant Ljava/lang/String;
0 19 5 normalize Z
10 19 6 locale Lsun/util/locale/BaseLocale;
MethodParameters:
Name Flags
language
script
region
variant
normalize
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.BaseLocale$Key.hash:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/BaseLocale$Key;
private int hashCode(sun.util.locale.BaseLocale);
descriptor: (Lsun/util/locale/BaseLocale;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
invokevirtual java.lang.String.length:()I
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 7
5: StackMap locals: sun.util.locale.BaseLocale$Key sun.util.locale.BaseLocale int java.lang.String int int
StackMap stack:
bipush 31
iload 2
imul
aload 3
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic sun.util.locale.LocaleUtils.toLower:(C)C
iadd
istore 2
6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 4
if_icmplt 5
end local 5 8: aload 1
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
astore 5
start local 5 9: aload 5
invokevirtual java.lang.String.length:()I
istore 4
10: iconst_0
istore 6
start local 6 11: goto 14
12: StackMap locals: sun.util.locale.BaseLocale$Key sun.util.locale.BaseLocale int java.lang.String int java.lang.String int
StackMap stack:
bipush 31
iload 2
imul
aload 5
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokestatic sun.util.locale.LocaleUtils.toLower:(C)C
iadd
istore 2
13: iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 4
if_icmplt 12
end local 6 15: aload 1
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
astore 6
start local 6 16: aload 6
invokevirtual java.lang.String.length:()I
istore 4
17: iconst_0
istore 7
start local 7 18: goto 21
19: StackMap locals: sun.util.locale.BaseLocale$Key sun.util.locale.BaseLocale int java.lang.String int java.lang.String java.lang.String int
StackMap stack:
bipush 31
iload 2
imul
aload 6
iload 7
invokevirtual java.lang.String.charAt:(I)C
invokestatic sun.util.locale.LocaleUtils.toLower:(C)C
iadd
istore 2
20: iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
iload 4
if_icmplt 19
end local 7 22: aload 1
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
astore 7
start local 7 23: aload 7
invokevirtual java.lang.String.length:()I
istore 4
24: iconst_0
istore 8
start local 8 25: goto 28
26: StackMap locals: sun.util.locale.BaseLocale$Key sun.util.locale.BaseLocale int java.lang.String int java.lang.String java.lang.String java.lang.String int
StackMap stack:
bipush 31
iload 2
imul
aload 7
iload 8
invokevirtual java.lang.String.charAt:(I)C
iadd
istore 2
27: iinc 8 1
StackMap locals:
StackMap stack:
28: iload 8
iload 4
if_icmplt 26
end local 8 29: iload 2
ireturn
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 30 0 this Lsun/util/locale/BaseLocale$Key;
0 30 1 locale Lsun/util/locale/BaseLocale;
1 30 2 h I
2 30 3 lang Ljava/lang/String;
3 30 4 len I
4 8 5 i I
9 30 5 scrt Ljava/lang/String;
11 15 6 i I
16 30 6 regn Ljava/lang/String;
18 22 7 i I
23 30 7 vart Ljava/lang/String;
25 29 8 i I
MethodParameters:
Name Flags
locale
private sun.util.locale.BaseLocale getBaseLocale();
descriptor: ()Lsun/util/locale/BaseLocale;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.BaseLocale$Key.holder:Lsun/util/locale/BaseLocale;
ifnonnull 1
aload 0
getfield sun.util.locale.BaseLocale$Key.holderRef:Ljava/lang/ref/SoftReference;
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast sun.util.locale.BaseLocale
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield sun.util.locale.BaseLocale$Key.holder:Lsun/util/locale/BaseLocale;
StackMap locals:
StackMap stack: sun.util.locale.BaseLocale
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/locale/BaseLocale$Key;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, 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$Key
ifeq 11
aload 0
getfield sun.util.locale.BaseLocale$Key.hash:I
aload 1
checkcast sun.util.locale.BaseLocale$Key
getfield sun.util.locale.BaseLocale$Key.hash:I
if_icmpne 11
3: aload 1
checkcast sun.util.locale.BaseLocale$Key
invokevirtual sun.util.locale.BaseLocale$Key.getBaseLocale:()Lsun/util/locale/BaseLocale;
astore 2
start local 2 4: aload 0
invokevirtual sun.util.locale.BaseLocale$Key.getBaseLocale:()Lsun/util/locale/BaseLocale;
astore 3
start local 3 5: aload 2
ifnull 11
aload 3
ifnull 11
6: aload 2
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
aload 3
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
invokestatic sun.util.locale.LocaleUtils.caseIgnoreMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 11
7: aload 2
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
aload 3
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
invokestatic sun.util.locale.LocaleUtils.caseIgnoreMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 11
8: aload 2
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
aload 3
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
invokestatic sun.util.locale.LocaleUtils.caseIgnoreMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 11
9: aload 2
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
aload 3
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: iconst_1
ireturn
end local 3 end local 2 11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/util/locale/BaseLocale$Key;
0 12 1 obj Ljava/lang/Object;
4 11 2 other Lsun/util/locale/BaseLocale;
5 11 3 locale Lsun/util/locale/BaseLocale;
MethodParameters:
Name Flags
obj
public static sun.util.locale.BaseLocale$Key normalize(sun.util.locale.BaseLocale$Key);
descriptor: (Lsun/util/locale/BaseLocale$Key;)Lsun/util/locale/BaseLocale$Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.BaseLocale$Key.normalized:Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.util.locale.BaseLocale$Key.$assertionsDisabled:Z
ifne 4
aload 0
getfield sun.util.locale.BaseLocale$Key.holder:Lsun/util/locale/BaseLocale;
ifnull 3
aload 0
getfield sun.util.locale.BaseLocale$Key.holderRef:Ljava/lang/ref/SoftReference;
ifnull 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.BaseLocale$Key.holder:Lsun/util/locale/BaseLocale;
astore 1
start local 1 5: new sun.util.locale.BaseLocale$Key
dup
aload 1
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
aload 1
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
6: aload 1
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
aload 1
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
iconst_1
7: invokespecial sun.util.locale.BaseLocale$Key.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 key Lsun/util/locale/BaseLocale$Key;
5 8 1 locale Lsun/util/locale/BaseLocale;
MethodParameters:
Name Flags
key
}
SourceFile: "BaseLocale.java"
NestHost: sun.util.locale.BaseLocale
InnerClasses:
private final Key = sun.util.locale.BaseLocale$Key of sun.util.locale.BaseLocale