public static String[] splitNameIntoWords(@NotNull String name){
  final String[] underlineDelimited=name.split("_");
  List<String> result=new ArrayList<String>();
  for (  String word : underlineDelimited) {
    addAllWords(word,result);
  }
  return ArrayUtil.toStringArray(result);
}

public static String [ ] splitNameIntoWords ( @ NotNull String name ) { final String [ ] underlineDelimited = name . split ( "_" ) ; List < String > result = new ArrayList < String > ( ) ; for ( String word : underlineDelimited ) { addAllWords ( word , result ) ; } return ArrayUtil . toStringArray ( result ) ; }
splits an identifier into words , separated with underscores or upper - case characters ( camel - case ) .
