public static JavaMethod getMethod(final Class declaringClass, final Method method) {
    return getMethod(declaringClass, new JavaMethodSignature(method));
  }
public static JavaMethod getMethod(final Class declaringClass, final Method method)