PyClass userPyClass = (PyClass) valueFromUser;
return processJythonType(userPyClass.__name__, interpreter);
// user gave a PyType, process as Jython class
} else if (valueFromUser instanceof PyType) {
PyType userPyType = (PyType) valueFromUser;
return processJythonType(userPyType.getName(), interpreter);
// Otherwise, don't know how to handle this, so error
} else {
throw new IllegalArgumentException("Don't know how to handle " +
valueFromUser + " of class " + valueFromUser.getClass() +