MCPcopy Index your code
hub / github.com/OpenFeign/feign / matches

Method matches

core/src/main/java/feign/template/Expression.java:55–60  ·  view source on GitHub ↗

Checks if the provided value matches the variable pattern, if one is defined. Always true if no pattern is defined. @param value to check. @return true if it matches.

(String value)

Source from the content-addressed store, hash-verified

53 * @return true if it matches.
54 */
55 boolean matches(String value) {
56 if (pattern == null) {
57 return true;
58 }
59 return pattern.matcher(value).matches();
60 }
61
62 @Override
63 public String getValue() {

Callers 5

applyMethod · 0.80
createMethod · 0.80
expandMethod · 0.80
isSimpleExpressionMethod · 0.80

Calls

no outgoing calls

Tested by 1