public final class org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate
super_class: java.lang.Object
{
private static final java.util.regex.Pattern PATH_VAR_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern ALL_REMAINING_PATH_SEGMENTS_VAR_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String matchAllRemainingPathSegmentsVariable;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String canonicalPath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.boot.actuate.endpoint.web.WebEndpointHttpMethod httpMethod;
descriptor: Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Collection<java.lang.String> consumes;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<Ljava/lang/String;>;
private final java.util.Collection<java.lang.String> produces;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "(\\{\\*?).+?}"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.PATH_VAR_PATTERN:Ljava/util/regex/Pattern;
1: ldc "^.*\\{\\*(.+?)}$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.ALL_REMAINING_PATH_SEGMENTS_VAR_PATTERN:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, org.springframework.boot.actuate.endpoint.web.WebEndpointHttpMethod, java.util.Collection<java.lang.String>, java.util.Collection<java.lang.String>);
descriptor: (Ljava/lang/String;Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;Ljava/util/Collection;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.path:Ljava/lang/String;
2: aload 0
aload 0
aload 1
invokevirtual org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.extractCanonicalPath:(Ljava/lang/String;)Ljava/lang/String;
putfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.canonicalPath:Ljava/lang/String;
3: aload 0
aload 0
aload 1
invokevirtual org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.extractMatchAllRemainingPathSegmentsVariable:(Ljava/lang/String;)Ljava/lang/String;
putfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.matchAllRemainingPathSegmentsVariable:Ljava/lang/String;
4: aload 0
aload 2
putfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.httpMethod:Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;
5: aload 0
aload 3
putfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.consumes:Ljava/util/Collection;
6: aload 0
aload 4
putfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.produces:Ljava/util/Collection;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
0 8 1 path Ljava/lang/String;
0 8 2 httpMethod Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;
0 8 3 consumes Ljava/util/Collection<Ljava/lang/String;>;
0 8 4 produces Ljava/util/Collection<Ljava/lang/String;>;
Signature: (Ljava/lang/String;Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;Ljava/util/Collection<Ljava/lang/String;>;Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
path
httpMethod
consumes
produces
private java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.PATH_VAR_PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2
start local 2 1: aload 2
ldc "$1*}"
invokevirtual java.util.regex.Matcher.replaceAll:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
0 2 1 path Ljava/lang/String;
1 2 2 matcher Ljava/util/regex/Matcher;
MethodParameters:
Name Flags
path
private java.lang.String extractMatchAllRemainingPathSegmentsVariable(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.ALL_REMAINING_PATH_SEGMENTS_VAR_PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2
start local 2 1: aload 2
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 2
aload 2
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
goto 3
StackMap locals: java.util.regex.Matcher
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
0 4 1 path Ljava/lang/String;
1 4 2 matcher Ljava/util/regex/Matcher;
MethodParameters:
Name Flags
path
public java.lang.String getPath();
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.boot.actuate.endpoint.web.WebOperationRequestPredicate.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
public java.lang.String getMatchAllRemainingPathSegmentsVariable();
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.boot.actuate.endpoint.web.WebOperationRequestPredicate.matchAllRemainingPathSegmentsVariable:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
public org.springframework.boot.actuate.endpoint.web.WebEndpointHttpMethod getHttpMethod();
descriptor: ()Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.httpMethod:Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
public java.util.Collection<java.lang.String> getConsumes();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.consumes:Ljava/util/Collection;
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
public java.util.Collection<java.lang.String> getProduces();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.produces:Ljava/util/Collection;
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate
astore 2
start local 2 5: iconst_1
istore 3
start local 3 6: iload 3
ifeq 7
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.consumes:Ljava/util/Collection;
aload 2
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.consumes:Ljava/util/Collection;
invokeinterface java.util.Collection.equals:(Ljava/lang/Object;)Z
ifeq 7
iconst_1
goto 8
StackMap locals: org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 3
9: iload 3
ifeq 10
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.httpMethod:Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;
aload 2
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.httpMethod:Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;
if_acmpne 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 3
12: iload 3
ifeq 13
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.canonicalPath:Ljava/lang/String;
aload 2
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.canonicalPath:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 3
15: iload 3
ifeq 16
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.produces:Ljava/util/Collection;
aload 2
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.produces:Ljava/util/Collection;
invokeinterface java.util.Collection.equals:(Ljava/lang/Object;)Z
ifeq 16
iconst_1
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 3
18: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
0 19 1 obj Ljava/lang/Object;
5 19 2 other Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
6 19 3 result Z
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.consumes:Ljava/util/Collection;
invokeinterface java.util.Collection.hashCode:()I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.httpMethod:Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;
invokevirtual org.springframework.boot.actuate.endpoint.web.WebEndpointHttpMethod.hashCode:()I
iadd
istore 1
3: bipush 31
iload 1
imul
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.canonicalPath:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.produces:Ljava/util/Collection;
invokeinterface java.util.Collection.hashCode:()I
iadd
istore 1
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
1 6 1 result I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.httpMethod:Lorg/springframework/boot/actuate/endpoint/web/WebEndpointHttpMethod;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to path '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.path: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;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.consumes:Ljava/util/Collection;
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifne 3
2: aload 1
ldc " consumes: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.consumes:Ljava/util/Collection;
invokestatic org.springframework.util.StringUtils.collectionToCommaDelimitedString:(Ljava/util/Collection;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.produces:Ljava/util/Collection;
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifne 5
4: aload 1
ldc " produces: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate.produces:Ljava/util/Collection;
invokestatic org.springframework.util.StringUtils.collectionToCommaDelimitedString:(Ljava/util/Collection;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/actuate/endpoint/web/WebOperationRequestPredicate;
1 6 1 result Ljava/lang/StringBuilder;
}
SourceFile: "WebOperationRequestPredicate.java"