code: public Method getMethod(Method method) {
          return getMethod(method.getReturnType(), method.getName(), method.getParameterTypes());
      }
docs: Get the canonical method declared on this object.
  
  @param method the method to look up
  @return the canonical method object, or {@code null} if no matching method exists