final class org.springframework.web.util.UriTemplate$TemplateInfo
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.web.util.UriTemplate$TemplateInfo
super_class: java.lang.Object
{
private final java.util.List<java.lang.String> variableNames;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.util.regex.Pattern pattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.util.List<java.lang.String>, java.util.regex.Pattern);
descriptor: (Ljava/util/List;Ljava/util/regex/Pattern;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.web.util.UriTemplate$TemplateInfo.variableNames:Ljava/util/List;
2: aload 0
aload 2
putfield org.springframework.web.util.UriTemplate$TemplateInfo.pattern:Ljava/util/regex/Pattern;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/util/UriTemplate$TemplateInfo;
0 4 1 vars Ljava/util/List<Ljava/lang/String;>;
0 4 2 pattern Ljava/util/regex/Pattern;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/util/regex/Pattern;)V
MethodParameters:
Name Flags
vars
pattern
public java.util.List<java.lang.String> getVariableNames();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.UriTemplate$TemplateInfo.variableNames:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/UriTemplate$TemplateInfo;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.regex.Pattern getMatchPattern();
descriptor: ()Ljava/util/regex/Pattern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.UriTemplate$TemplateInfo.pattern:Ljava/util/regex/Pattern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/UriTemplate$TemplateInfo;
public static org.springframework.web.util.UriTemplate$TemplateInfo parse(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/web/util/UriTemplate$TemplateInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=10, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 35
6: StackMap locals: java.lang.String int java.util.List java.lang.StringBuilder java.lang.StringBuilder int
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 7: iload 6
bipush 123
if_icmpne 13
8: iinc 1 1
9: iload 1
iconst_1
if_icmpne 33
10: aload 3
aload 4
invokestatic org.springframework.web.util.UriTemplate$TemplateInfo.quote:(Ljava/lang/StringBuilder;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
12: goto 34
13: StackMap locals: int
StackMap stack:
iload 6
bipush 125
if_icmpne 33
14: iinc 1 -1
15: iload 1
ifne 33
16: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 17: aload 7
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 8
start local 8 18: iload 8
iconst_m1
if_icmpne 22
19: aload 3
ldc "([^/]*)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 2
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: goto 31
22: StackMap locals: java.lang.String int
StackMap stack:
iload 8
iconst_1
iadd
aload 7
invokevirtual java.lang.String.length:()I
if_icmpne 26
23: new java.lang.IllegalArgumentException
dup
24: new java.lang.StringBuilder
dup
ldc "No custom regular expression specified after ':' in \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
aload 7
iload 8
iconst_1
iadd
aload 7
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
start local 9 27: aload 3
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
28: aload 3
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
29: aload 3
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
30: aload 2
aload 7
iconst_0
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 31: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
32: goto 34
end local 8 end local 7 33: StackMap locals:
StackMap stack:
aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 6 34: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
35: iload 5
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 5 36: aload 4
invokevirtual java.lang.StringBuilder.length:()I
ifle 38
37: aload 3
aload 4
invokestatic org.springframework.web.util.UriTemplate$TemplateInfo.quote:(Ljava/lang/StringBuilder;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: StackMap locals:
StackMap stack:
new org.springframework.web.util.UriTemplate$TemplateInfo
dup
aload 2
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
invokespecial org.springframework.web.util.UriTemplate$TemplateInfo.<init>:(Ljava/util/List;Ljava/util/regex/Pattern;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 uriTemplate Ljava/lang/String;
1 39 1 level I
2 39 2 variableNames Ljava/util/List<Ljava/lang/String;>;
3 39 3 pattern Ljava/lang/StringBuilder;
4 39 4 builder Ljava/lang/StringBuilder;
5 36 5 i I
7 34 6 c C
17 33 7 variable Ljava/lang/String;
18 33 8 idx I
27 31 9 regex Ljava/lang/String;
MethodParameters:
Name Flags
uriTemplate
private static java.lang.String quote(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.StringBuilder.length:()I
ifle 1
aload 0
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.regex.Pattern.quote:(Ljava/lang/String;)Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc ""
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 builder Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
builder
}
SourceFile: "UriTemplate.java"
NestHost: org.springframework.web.util.UriTemplate
InnerClasses:
private final TemplateInfo = org.springframework.web.util.UriTemplate$TemplateInfo of org.springframework.web.util.UriTemplate