class Conversions {

    private final IExpressionContext context;


    public Conversions(final IExpressionContext context) {
        super();
        Validate.notNull(context, "Context cannot be null");
        this.context = context;
    }




    public Object convert(final Object target, final String className) {<FILL_FUNCTION_BODY>}


    public Object convert(final Object target, final Class<?> clazz) {

        final IStandardConversionService conversionService =
                StandardExpressions.getConversionService(this.context.getConfiguration());
        return conversionService.convert(this.context, target, clazz);
    }


}


        try {
            final Class<?> clazz = ClassLoaderUtils.loadClass(className);
            return convert(target, clazz);
        } catch (final ClassNotFoundException e) {
            try {
                final Class<?> clazz = ClassLoaderUtils.loadClass("java.lang." + className);
                return convert(target, clazz);
            } catch (final ClassNotFoundException ex) {
                throw new IllegalArgumentException("Cannot convert to class '" + className + "'", e);
            }
        }

    
<no_super_class>