public final class java.util.Locale$Builder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.util.Locale$Builder
super_class: java.lang.Object
{
private final sun.util.locale.InternalLocaleBuilder localeBuilder;
descriptor: Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new sun.util.locale.InternalLocaleBuilder
dup
invokespecial sun.util.locale.InternalLocaleBuilder.<init>:()V
putfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Locale$Builder;
public java.util.Locale$Builder setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
aload 1
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
aload 1
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.InternalLocaleBuilder.setLocale:(Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)Lsun/util/locale/InternalLocaleBuilder;
pop
1: goto 4
StackMap locals:
StackMap stack: sun.util.locale.LocaleSyntaxException
2: astore 2
start local 2 3: new java.util.IllformedLocaleException
dup
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale$Builder;
0 5 1 locale Ljava/util/Locale;
3 4 2 e Lsun/util/locale/LocaleSyntaxException;
Exception table:
from to target type
0 1 2 Class sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
locale
public java.util.Locale$Builder setLanguageTag(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new sun.util.locale.ParseStatus
dup
invokespecial sun.util.locale.ParseStatus.<init>:()V
astore 2
start local 2 1: aload 1
aload 2
invokestatic sun.util.locale.LanguageTag.parse:(Ljava/lang/String;Lsun/util/locale/ParseStatus;)Lsun/util/locale/LanguageTag;
astore 3
start local 3 2: aload 2
invokevirtual sun.util.locale.ParseStatus.isError:()Z
ifeq 4
3: new java.util.IllformedLocaleException
dup
aload 2
invokevirtual sun.util.locale.ParseStatus.getErrorMessage:()Ljava/lang/String;
aload 2
invokevirtual sun.util.locale.ParseStatus.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
4: StackMap locals: sun.util.locale.ParseStatus sun.util.locale.LanguageTag
StackMap stack:
aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
aload 3
invokevirtual sun.util.locale.InternalLocaleBuilder.setLanguageTag:(Lsun/util/locale/LanguageTag;)Lsun/util/locale/InternalLocaleBuilder;
pop
5: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/Locale$Builder;
0 6 1 languageTag Ljava/lang/String;
1 6 2 sts Lsun/util/locale/ParseStatus;
2 6 3 tag Lsun/util/locale/LanguageTag;
MethodParameters:
Name Flags
languageTag
public java.util.Locale$Builder setLanguage(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
aload 1
invokevirtual sun.util.locale.InternalLocaleBuilder.setLanguage:(Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
pop
1: goto 4
StackMap locals:
StackMap stack: sun.util.locale.LocaleSyntaxException
2: astore 2
start local 2 3: new java.util.IllformedLocaleException
dup
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale$Builder;
0 5 1 language Ljava/lang/String;
3 4 2 e Lsun/util/locale/LocaleSyntaxException;
Exception table:
from to target type
0 1 2 Class sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
language
public java.util.Locale$Builder setScript(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
aload 1
invokevirtual sun.util.locale.InternalLocaleBuilder.setScript:(Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
pop
1: goto 4
StackMap locals:
StackMap stack: sun.util.locale.LocaleSyntaxException
2: astore 2
start local 2 3: new java.util.IllformedLocaleException
dup
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale$Builder;
0 5 1 script Ljava/lang/String;
3 4 2 e Lsun/util/locale/LocaleSyntaxException;
Exception table:
from to target type
0 1 2 Class sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
script
public java.util.Locale$Builder setRegion(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
aload 1
invokevirtual sun.util.locale.InternalLocaleBuilder.setRegion:(Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
pop
1: goto 4
StackMap locals:
StackMap stack: sun.util.locale.LocaleSyntaxException
2: astore 2
start local 2 3: new java.util.IllformedLocaleException
dup
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale$Builder;
0 5 1 region Ljava/lang/String;
3 4 2 e Lsun/util/locale/LocaleSyntaxException;
Exception table:
from to target type
0 1 2 Class sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
region
public java.util.Locale$Builder setVariant(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
aload 1
invokevirtual sun.util.locale.InternalLocaleBuilder.setVariant:(Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
pop
1: goto 4
StackMap locals:
StackMap stack: sun.util.locale.LocaleSyntaxException
2: astore 2
start local 2 3: new java.util.IllformedLocaleException
dup
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale$Builder;
0 5 1 variant Ljava/lang/String;
3 4 2 e Lsun/util/locale/LocaleSyntaxException;
Exception table:
from to target type
0 1 2 Class sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
variant
public java.util.Locale$Builder setExtension(char, java.lang.String);
descriptor: (CLjava/lang/String;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
iload 1
aload 2
invokevirtual sun.util.locale.InternalLocaleBuilder.setExtension:(CLjava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
pop
1: goto 4
StackMap locals:
StackMap stack: sun.util.locale.LocaleSyntaxException
2: astore 3
start local 3 3: new java.util.IllformedLocaleException
dup
aload 3
invokevirtual sun.util.locale.LocaleSyntaxException.getMessage:()Ljava/lang/String;
aload 3
invokevirtual sun.util.locale.LocaleSyntaxException.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
end local 3 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale$Builder;
0 5 1 key C
0 5 2 value Ljava/lang/String;
3 4 3 e Lsun/util/locale/LocaleSyntaxException;
Exception table:
from to target type
0 1 2 Class sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
key
value
public java.util.Locale$Builder setUnicodeLocaleKeyword(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
aload 1
aload 2
invokevirtual sun.util.locale.InternalLocaleBuilder.setUnicodeLocaleKeyword:(Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
pop
1: goto 4
StackMap locals:
StackMap stack: sun.util.locale.LocaleSyntaxException
2: astore 3
start local 3 3: new java.util.IllformedLocaleException
dup
aload 3
invokevirtual sun.util.locale.LocaleSyntaxException.getMessage:()Ljava/lang/String;
aload 3
invokevirtual sun.util.locale.LocaleSyntaxException.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
end local 3 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale$Builder;
0 5 1 key Ljava/lang/String;
0 5 2 type Ljava/lang/String;
3 4 3 e Lsun/util/locale/LocaleSyntaxException;
Exception table:
from to target type
0 1 2 Class sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
key
type
public java.util.Locale$Builder addUnicodeLocaleAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
aload 1
invokevirtual sun.util.locale.InternalLocaleBuilder.addUnicodeLocaleAttribute:(Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
pop
1: goto 4
StackMap locals:
StackMap stack: sun.util.locale.LocaleSyntaxException
2: astore 2
start local 2 3: new java.util.IllformedLocaleException
dup
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale$Builder;
0 5 1 attribute Ljava/lang/String;
3 4 2 e Lsun/util/locale/LocaleSyntaxException;
Exception table:
from to target type
0 1 2 Class sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
attribute
public java.util.Locale$Builder removeUnicodeLocaleAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
aload 1
invokevirtual sun.util.locale.InternalLocaleBuilder.removeUnicodeLocaleAttribute:(Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
pop
2: goto 5
StackMap locals:
StackMap stack: sun.util.locale.LocaleSyntaxException
3: astore 2
start local 2 4: new java.util.IllformedLocaleException
dup
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual sun.util.locale.LocaleSyntaxException.getErrorIndex:()I
invokespecial java.util.IllformedLocaleException.<init>:(Ljava/lang/String;I)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/Locale$Builder;
0 6 1 attribute Ljava/lang/String;
4 5 2 e Lsun/util/locale/LocaleSyntaxException;
Exception table:
from to target type
1 2 3 Class sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
attribute
public java.util.Locale$Builder clear();
descriptor: ()Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
invokevirtual sun.util.locale.InternalLocaleBuilder.clear:()Lsun/util/locale/InternalLocaleBuilder;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Locale$Builder;
public java.util.Locale$Builder clearExtensions();
descriptor: ()Ljava/util/Locale$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
invokevirtual sun.util.locale.InternalLocaleBuilder.clearExtensions:()Lsun/util/locale/InternalLocaleBuilder;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Locale$Builder;
public java.util.Locale build();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
invokevirtual sun.util.locale.InternalLocaleBuilder.getBaseLocale:()Lsun/util/locale/BaseLocale;
astore 1
start local 1 1: aload 0
getfield java.util.Locale$Builder.localeBuilder:Lsun/util/locale/InternalLocaleBuilder;
invokevirtual sun.util.locale.InternalLocaleBuilder.getLocaleExtensions:()Lsun/util/locale/LocaleExtensions;
astore 2
start local 2 2: aload 2
ifnonnull 6
aload 1
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 6
3: aload 1
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
aload 1
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
4: aload 1
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
aload 1
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
5: invokestatic java.util.Locale.getCompatibilityExtensions:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/LocaleExtensions;
astore 2
6: StackMap locals: sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions
StackMap stack:
aload 1
aload 2
invokestatic java.util.Locale.getInstance:(Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/Locale$Builder;
1 7 1 baseloc Lsun/util/locale/BaseLocale;
2 7 2 extensions Lsun/util/locale/LocaleExtensions;
}
SourceFile: "Locale.java"
NestHost: java.util.Locale
InnerClasses:
public final Builder = java.util.Locale$Builder of java.util.Locale