if (f[i].getType() == String.class) tgt = stringify(tgt);
// FUGLY
tgt = coerce(tgt, f[i].getType());
- //System.err.println("setting a " + f[i].getType().getName() + " to " + Reflection.show(tgt));
+ System.err.println("setting a " + f[i].getType().getName() + " to " + Reflection.show(tgt));
f[i].set(ret, tgt);
}
return ret;
if (argTypes[i] == String.class) tgt = Reflection.stringify(tgt);
// FUGLY
tgt = Reflection.coerce(tgt, argTypes[i]);
- //System.err.println("setting a " + argTypes[i].getName() + " to " + Reflection.show(tgt));
+ System.err.println("setting a " + argTypes[i].getName() + " to " + Reflection.show(tgt));
args[i] = tgt;
}
//System.err.println("invoking " + _method + " with " + Reflection.show(args));
if (argTypes[i] == String.class) tgt = Reflection.stringify(tgt);
// FUGLY
tgt = Reflection.coerce(tgt, argTypes[i]);
- //System.err.println("setting a " + argTypes[i].getName() + " to " + Reflection.show(tgt));
+ System.err.println("setting a " + argTypes[i].getName() + " to " + Reflection.show(tgt));
args[i] = tgt;
}
return _ctor.newInstance(args);