code: public static <T> T asType(CharSequence self, Class<T> c) {
          return asType(self.toString(), c);
      }
docs: <p>Provides a method to perform custom 'dynamic' type conversion
  to the given class using the <code>as</code> operator.
  
  @param self a CharSequence
  @param c    the desired class
  @return the converted object
  @see #asType(String, Class)
  @since 1.8.2