public class org.jboss.resteasy.util.ParameterParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.util.ParameterParser
super_class: java.lang.Object
{
private char[] chars;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int len;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int i1;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int i2;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean lowerCaseNames;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.jboss.resteasy.util.ParameterParser.chars:[C
2: aload 0
iconst_0
putfield org.jboss.resteasy.util.ParameterParser.pos:I
3: aload 0
iconst_0
putfield org.jboss.resteasy.util.ParameterParser.len:I
4: aload 0
iconst_0
putfield org.jboss.resteasy.util.ParameterParser.i1:I
5: aload 0
iconst_0
putfield org.jboss.resteasy.util.ParameterParser.i2:I
6: aload 0
iconst_0
putfield org.jboss.resteasy.util.ParameterParser.lowerCaseNames:Z
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jboss/resteasy/util/ParameterParser;
private boolean hasChar();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
aload 0
getfield org.jboss.resteasy.util.ParameterParser.len:I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/util/ParameterParser;
private java.lang.String getToken(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.i1:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.i1:I
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i1:I
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i2:I
if_icmpge 5
aload 0
getfield org.jboss.resteasy.util.ParameterParser.chars:[C
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i1:I
caload
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 1
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.i2:I
iconst_1
isub
putfield org.jboss.resteasy.util.ParameterParser.i2:I
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i2:I
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i1:I
if_icmple 6
aload 0
getfield org.jboss.resteasy.util.ParameterParser.chars:[C
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i2:I
iconst_1
isub
caload
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 4
6: StackMap locals:
StackMap stack:
iload 1
ifeq 12
7: aload 0
getfield org.jboss.resteasy.util.ParameterParser.i2:I
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i1:I
isub
iconst_2
if_icmplt 12
8: aload 0
getfield org.jboss.resteasy.util.ParameterParser.chars:[C
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i1:I
caload
bipush 34
if_icmpne 12
9: aload 0
getfield org.jboss.resteasy.util.ParameterParser.chars:[C
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i2:I
iconst_1
isub
caload
bipush 34
if_icmpne 12
10: aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.i1:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.i1:I
11: aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.i2:I
iconst_1
isub
putfield org.jboss.resteasy.util.ParameterParser.i2:I
12: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 13: aload 0
getfield org.jboss.resteasy.util.ParameterParser.i2:I
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i1:I
if_icmple 15
14: new java.lang.String
dup
aload 0
getfield org.jboss.resteasy.util.ParameterParser.chars:[C
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i1:I
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i2:I
aload 0
getfield org.jboss.resteasy.util.ParameterParser.i1:I
isub
invokespecial java.lang.String.<init>:([CII)V
astore 2
15: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/jboss/resteasy/util/ParameterParser;
0 16 1 quoted Z
13 16 2 result Ljava/lang/String;
MethodParameters:
Name Flags
quoted
private boolean isOneOf(char, char[]);
descriptor: (C[C)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 7
3: StackMap locals: int int
StackMap stack:
iload 1
aload 2
iload 4
caload
if_icmpne 6
4: iconst_1
istore 3
5: goto 8
6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
aload 2
arraylength
if_icmplt 3
end local 4 8: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jboss/resteasy/util/ParameterParser;
0 9 1 ch C
0 9 2 charray [C
1 9 3 result Z
2 8 4 i I
MethodParameters:
Name Flags
ch
charray final
private java.lang.String parseToken(char[]);
descriptor: ([C)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
putfield org.jboss.resteasy.util.ParameterParser.i1:I
1: aload 0
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
putfield org.jboss.resteasy.util.ParameterParser.i2:I
2: goto 8
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.util.ParameterParser.chars:[C
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
caload
istore 2
start local 2 4: aload 0
iload 2
aload 1
invokevirtual org.jboss.resteasy.util.ParameterParser.isOneOf:(C[C)Z
ifeq 6
5: goto 9
6: StackMap locals: int
StackMap stack:
aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.i2:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.i2:I
7: aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.pos:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.pos:I
end local 2 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.util.ParameterParser.hasChar:()Z
ifne 3
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual org.jboss.resteasy.util.ParameterParser.getToken:(Z)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jboss/resteasy/util/ParameterParser;
0 10 1 terminators [C
4 8 2 ch C
MethodParameters:
Name Flags
terminators final
private java.lang.String parseQuotedToken(char[]);
descriptor: ([C)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
putfield org.jboss.resteasy.util.ParameterParser.i1:I
1: aload 0
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
putfield org.jboss.resteasy.util.ParameterParser.i2:I
2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 17
5: StackMap locals: org.jboss.resteasy.util.ParameterParser char[] top int int
StackMap stack:
aload 0
getfield org.jboss.resteasy.util.ParameterParser.chars:[C
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
caload
istore 2
start local 2 6: iload 3
ifne 8
aload 0
iload 2
aload 1
invokevirtual org.jboss.resteasy.util.ParameterParser.isOneOf:(C[C)Z
ifeq 8
7: goto 18
8: StackMap locals: org.jboss.resteasy.util.ParameterParser char[] int int int
StackMap stack:
iload 4
ifne 12
iload 2
bipush 34
if_icmpne 12
9: iload 3
ifeq 10
iconst_0
goto 11
StackMap locals:
StackMap stack:
10: iconst_1
StackMap locals:
StackMap stack: int
11: istore 3
12: StackMap locals:
StackMap stack:
iload 4
ifne 13
iload 2
bipush 92
if_icmpne 13
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 4
15: aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.i2:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.i2:I
16: aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.pos:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.pos:I
end local 2 17: StackMap locals: org.jboss.resteasy.util.ParameterParser char[] top int int
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.util.ParameterParser.hasChar:()Z
ifne 5
18: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual org.jboss.resteasy.util.ParameterParser.getToken:(Z)Ljava/lang/String;
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/jboss/resteasy/util/ParameterParser;
0 19 1 terminators [C
6 17 2 ch C
3 19 3 quoted Z
4 19 4 charEscaped Z
MethodParameters:
Name Flags
terminators final
public boolean isLowerCaseNames();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.util.ParameterParser.lowerCaseNames:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/util/ParameterParser;
public void setLowerCaseNames(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jboss.resteasy.util.ParameterParser.lowerCaseNames:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/util/ParameterParser;
0 2 1 b Z
MethodParameters:
Name Flags
b
public java.util.Map<java.lang.String, java.lang.String> parse(java.lang.String, char);
descriptor: (Ljava/lang/String;C)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.toCharArray:()[C
iload 2
invokevirtual org.jboss.resteasy.util.ParameterParser.parse:([CC)Ljava/util/Map;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/util/ParameterParser;
0 3 1 str Ljava/lang/String;
0 3 2 separator C
Signature: (Ljava/lang/String;C)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
str final
separator
public java.util.Map<java.lang.String, java.lang.String> parse(char[], char);
descriptor: ([CC)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
aload 1
arraylength
iload 2
invokevirtual org.jboss.resteasy.util.ParameterParser.parse:([CIIC)Ljava/util/Map;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/util/ParameterParser;
0 3 1 chars [C
0 3 2 separator C
Signature: ([CC)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
chars final
separator
public java.util.Map<java.lang.String, java.lang.String> parse(char[], int, int, char);
descriptor: ([CIIC)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnonnull 2
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 3: aload 0
aload 1
putfield org.jboss.resteasy.util.ParameterParser.chars:[C
4: aload 0
iload 2
putfield org.jboss.resteasy.util.ParameterParser.pos:I
5: aload 0
iload 3
putfield org.jboss.resteasy.util.ParameterParser.len:I
6: aconst_null
astore 6
start local 6 7: aconst_null
astore 7
start local 7 8: goto 24
9: StackMap locals: java.util.HashMap java.lang.String java.lang.String
StackMap stack:
aload 0
iconst_2
newarray 5
dup
iconst_0
10: bipush 61
castore
dup
iconst_1
iload 4
castore
11: invokevirtual org.jboss.resteasy.util.ParameterParser.parseToken:([C)Ljava/lang/String;
astore 6
12: aconst_null
astore 7
13: aload 0
invokevirtual org.jboss.resteasy.util.ParameterParser.hasChar:()Z
ifeq 18
aload 1
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
caload
bipush 61
if_icmpne 18
14: aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.pos:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.pos:I
15: aload 0
iconst_1
newarray 5
dup
iconst_0
16: iload 4
castore
17: invokevirtual org.jboss.resteasy.util.ParameterParser.parseQuotedToken:([C)Ljava/lang/String;
astore 7
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.util.ParameterParser.hasChar:()Z
ifeq 20
aload 1
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
caload
iload 4
if_icmpne 20
19: aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.pos:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.pos:I
20: StackMap locals:
StackMap stack:
aload 6
ifnull 24
aload 6
invokevirtual java.lang.String.length:()I
ifle 24
21: aload 0
getfield org.jboss.resteasy.util.ParameterParser.lowerCaseNames:Z
ifeq 23
22: aload 6
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 6
23: StackMap locals:
StackMap stack:
aload 5
aload 6
aload 7
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.util.ParameterParser.hasChar:()Z
ifne 9
25: aload 5
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 26 0 this Lorg/jboss/resteasy/util/ParameterParser;
0 26 1 chars [C
0 26 2 offset I
0 26 3 length I
0 26 4 separator C
3 26 5 params Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
7 26 6 paramName Ljava/lang/String;
8 26 7 paramValue Ljava/lang/String;
Signature: ([CIIC)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
chars final
offset
length
separator
public java.lang.String setAttribute(char[], int, int, char, java.lang.String, java.lang.String);
descriptor: ([CIICLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
putfield org.jboss.resteasy.util.ParameterParser.chars:[C
1: aload 0
iload 2
putfield org.jboss.resteasy.util.ParameterParser.pos:I
2: aload 0
iload 3
putfield org.jboss.resteasy.util.ParameterParser.len:I
3: aconst_null
astore 7
start local 7 4: iload 2
istore 8
start local 8 5: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 9
start local 9 6: goto 26
7: StackMap locals: java.lang.String int java.lang.StringBuffer
StackMap stack:
aload 0
iconst_2
newarray 5
dup
iconst_0
8: bipush 61
castore
dup
iconst_1
iload 4
castore
9: invokevirtual org.jboss.resteasy.util.ParameterParser.parseToken:([C)Ljava/lang/String;
astore 7
10: aconst_null
pop
11: aload 7
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
12: aload 9
new java.lang.String
dup
aload 1
iload 8
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
iload 8
isub
invokespecial java.lang.String.<init>:([CII)V
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.util.ParameterParser.hasChar:()Z
ifeq 18
aload 1
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
caload
bipush 61
if_icmpne 18
14: aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.pos:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.pos:I
15: aload 0
iconst_1
newarray 5
dup
iconst_0
16: iload 4
castore
17: invokevirtual org.jboss.resteasy.util.ParameterParser.parseQuotedToken:([C)Ljava/lang/String;
pop
18: StackMap locals:
StackMap stack:
aload 7
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
19: aload 9
ldc "="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 6
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
20: aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
istore 8
21: goto 24
22: StackMap locals:
StackMap stack:
aload 9
new java.lang.String
dup
aload 1
iload 8
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
iload 8
isub
invokespecial java.lang.String.<init>:([CII)V
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
23: aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
istore 8
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.util.ParameterParser.hasChar:()Z
ifeq 26
aload 1
aload 0
getfield org.jboss.resteasy.util.ParameterParser.pos:I
caload
iload 4
if_icmpne 26
25: aload 0
dup
getfield org.jboss.resteasy.util.ParameterParser.pos:I
iconst_1
iadd
putfield org.jboss.resteasy.util.ParameterParser.pos:I
26: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.util.ParameterParser.hasChar:()Z
ifne 7
27: aload 9
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 9 end local 8 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 28 0 this Lorg/jboss/resteasy/util/ParameterParser;
0 28 1 chars [C
0 28 2 offset I
0 28 3 length I
0 28 4 separator C
0 28 5 name Ljava/lang/String;
0 28 6 value Ljava/lang/String;
4 28 7 paramName Ljava/lang/String;
5 28 8 start I
6 28 9 newChars Ljava/lang/StringBuffer;
MethodParameters:
Name Flags
chars final
offset
length
separator
name
value
}
SourceFile: "ParameterParser.java"