code: private static String getStatisticsName(Method m)
     {
        StringBuilder sb = new StringBuilder();
        sb.append(m.getName());
        sb.append('(');
        Class<?>[] types = m.getParameterTypes();
        if (types != null)
        {
           boolean first = true;
           for (Class<?> type : types)
           {
              if (first)
              {
                 first = false;
              }
              else
              {
                 sb.append(", ");
              }
              sb.append(type.getSimpleName());
           }
        }
        sb.append(')');
        return sb.toString();
     }
docs: Gives the name of the statistics from the given {@link Method}