/** * Convert an array of fully qualified class names into an array of Class objects * @param parameterClassNames * @return */ protected final Class[] getParameters(String[] parameterClassNames) { if(parameterClassNames == null) { return new Class[0]; } Vector<Class> classes = new Vector<Class>(); Iterator<String> classNames = new ArrayListIterator(parameterClassNames); while(classNames.hasNext()) { classes.add(getClass(classNames.next(), "parameter")); } return classes.toArray(new Class[classes.size()]); }