@NotNull
  private static String getInitialMainClassName(@NotNull ApplicationConfiguration configuration) {
    return configuration.getMainClassName() != null ? configuration.getMainClassName().replaceAll("\\$", "\\.") : "";
  }
@NotNull
  private static String getInitialMainClassName(@NotNull ApplicationConfiguration configuration)