String (@NotNull String fieldName) { if (fieldName.startsWith("SPACE_WITHIN")) { return fieldName.replace("SPACE_WITHIN", "SPACES_WITHIN"); } else if (fieldName.startsWith("SPACE_AROUND")) { return fieldName.replace("SPACE_AROUND", "SPACES_AROUND"); } return fieldName; }