private String parseTypeString(String typeString){
  StringBuilder result=new StringBuilder(typeString);
  for (int i=0; i < result.length(); i++) {
    char c=result.charAt(i);
    if (!(Character.isLetter(c) || Character.isDigit(c) || c == '.')) {
      result.setCharAt(i,'_');
    }
  }
  return result.toString();
}

private String parseTypeString ( String typeString ) { StringBuilder result = new StringBuilder ( typeString ) ; for ( int i = 0 ; i < result . length ( ) ; i ++ ) { char c = result . charAt ( i ) ; if ( ! ( Character . isLetter ( c ) || Character . isDigit ( c ) || c == '.' ) ) { result . setCharAt ( i , '_' ) ; } } return result . toString ( ) ; }
performs any necessary string parsing on the input string such as converting non - alphanumeric character into underscore .
