public abstract class DynamicMethodMatcher extends Object implements MethodMatcher
TRUE| Constructor and Description | 
|---|
DynamicMethodMatcher()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isRuntime()
Is this MethodMatcher dynamic, that is, must a final call be made on the
  
MethodMatcher.matches(java.lang.reflect.Method, Class, Object[]) method at
 runtime even if the 2-arg matches method returns true? | 
boolean | 
matches(Method method,
       Class<?> targetClass)
Can override to add preconditions for dynamic matching. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatchespublic final boolean isRuntime()
MethodMatcherMethodMatcher.matches(java.lang.reflect.Method, Class, Object[]) method at
 runtime even if the 2-arg matches method returns true?
 Can be invoked when an AOP proxy is created, and need not be invoked again before each method invocation,
isRuntime in interface MethodMatcherMethodMatcher.matches(java.lang.reflect.Method, Class, Object[]) method
 is required if static matching passedpublic boolean matches(Method method, Class<?> targetClass)
matches in interface MethodMatchermethod - the candidate methodtargetClass - the target class (may be null, in which case
 the candidate class must be taken to be the method's declaring class)