code: public String getParameterName(Parameter parameter) {
      Name annotation = parameter.getAnnotation(Name.class);
  
      if (null == annotation) {
        return parameter.getName();
      }
  
      return annotation.value();
    }
docs: Determine annotated name of a method parameter.
  
  @param parameter The method parameter.
  @return The parameters name.