class org.springframework.web.util.pattern.CaptureVariablePathElement extends org.springframework.web.util.pattern.PathElement
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.web.util.pattern.CaptureVariablePathElement
super_class: org.springframework.web.util.pattern.PathElement
{
private final java.lang.String variableName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.regex.Pattern constraintPattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
void <init>(int, char[], boolean, char);
descriptor: (I[CZC)V
flags: (0x0000)
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 4
invokespecial org.springframework.web.util.pattern.PathElement.<init>:(IC)V
1: iconst_m1
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 8
4: StackMap locals: org.springframework.web.util.pattern.CaptureVariablePathElement int char[] int int int int
StackMap stack:
aload 2
iload 6
caload
bipush 58
if_icmpne 7
5: iload 6
istore 5
6: goto 9
7: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
aload 2
arraylength
if_icmplt 4
end local 6 9: StackMap locals:
StackMap stack:
iload 5
iconst_m1
if_icmpne 12
10: aload 0
new java.lang.String
dup
aload 2
iconst_1
aload 2
arraylength
iconst_2
isub
invokespecial java.lang.String.<init>:([CII)V
putfield org.springframework.web.util.pattern.CaptureVariablePathElement.variableName:Ljava/lang/String;
11: goto 22
12: StackMap locals:
StackMap stack:
aload 0
new java.lang.String
dup
aload 2
iconst_1
iload 5
iconst_1
isub
invokespecial java.lang.String.<init>:([CII)V
putfield org.springframework.web.util.pattern.CaptureVariablePathElement.variableName:Ljava/lang/String;
13: iload 3
ifeq 18
14: aload 0
15: new java.lang.String
dup
aload 2
iload 5
iconst_1
iadd
aload 2
arraylength
iload 5
isub
iconst_2
isub
invokespecial java.lang.String.<init>:([CII)V
16: invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putfield org.springframework.web.util.pattern.CaptureVariablePathElement.constraintPattern:Ljava/util/regex/Pattern;
17: goto 22
18: StackMap locals:
StackMap stack:
aload 0
19: new java.lang.String
dup
aload 2
iload 5
iconst_1
iadd
aload 2
arraylength
iload 5
isub
iconst_2
isub
invokespecial java.lang.String.<init>:([CII)V
20: iconst_2
21: invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
putfield org.springframework.web.util.pattern.CaptureVariablePathElement.constraintPattern:Ljava/util/regex/Pattern;
22: StackMap locals:
StackMap stack:
return
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 23 0 this Lorg/springframework/web/util/pattern/CaptureVariablePathElement;
0 23 1 pos I
0 23 2 captureDescriptor [C
0 23 3 caseSensitive Z
0 23 4 separator C
2 23 5 colon I
3 9 6 i I
MethodParameters:
Name Flags
pos
captureDescriptor
caseSensitive
separator
public boolean matches(int, org.springframework.web.util.pattern.PathPattern$MatchingContext);
descriptor: (ILorg/springframework/web/util/pattern/PathPattern$MatchingContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathLength:I
if_icmplt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
iload 1
invokevirtual org.springframework.web.util.pattern.PathPattern$MatchingContext.pathElementValue:(I)Ljava/lang/String;
astore 3
start local 3 3: aload 3
invokevirtual java.lang.String.length:()I
ifne 5
4: iconst_0
ireturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.constraintPattern:Ljava/util/regex/Pattern;
ifnull 13
6: aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.constraintPattern:Ljava/util/regex/Pattern;
aload 3
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 4
start local 4 7: aload 4
invokevirtual java.util.regex.Matcher.groupCount:()I
ifeq 11
8: new java.lang.IllegalArgumentException
dup
9: new java.lang.StringBuilder
dup
ldc "No capture groups allowed in the constraint regex: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.constraintPattern:Ljava/util/regex/Pattern;
invokevirtual java.util.regex.Pattern.pattern:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 4
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 13
12: iconst_0
ireturn
end local 4 13: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 14: iinc 1 1
15: aload 0
invokevirtual org.springframework.web.util.pattern.CaptureVariablePathElement.isNoMorePattern:()Z
ifeq 30
16: aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.determineRemainingPath:Z
ifeq 20
17: aload 2
iload 1
putfield org.springframework.web.util.pattern.PathPattern$MatchingContext.remainingPathIndex:I
18: iconst_1
istore 4
19: goto 32
20: StackMap locals: int
StackMap stack:
iload 1
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathLength:I
if_icmpne 21
iconst_1
goto 22
StackMap locals:
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 4
23: iload 4
ifne 32
aload 2
invokevirtual org.springframework.web.util.pattern.PathPattern$MatchingContext.isMatchOptionalTrailingSeparator:()Z
ifeq 32
24: iload 1
iconst_1
iadd
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathLength:I
if_icmpne 27
25: aload 2
iload 1
invokevirtual org.springframework.web.util.pattern.PathPattern$MatchingContext.isSeparator:(I)Z
ifeq 27
26: iconst_1
goto 28
StackMap locals:
StackMap stack:
27: iconst_0
StackMap locals:
StackMap stack: int
28: istore 4
29: goto 32
30: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.next:Lorg/springframework/web/util/pattern/PathElement;
ifnull 32
31: aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.next:Lorg/springframework/web/util/pattern/PathElement;
iload 1
aload 2
invokevirtual org.springframework.web.util.pattern.PathElement.matches:(ILorg/springframework/web/util/pattern/PathPattern$MatchingContext;)Z
istore 4
32: StackMap locals:
StackMap stack:
iload 4
ifeq 36
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.extractingVariables:Z
ifeq 36
33: aload 2
aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.variableName:Ljava/lang/String;
aload 3
34: aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathElements:Ljava/util/List;
iload 1
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.springframework.http.server.PathContainer$PathSegment
invokeinterface org.springframework.http.server.PathContainer$PathSegment.parameters:()Lorg/springframework/util/MultiValueMap;
35: invokevirtual org.springframework.web.util.pattern.PathPattern$MatchingContext.set:(Ljava/lang/String;Ljava/lang/String;Lorg/springframework/util/MultiValueMap;)V
36: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lorg/springframework/web/util/pattern/CaptureVariablePathElement;
0 37 1 pathIndex I
0 37 2 matchingContext Lorg/springframework/web/util/pattern/PathPattern$MatchingContext;
3 37 3 candidateCapture Ljava/lang/String;
7 13 4 matcher Ljava/util/regex/Matcher;
14 37 4 match Z
MethodParameters:
Name Flags
pathIndex
matchingContext
public java.lang.String getVariableName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.variableName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/pattern/CaptureVariablePathElement;
public int getNormalizedLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/pattern/CaptureVariablePathElement;
public int getWildcardCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/pattern/CaptureVariablePathElement;
public int getCaptureCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/pattern/CaptureVariablePathElement;
public int getScore();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/pattern/CaptureVariablePathElement;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "CaptureVariable({"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.variableName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.constraintPattern:Ljava/util/regex/Pattern;
ifnull 2
new java.lang.StringBuilder
dup
ldc ":"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.constraintPattern:Ljava/util/regex/Pattern;
invokevirtual java.util.regex.Pattern.pattern:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: ldc ""
StackMap locals: org.springframework.web.util.pattern.CaptureVariablePathElement
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "})"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/util/pattern/CaptureVariablePathElement;
public char[] getChars();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.variableName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.constraintPattern:Ljava/util/regex/Pattern;
ifnull 5
4: aload 1
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.web.util.pattern.CaptureVariablePathElement.constraintPattern:Ljava/util/regex/Pattern;
invokevirtual java.util.regex.Pattern.pattern:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/util/pattern/CaptureVariablePathElement;
1 7 1 b Ljava/lang/StringBuilder;
}
SourceFile: "CaptureVariablePathElement.java"
InnerClasses:
public abstract PathSegment = org.springframework.http.server.PathContainer$PathSegment of org.springframework.http.server.PathContainer
MatchingContext = org.springframework.web.util.pattern.PathPattern$MatchingContext of org.springframework.web.util.pattern.PathPattern