code: public static String getName(String methodName, Object[] parameters) {
          int maxLength = AllureConfig.newInstance().getMaxTitleLength();
          if (methodName.length() > maxLength) {
              return cutBegin(methodName, maxLength);
          } else {
              return methodName + getParametersAsString(parameters, maxLength - methodName.length());
          }
      }
docs: Generate method in the following format: {methodName}[{param1}, {param2}, ...]. Cut a generated
  name is it over {@link ru.yandex.qatools.allure.config.AllureConfig#maxTitleLength}