public abstract class org.springframework.util.PatternMatchUtils
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.util.PatternMatchUtils
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/util/PatternMatchUtils;
public static boolean simpleMatch(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
bipush 42
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpne 5
4: aload 0
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
5: StackMap locals: int
StackMap stack:
iload 2
ifne 21
6: aload 0
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
bipush 42
iconst_1
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 9: iload 3
iconst_m1
if_icmpne 11
10: aload 1
aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
11: StackMap locals: int
StackMap stack:
aload 0
iconst_1
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 12: aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifeq 14
13: aload 0
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 1
invokestatic org.springframework.util.PatternMatchUtils.simpleMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ireturn
14: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 4
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
start local 5 15: goto 19
16: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 1
iload 5
aload 4
invokevirtual java.lang.String.length:()I
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic org.springframework.util.PatternMatchUtils.simpleMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 18
17: iconst_1
ireturn
18: StackMap locals:
StackMap stack:
aload 1
aload 4
iload 5
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 5
19: StackMap locals:
StackMap stack:
iload 5
iconst_m1
if_icmpne 16
20: iconst_0
ireturn
end local 5 end local 4 end local 3 21: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iload 2
if_icmplt 25
22: aload 0
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
23: aload 0
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 1
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic org.springframework.util.PatternMatchUtils.simpleMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 25
24: iconst_1
ireturn
StackMap locals:
StackMap stack:
25: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 pattern Ljava/lang/String;
0 26 1 str Ljava/lang/String;
3 26 2 firstIndex I
9 21 3 nextIndex I
12 21 4 part Ljava/lang/String;
15 21 5 partIndex I
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
pattern
str
public static boolean simpleMatch(java.lang.String[], java.lang.String);
descriptor: ([Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ifnull 7
1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: java.lang.String[] java.lang.String top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
aload 1
invokestatic org.springframework.util.PatternMatchUtils.simpleMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 5
4: iconst_1
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: StackMap locals: java.lang.String[] java.lang.String
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 patterns [Ljava/lang/String;
0 8 1 str Ljava/lang/String;
3 5 2 pattern Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
patterns
str
}
SourceFile: "PatternMatchUtils.java"