code: public static List<Object> stringToClasses(String str, String separator) {
          ArrayList<Object> tmp = new ArrayList<Object>();
          StringTokenizer stringTokenizer = new StringTokenizer(str, separator);
          while (stringTokenizer.hasMoreTokens()) {
              Object obj = getClassForName(stringTokenizer.nextToken());
              if (obj != null) {
                  tmp.add(obj);
              }
          }
          return tmp;
      }
docs: Parses a string of class names separated by separator into a list of objects.
  
  @param str       names of classes
  @param separator separator characters
  @return ArrayList of class instances