287288289290291292293294
private ModuleDetector createModuleDetector(final File workspace) { if (shouldDetectModules) { return new ModuleDetector(workspace); } else { return new NullModuleDetector(); } }