code: public static String cleanNameForJavaEnum(String enumConstant) {
  		if (!StringUtils.hasText(enumConstant)) {
  			return enumConstant;
  		}
  
  		List<String> nameGroups = new ArrayList<>(asList(splitByCharacterTypeCamelCase(enumConstant)));
  
  		nameGroups.removeIf(s -> containsOnly(s.replaceAll(ILLEGAL_CHARACTER_REGEX, "_"), "_"));
  
  		String enumName = upperCase(join(nameGroups, "_"));
  		if (isEmpty(enumName)) {
  			enumName = "_DEFAULT_";
  		} else if (Character.isDigit(enumName.charAt(0))) {
  			enumName = "_" + enumName;
  		}
  
  		return filterKeywords(enumName);
  	}
docs: Cleans a string with characters that are not valid as a java identifier
  enum
  
  @param enumConstant
  The string to clean
  @return cleaned string