class org.jboss.logging.LoggingLocale
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jboss.logging.LoggingLocale
super_class: java.lang.Object
{
private static final java.util.Locale LOCALE;
descriptor: Ljava/util/Locale;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.jboss.logging.LoggingLocale.getDefaultLocale:()Ljava/util/Locale;
putstatic org.jboss.logging.LoggingLocale.LOCALE:Ljava/util/Locale;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lorg/jboss/logging/LoggingLocale;
static java.util.Locale getLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jboss.logging.LoggingLocale.LOCALE:Ljava/util/Locale;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.util.Locale getDefaultLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new org.jboss.logging.LoggingLocale$1
dup
invokespecial org.jboss.logging.LoggingLocale$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 1: aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokestatic org.jboss.logging.LoggingLocale.forLanguageTag:(Ljava/lang/String;)Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 bcp47Tag Ljava/lang/String;
private static java.util.Locale forLanguageTag(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: ldc "en-CA"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: getstatic java.util.Locale.CANADA:Ljava/util/Locale;
areturn
2: StackMap locals:
StackMap stack:
ldc "fr-CA"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: getstatic java.util.Locale.CANADA_FRENCH:Ljava/util/Locale;
areturn
4: StackMap locals:
StackMap stack:
ldc "zh"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: getstatic java.util.Locale.CHINESE:Ljava/util/Locale;
areturn
6: StackMap locals:
StackMap stack:
ldc "en"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
areturn
8: StackMap locals:
StackMap stack:
ldc "fr-FR"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: getstatic java.util.Locale.FRANCE:Ljava/util/Locale;
areturn
10: StackMap locals:
StackMap stack:
ldc "fr"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
11: getstatic java.util.Locale.FRENCH:Ljava/util/Locale;
areturn
12: StackMap locals:
StackMap stack:
ldc "de"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
13: getstatic java.util.Locale.GERMAN:Ljava/util/Locale;
areturn
14: StackMap locals:
StackMap stack:
ldc "de-DE"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 16
15: getstatic java.util.Locale.GERMANY:Ljava/util/Locale;
areturn
16: StackMap locals:
StackMap stack:
ldc "it"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
17: getstatic java.util.Locale.ITALIAN:Ljava/util/Locale;
areturn
18: StackMap locals:
StackMap stack:
ldc "it-IT"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 20
19: getstatic java.util.Locale.ITALY:Ljava/util/Locale;
areturn
20: StackMap locals:
StackMap stack:
ldc "ja-JP"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 22
21: getstatic java.util.Locale.JAPAN:Ljava/util/Locale;
areturn
22: StackMap locals:
StackMap stack:
ldc "ja"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 24
23: getstatic java.util.Locale.JAPANESE:Ljava/util/Locale;
areturn
24: StackMap locals:
StackMap stack:
ldc "ko-KR"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 26
25: getstatic java.util.Locale.KOREA:Ljava/util/Locale;
areturn
26: StackMap locals:
StackMap stack:
ldc "ko"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 28
27: getstatic java.util.Locale.KOREAN:Ljava/util/Locale;
areturn
28: StackMap locals:
StackMap stack:
ldc "zh-CN"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 30
29: getstatic java.util.Locale.SIMPLIFIED_CHINESE:Ljava/util/Locale;
areturn
30: StackMap locals:
StackMap stack:
ldc "zh-TW"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 32
31: getstatic java.util.Locale.TRADITIONAL_CHINESE:Ljava/util/Locale;
areturn
32: StackMap locals:
StackMap stack:
ldc "en-UK"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 34
33: getstatic java.util.Locale.UK:Ljava/util/Locale;
areturn
34: StackMap locals:
StackMap stack:
ldc "en-US"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 36
35: getstatic java.util.Locale.US:Ljava/util/Locale;
areturn
36: StackMap locals:
StackMap stack:
aload 0
ldc "-"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 37: aload 1
arraylength
istore 2
start local 2 38: iconst_0
istore 3
start local 3 39: iconst_0
istore 4
start local 4 40: aload 1
iload 3
iinc 3 1
aaload
astore 5
start local 5 41: ldc ""
astore 6
start local 6 42: ldc ""
astore 7
start local 7 43: goto 47
44: StackMap locals: java.lang.String java.lang.String[] int int int java.lang.String java.lang.String java.lang.String
StackMap stack:
iload 4
iinc 4 1
iconst_2
if_icmpeq 48
aload 1
iload 3
aaload
iconst_3
iconst_3
invokestatic org.jboss.logging.LoggingLocale.isAlpha:(Ljava/lang/String;II)Z
ifne 46
45: goto 48
46: StackMap locals:
StackMap stack:
iinc 3 1
47: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 44
48: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpeq 50
aload 1
iload 3
aaload
iconst_4
iconst_4
invokestatic org.jboss.logging.LoggingLocale.isAlpha:(Ljava/lang/String;II)Z
ifeq 50
49: iinc 3 1
50: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpeq 52
aload 1
iload 3
aaload
iconst_2
iconst_2
invokestatic org.jboss.logging.LoggingLocale.isAlpha:(Ljava/lang/String;II)Z
ifne 51
aload 1
iload 3
aaload
iconst_3
iconst_3
invokestatic org.jboss.logging.LoggingLocale.isNumeric:(Ljava/lang/String;II)Z
ifeq 52
51: StackMap locals:
StackMap stack:
aload 1
iload 3
iinc 3 1
aaload
astore 6
52: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpeq 54
aload 1
iload 3
aaload
iconst_5
bipush 8
invokestatic org.jboss.logging.LoggingLocale.isAlphaOrNumeric:(Ljava/lang/String;II)Z
ifeq 54
53: aload 1
iload 3
aaload
astore 7
54: StackMap locals:
StackMap stack:
new java.util.Locale
dup
aload 5
aload 6
aload 7
invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
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 55 0 locale Ljava/lang/String;
37 55 1 parts [Ljava/lang/String;
38 55 2 len I
39 55 3 index I
40 55 4 count I
41 55 5 language Ljava/lang/String;
42 55 6 region Ljava/lang/String;
43 55 7 variant Ljava/lang/String;
MethodParameters:
Name Flags
locale final
private static boolean isAlpha(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: iload 3
iload 1
if_icmplt 2
iload 3
iload 2
if_icmple 3
2: StackMap locals: int
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isLetter:(C)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 3
if_icmplt 5
end local 4 9: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 value Ljava/lang/String;
0 10 1 minLen I
0 10 2 maxLen I
1 10 3 len I
4 9 4 i I
MethodParameters:
Name Flags
value final
minLen final
maxLen final
private static boolean isNumeric(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: iload 3
iload 1
if_icmplt 2
iload 3
iload 2
if_icmple 3
2: StackMap locals: int
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 3
if_icmplt 5
end local 4 9: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 value Ljava/lang/String;
0 10 1 minLen I
0 10 2 maxLen I
1 10 3 len I
4 9 4 i I
MethodParameters:
Name Flags
value final
minLen final
maxLen final
private static boolean isAlphaOrNumeric(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: iload 3
iload 1
if_icmplt 2
iload 3
iload 2
if_icmple 3
2: StackMap locals: int
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isLetterOrDigit:(C)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 3
if_icmplt 5
end local 4 9: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 value Ljava/lang/String;
0 10 1 minLen I
0 10 2 maxLen I
1 10 3 len I
4 9 4 i I
MethodParameters:
Name Flags
value final
minLen final
maxLen final
}
SourceFile: "LoggingLocale.java"
NestMembers:
org.jboss.logging.LoggingLocale$1
InnerClasses:
org.jboss.logging.LoggingLocale$1