public VariableReference createObject(TestCase test, Type type, int position, int recursionDepth, VariableReference generatorRefToExclude) throws ConstructionFailedException { return createObject(test,type,position,recursionDepth,generatorRefToExclude,true,true,true); }
return createObject(test, type, position, recursionDepth + 1, generatorRefToExclude, allowNull, canUseFunctionalMocks, canReuseVariables); } else { logger.debug("Found no new generators for {}", type);
callee = createObject(test, target, position, 0, null); position += test.size() - previousLength; previousLength = test.size();
callee = createObject(test, target, position, 0, null, false, false,true); //no FM for SUT position += test.size() - previousLength; previousLength = test.size();
return createObject(test, type, position, recursionDepth, generatorRefToExclude, allowNull, canUseMocks,canReuseExistingVariables);
} else if(!var.isPrimitive()) { replacement = factory.createObject(test.getTestCase(), var.getType(), statement, 0, null);