class org.springframework.web.util.pattern.CaptureTheRestPathElement 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.CaptureTheRestPathElement
super_class: org.springframework.web.util.pattern.PathElement
{
private final java.lang.String variableName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(int, char[], char);
descriptor: (I[CC)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 3
invokespecial org.springframework.web.util.pattern.PathElement.<init>:(IC)V
1: aload 0
new java.lang.String
dup
aload 2
iconst_2
aload 2
arraylength
iconst_3
isub
invokespecial java.lang.String.<init>:([CII)V
putfield org.springframework.web.util.pattern.CaptureTheRestPathElement.variableName:Ljava/lang/String;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/util/pattern/CaptureTheRestPathElement;
0 3 1 pos I
0 3 2 captureDescriptor [C
0 3 3 separator C
MethodParameters:
Name Flags
pos
captureDescriptor
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=5, locals=7, 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_icmpge 2
aload 2
iload 1
invokevirtual org.springframework.web.util.pattern.PathPattern$MatchingContext.isSeparator:(I)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.determineRemainingPath:Z
ifeq 4
3: aload 2
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathLength:I
putfield org.springframework.web.util.pattern.PathPattern$MatchingContext.remainingPathIndex:I
4: StackMap locals:
StackMap stack:
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.extractingVariables:Z
ifeq 21
5: aconst_null
astore 3
start local 3 6: iload 1
istore 4
start local 4 7: goto 16
8: StackMap locals: org.springframework.util.MultiValueMap int
StackMap stack:
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathElements:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.springframework.http.server.PathContainer$Element
astore 5
start local 5 9: aload 5
instanceof org.springframework.http.server.PathContainer$PathSegment
ifeq 15
10: aload 5
checkcast org.springframework.http.server.PathContainer$PathSegment
invokeinterface org.springframework.http.server.PathContainer$PathSegment.parameters:()Lorg/springframework/util/MultiValueMap;
astore 6
start local 6 11: aload 6
invokeinterface org.springframework.util.MultiValueMap.isEmpty:()Z
ifne 15
12: aload 3
ifnonnull 14
13: new org.springframework.util.LinkedMultiValueMap
dup
invokespecial org.springframework.util.LinkedMultiValueMap.<init>:()V
astore 3
14: StackMap locals: org.springframework.http.server.PathContainer$Element org.springframework.util.MultiValueMap
StackMap stack:
aload 3
aload 6
invokeinterface org.springframework.util.MultiValueMap.addAll:(Lorg/springframework/util/MultiValueMap;)V
end local 6 end local 5 15: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathLength:I
if_icmplt 8
end local 4 17: aload 2
aload 0
getfield org.springframework.web.util.pattern.CaptureTheRestPathElement.variableName:Ljava/lang/String;
aload 0
iload 1
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathElements:Ljava/util/List;
invokevirtual org.springframework.web.util.pattern.CaptureTheRestPathElement.pathToString:(ILjava/util/List;)Ljava/lang/String;
18: aload 3
ifnonnull 19
getstatic org.springframework.web.util.pattern.CaptureTheRestPathElement.NO_PARAMETERS:Lorg/springframework/util/MultiValueMap;
goto 20
StackMap locals: org.springframework.web.util.pattern.CaptureTheRestPathElement int org.springframework.web.util.pattern.PathPattern$MatchingContext org.springframework.util.MultiValueMap
StackMap stack: org.springframework.web.util.pattern.PathPattern$MatchingContext java.lang.String java.lang.String
19: aload 3
20: StackMap locals: org.springframework.web.util.pattern.CaptureTheRestPathElement int org.springframework.web.util.pattern.PathPattern$MatchingContext org.springframework.util.MultiValueMap
StackMap stack: org.springframework.web.util.pattern.PathPattern$MatchingContext java.lang.String java.lang.String org.springframework.util.MultiValueMap
invokevirtual org.springframework.web.util.pattern.PathPattern$MatchingContext.set:(Ljava/lang/String;Ljava/lang/String;Lorg/springframework/util/MultiValueMap;)V
end local 3 21: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/springframework/web/util/pattern/CaptureTheRestPathElement;
0 22 1 pathIndex I
0 22 2 matchingContext Lorg/springframework/web/util/pattern/PathPattern$MatchingContext;
6 21 3 parametersCollector Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;
7 17 4 i I
9 15 5 element Lorg/springframework/http/server/PathContainer$Element;
11 15 6 parameters Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
pathIndex
matchingContext
private java.lang.String pathToString(int, java.util.List<org.springframework.http.server.PathContainer$Element>);
descriptor: (ILjava/util/List;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 1: iload 1
istore 4
start local 4 2: aload 2
invokeinterface java.util.List.size:()I
istore 5
start local 5 3: goto 10
4: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.springframework.http.server.PathContainer$Element
astore 6
start local 6 5: aload 6
instanceof org.springframework.http.server.PathContainer$PathSegment
ifeq 8
6: aload 3
aload 6
checkcast org.springframework.http.server.PathContainer$PathSegment
invokeinterface org.springframework.http.server.PathContainer$PathSegment.valueToMatch:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: goto 9
8: StackMap locals: org.springframework.http.server.PathContainer$Element
StackMap stack:
aload 3
aload 6
invokeinterface org.springframework.http.server.PathContainer$Element.value:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 4
end local 5 end local 4 11: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/web/util/pattern/CaptureTheRestPathElement;
0 12 1 fromSegment I
0 12 2 pathElements Ljava/util/List<Lorg/springframework/http/server/PathContainer$Element;>;
1 12 3 buf Ljava/lang/StringBuilder;
2 11 4 i I
3 11 5 max I
5 9 6 element Lorg/springframework/http/server/PathContainer$Element;
Signature: (ILjava/util/List<Lorg/springframework/http/server/PathContainer$Element;>;)Ljava/lang/String;
MethodParameters:
Name Flags
fromSegment
pathElements
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/CaptureTheRestPathElement;
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/CaptureTheRestPathElement;
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/CaptureTheRestPathElement;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "CaptureTheRest(/{*"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.web.util.pattern.CaptureTheRestPathElement.variableName:Ljava/lang/String;
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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/pattern/CaptureTheRestPathElement;
public char[] getChars();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "/{*"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.web.util.pattern.CaptureTheRestPathElement.variableName:Ljava/lang/String;
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;
invokevirtual java.lang.String.toCharArray:()[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/pattern/CaptureTheRestPathElement;
}
SourceFile: "CaptureTheRestPathElement.java"
InnerClasses:
public abstract Element = org.springframework.http.server.PathContainer$Element of org.springframework.http.server.PathContainer
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