code: private String getMethodName(Method method) {
          StatName statName = method.getAnnotation(StatName.class);
          return statName == null ? method.getName() : statName.value();
      }
docs: Returns name for monitored method.
  
  @param method the monitored {@link Method}
  @return the method name or custom name provided via {@link StatName} annotation