public Object apply(EntryElement input) {
Class<?> elementType;
try {
elementType = Class.forName(input.getType());
} catch (ClassNotFoundException e) {
throw new ComputationException(e);
}
try {
Constructor<?> constructor = elementType.getConstructor(String.class);
return constructor.newInstance(input.getValue());
} catch (Exception e) {
ReflectionUtils.handleReflectionException(e);
throw new ComputationException(e);
}
}