open fun matches(clazz: Class<*>): Boolean
Subclasses can override this for greater filtering (and performance).
open fun matches(method: Method, @Nullable targetClass: Class<*>): Boolean
Subclasses can override this if it's possible to filter out some candidate classes.
open fun matches(method: Method, @Nullable targetClass: Class<*>, vararg args: Any): Boolean