class BasenamePrefixProcessor implements PrefixProcessor {

    @Override
    public String process(String inputPrefix, NameGenerationRequest request) {
        if (nonNull(request) && isNotBlank(request.getOriginalName())) {
            return inputPrefix.replace("[BASENAME]", request.getOriginalName());
        }
        return inputPrefix;
    }

}