else if (last instanceof NativeObject) {
// Now see if the constructor takes a Map as the last argument.
// If so, the NativeObject will be converted to it thought
// RhinoWrapFactory. Otherwise, the NativeObject is used
// as the properties to be set on the instance after creation.
MemberBox ctor = findConstructor(cx, args);
if (ctor != null) {
Class[] types = ctor.ctor().getParameterTypes();
Class lastType = types[types.length - 1];
// Only set the property object if the constructor does
// not expect an ArgumentReader or a Map object, both
// of which NativeObject's can be converted to.
if (!ArgumentReader.class.isAssignableFrom(lastType)