public class com.sun.org.apache.xml.internal.utils.LocaleUtility
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.utils.LocaleUtility
super_class: java.lang.Object
{
public static final char IETF_SEPARATOR;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 45
public static final java.lang.String EMPTY_STRING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: ""
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/utils/LocaleUtility;
public static java.util.Locale langToLocale(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
areturn
2: StackMap locals:
StackMap stack:
ldc ""
astore 1
start local 1 3: ldc ""
astore 2
start local 2 4: ldc ""
astore 3
start local 3 5: aload 0
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 6: iload 4
ifge 9
7: aload 0
astore 1
8: goto 17
9: StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 0
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
10: iinc 4 1
11: aload 0
bipush 45
iload 4
invokevirtual java.lang.String.indexOf:(II)I
istore 5
start local 5 12: iload 5
ifge 15
13: aload 0
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
14: goto 17
15: StackMap locals: int
StackMap stack:
aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
16: aload 0
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
end local 5 17: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpne 20
18: aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 1
19: goto 21
20: StackMap locals:
StackMap stack:
ldc ""
astore 1
21: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpne 24
22: aload 2
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
astore 2
23: goto 25
24: StackMap locals:
StackMap stack:
ldc ""
astore 2
25: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.String.length:()I
ifle 29
26: aload 1
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpeq 27
aload 2
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpne 29
27: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
astore 3
28: goto 30
29: StackMap locals:
StackMap stack:
ldc ""
astore 3
30: StackMap locals:
StackMap stack:
new java.util.Locale
dup
aload 1
aload 2
aload 3
invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 lang Ljava/lang/String;
3 31 1 language Ljava/lang/String;
4 31 2 country Ljava/lang/String;
5 31 3 variant Ljava/lang/String;
6 31 4 i1 I
12 17 5 i2 I
MethodParameters:
Name Flags
lang
}
SourceFile: "LocaleUtility.java"