open fun matches(method: Method): Boolean
Match the specified method by Method reference or method name.
For backwards compatibility reasons, in a scenario with overloaded non-abstract methods of the given name, only the no-arg variant of a method will be turned into a container-driven lookup method.
In case of a provided Method, only straight matches will be considered, usually demarcated by the @Lookup annotation.