public class ExecutorMethodSignatureMatcher extends java.lang.Object implements ExecutorMatcher
ExecutorMatcher
matches using a mapping from classes to methods to a StringMatcher
for the descriptor. Use if only certain method overloads are supported.Modifier and Type | Class and Description |
---|---|
static class |
ExecutorMethodSignatureMatcher.Builder
Builds an
ExecutorMethodSignatureMatcher . |
Constructor and Description |
---|
ExecutorMethodSignatureMatcher(java.util.Map<java.lang.String,java.util.Map<java.lang.String,StringMatcher>> methodMatchers) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(MethodSignature signature)
Returns whether a method matches.
|
public ExecutorMethodSignatureMatcher(java.util.Map<java.lang.String,java.util.Map<java.lang.String,StringMatcher>> methodMatchers)
public boolean matches(MethodSignature signature)
ExecutorMatcher
matches
in interface ExecutorMatcher
signature
- The method signature.