class DefaultRepoInitFactory {

    RepoInitParser newParser() {
        if (parserClazz != null) {
            try {
                return parserClazz.getConstructor().newInstance();
            } catch (Exception e) {
                LOGGER.warn("failed to construct instance of " + parserClazz.getName(), e);
            }
        }
        return null;
    }

      DefaultRepoInitFactory(final @Nullable Class<? extends RepoInitParser> parserClazz);

}