abstract fun matches(method: Method, @Nullable targetClass: Class<*>, hasIntroductions: Boolean): Boolean
Perform static checking whether the given method matches. This may be invoked instead of the 2-arg #matches(java.lang.reflect.Method, Class) method if the caller supports the extended IntroductionAwareMethodMatcher interface.
targetClass - the target class (may be null, in which case the candidate class must be taken to be the method's declaring class)
hasIntroductions - true if the object on whose behalf we are asking is the subject on one or more introductions; false otherwise
Return
whether or not this method matches statically