private Method stringConversionMethod(Type from) {
            Compiler c = mUnit.getCompiler();

            Method[] methods = c.getStringConverterMethods();
            Type[] param = new Type[] {from};

            int cnt = MethodMatcher.match(methods, null, param);

            if (cnt >= 1) {
                return methods[0];
            }
            else {
                throw new RuntimeException("Couldn't convert " + from +
                                           " to String");
            }
        }