code: public static boolean isString( Class clazz ) {
        return clazz != null
              && (String.class.isAssignableFrom( clazz ) || (Character.TYPE.isAssignableFrom( clazz ) || Character.class.isAssignableFrom( clazz )));
     }
docs: Tests if Class represents a String or a char