code: public static MethodMetadata build(Method method) {
          return new MethodMetadata(method.getName(), method.getDeclaringClass(), method,
              method.getParameterTypes());
      }
docs: 根据method构建method元数据
  @param method method
  @return method元数据