class org.springframework.web.util.pattern.LiteralPathElement 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.LiteralPathElement
super_class: org.springframework.web.util.pattern.PathElement
{
private char[] text;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private int len;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean caseSensitive;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(int, char[], boolean, char);
descriptor: (I[CZC)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, 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: aload 0
aload 2
arraylength
putfield org.springframework.web.util.pattern.LiteralPathElement.len:I
2: aload 0
iload 3
putfield org.springframework.web.util.pattern.LiteralPathElement.caseSensitive:Z
3: iload 3
ifeq 6
4: aload 0
aload 2
putfield org.springframework.web.util.pattern.LiteralPathElement.text:[C
5: goto 12
6: StackMap locals: org.springframework.web.util.pattern.LiteralPathElement int char[] int int
StackMap stack:
aload 0
aload 2
arraylength
newarray 5
putfield org.springframework.web.util.pattern.LiteralPathElement.text:[C
7: iconst_0
istore 5
start local 5 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.text:[C
iload 5
aload 2
iload 5
caload
invokestatic java.lang.Character.toLowerCase:(C)C
castore
10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.len:I
if_icmplt 9
end local 5 12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/web/util/pattern/LiteralPathElement;
0 13 1 pos I
0 13 2 literalText [C
0 13 3 caseSensitive Z
0 13 4 separator C
8 12 5 i I
MethodParameters:
Name Flags
pos
literalText
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=3, 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_icmplt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathElements:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.springframework.http.server.PathContainer$Element
astore 3
start local 3 3: aload 3
instanceof org.springframework.http.server.PathContainer$PathSegment
ifne 5
4: iconst_0
ireturn
5: StackMap locals: org.springframework.http.server.PathContainer$Element
StackMap stack:
aload 3
checkcast org.springframework.http.server.PathContainer$PathSegment
invokeinterface org.springframework.http.server.PathContainer$PathSegment.valueToMatch:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
invokevirtual java.lang.String.length:()I
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.len:I
if_icmpeq 8
7: iconst_0
ireturn
8: StackMap locals: java.lang.String
StackMap stack:
aload 3
checkcast org.springframework.http.server.PathContainer$PathSegment
invokeinterface org.springframework.http.server.PathContainer$PathSegment.valueToMatchAsChars:()[C
astore 5
start local 5 9: aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.caseSensitive:Z
ifeq 17
10: iconst_0
istore 6
start local 6 11: goto 15
12: StackMap locals: char[] int
StackMap stack:
aload 5
iload 6
caload
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.text:[C
iload 6
caload
if_icmpeq 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.len:I
if_icmplt 12
end local 6 16: goto 23
17: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 18: goto 22
19: StackMap locals: int
StackMap stack:
aload 5
iload 6
caload
invokestatic java.lang.Character.toLowerCase:(C)C
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.text:[C
iload 6
caload
if_icmpeq 21
20: iconst_0
ireturn
21: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.len:I
if_icmplt 19
end local 6 23: StackMap locals:
StackMap stack:
iinc 1 1
24: aload 0
invokevirtual org.springframework.web.util.pattern.LiteralPathElement.isNoMorePattern:()Z
ifeq 35
25: aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.determineRemainingPath:Z
ifeq 28
26: aload 2
iload 1
putfield org.springframework.web.util.pattern.PathPattern$MatchingContext.remainingPathIndex:I
27: iconst_1
ireturn
28: StackMap locals:
StackMap stack:
iload 1
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathLength:I
if_icmpne 30
29: iconst_1
ireturn
30: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.springframework.web.util.pattern.PathPattern$MatchingContext.isMatchOptionalTrailingSeparator:()Z
ifeq 34
31: iload 1
iconst_1
iadd
aload 2
getfield org.springframework.web.util.pattern.PathPattern$MatchingContext.pathLength:I
if_icmpne 34
32: aload 2
iload 1
invokevirtual org.springframework.web.util.pattern.PathPattern$MatchingContext.isSeparator:(I)Z
ifeq 34
33: iconst_1
ireturn
StackMap locals:
StackMap stack:
34: iconst_0
ireturn
35: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.next:Lorg/springframework/web/util/pattern/PathElement;
ifnull 36
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.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
ifeq 36
iconst_1
ireturn
StackMap locals:
StackMap stack:
36: iconst_0
ireturn
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 37 0 this Lorg/springframework/web/util/pattern/LiteralPathElement;
0 37 1 pathIndex I
0 37 2 matchingContext Lorg/springframework/web/util/pattern/PathPattern$MatchingContext;
3 37 3 element Lorg/springframework/http/server/PathContainer$Element;
6 37 4 value Ljava/lang/String;
9 37 5 data [C
11 16 6 i I
18 23 6 i I
MethodParameters:
Name Flags
pathIndex
matchingContext
public int getNormalizedLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.len:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/pattern/LiteralPathElement;
public char[] getChars();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.text:[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/pattern/LiteralPathElement;
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 "Literal("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.web.util.pattern.LiteralPathElement.text:[C
invokestatic java.lang.String.valueOf:([C)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/LiteralPathElement;
}
SourceFile: "LiteralPathElement.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