String (@NotNull String prefix, @Nullable String suffix, @Nullable String text, @NotNull String replacement) { final StringBuilder sb = new StringBuilder(); sb.append(prefix); if (text != null && text.length() > 0) { sb.append(text); sb.append(" "); } sb.append(replacement); if (suffix != null) sb.append(suffix); return sb.toString(); }