code: public static Class<?>[] toTypeArray(String[] s) throws ClassNotFoundException {
          if (s == null)
              return null;
          Class<?>[] c = new Class[s.length];
          for (int i = 0; i < s.length; i++) {
              c[i] = forName(s[i]);
          }
          return c;
      }
docs: Converts an array of Class names to Class types.
  @param s  The array of class names
  @return An array of Class instance where the element at index i in the
  result is an instance of the class with the name at index i in
  the input
  @throws ClassNotFoundException If a class of a given name cannot be found