public static boolean isTypeString(final String str){
  if (str.length() > 0) {
    final char first=str.charAt(0);
    if (Character.isUpperCase(first)) {
      for (      final String ts : TYPESTRINGS) {
        if (str.contains(ts)) {
          return true;
        }
      }
    }
  }
  return false;
}

public static boolean isTypeString ( final String str ) { if ( str . length ( ) > 0 ) { final char first = str . charAt ( 0 ) ; if ( Character . isUpperCase ( first ) ) { for ( final String ts : TYPESTRINGS ) { if ( str . contains ( ts ) ) { return true ; } } } } return false ; }
check if the given string contains a type string specifier .
