code: private String getParameterName(AnnotatedParameter<?> parameter) {
          Parameter[] parameters = ((Method) parameter.getDeclaringCallable().getJavaMember()).getParameters();
          Parameter param = parameters[parameter.getPosition()];
          if (param.isNamePresent()) {
              return param.getName();
          }
          else {
              throw new UnsupportedOperationException("Unable to retrieve name for parameter [" + parameter + "], activate the -parameters compiler argument or annotate the injected parameter with the @Metric annotation");
          }
      }
docs: TODO: move into a separate metric name strategy