if (moduleDef != null) {
return moduleDef;
}
ModuleDefLoader loader = new ModuleDefLoader(compilerContext, resources);
PrecompileTaskOptions options = compilerContext.getOptions();
boolean mergePathPrefixes = !(options.warnMissingDeps()
|| compilerContext.getOptions().warnOverlappingSource()
|| compilerContext.getOptions().getMissingDepsFile() != null);
ModuleDef module = ModuleDefLoader.doLoadModule(loader, logger, moduleName, resources,
compilerContext.shouldCompileMonolithic(), mergePathPrefixes);