open fun matches(method: Method, @Nullable targetClass: Class<*>): Boolean
Try to match the regular expression against the fully qualified name of the target class as well as against the method's declaring class, plus the name of the method.