class org.glassfish.grizzly.http.server.LegacyLocaleParser implements org.glassfish.grizzly.http.server.LocaleParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.http.server.LegacyLocaleParser
super_class: java.lang.Object
{
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/glassfish/grizzly/http/server/LegacyLocaleParser;
public java.util.Locale parseLocale(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 1: iload 5
ifge 6
2: aload 1
astore 2
start local 2 3: ldc ""
astore 3
start local 3 4: ldc ""
astore 4
start local 4 5: goto 15
end local 4 end local 3 end local 2 6: StackMap locals: org.glassfish.grizzly.http.server.LegacyLocaleParser java.lang.String top top top int
StackMap stack:
aload 1
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 7: aload 1
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 8: aload 3
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 9: iload 6
ifle 14
10: aload 3
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 11: aload 3
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 12: aload 7
astore 3
end local 7 13: goto 15
end local 4 14: StackMap locals: org.glassfish.grizzly.http.server.LegacyLocaleParser java.lang.String java.lang.String java.lang.String top int int
StackMap stack:
ldc ""
astore 4
end local 6 start local 4 15: StackMap locals: org.glassfish.grizzly.http.server.LegacyLocaleParser java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 2
invokestatic org.glassfish.grizzly.http.server.LegacyLocaleParser.isAlpha:(Ljava/lang/String;)Z
ifeq 16
aload 3
invokestatic org.glassfish.grizzly.http.server.LegacyLocaleParser.isAlpha:(Ljava/lang/String;)Z
ifeq 16
aload 4
invokestatic org.glassfish.grizzly.http.server.LegacyLocaleParser.isAlpha:(Ljava/lang/String;)Z
ifne 17
16: StackMap locals:
StackMap stack:
aconst_null
areturn
17: StackMap locals:
StackMap stack:
new java.util.Locale
dup
aload 2
aload 3
aload 4
invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
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 18 0 this Lorg/glassfish/grizzly/http/server/LegacyLocaleParser;
0 18 1 source Ljava/lang/String;
3 6 2 language Ljava/lang/String;
7 18 2 language Ljava/lang/String;
4 6 3 country Ljava/lang/String;
8 18 3 country Ljava/lang/String;
5 6 4 variant Ljava/lang/String;
12 14 4 variant Ljava/lang/String;
15 18 4 variant Ljava/lang/String;
1 18 5 dash I
9 15 6 vDash I
11 13 7 cTemp Ljava/lang/String;
MethodParameters:
Name Flags
source
private static boolean isAlpha(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 3: goto 9
4: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 5: iload 2
bipush 97
if_icmplt 6
iload 2
bipush 122
if_icmple 8
StackMap locals: int
StackMap stack:
6: iload 2
bipush 65
if_icmplt 7
iload 2
bipush 90
if_icmple 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 8: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
9: iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 4
end local 1 10: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 value Ljava/lang/String;
3 10 1 i I
5 8 2 c C
MethodParameters:
Name Flags
value
}
SourceFile: "LegacyLocaleParser.java"