Source:
<code>private static boolean verifyProjectSettings(CompilationContext context) { final HaxeModuleSettingsBase settings = context.getModuleSettings(); final String mainClass = context.getCompilationClass(); final String fileName = context.getOutputFileName(); boolean requiresHaxelib = false; if (settings.isUseUserPropertiesToBuild()) { <START> if ( !verifyNonEmptyString(mainClass, context, "no.main.class.for.module") <END> || !verifyNonEmptyString(fileName, context, "no.output.file.name.for.module") || !verifyTargetIsSet(context.getHaxeTarget(), context)) { return false; } } else if (settings.isUseHxmlToBuild()) { if ( !verifyTargetIsSet(context.getHaxeTarget(), context) || !verifyNonEmptyString(settings.getHxmlPath(), context, "no.project.file.for.module")) { return false; } } else if (settings.isUseNmmlToBuild()) { requiresHaxelib = true; if ( !verifyTargetIsSet(settings.getNmeTarget(), context) || !verifyNonEmptyString(settings.getNmmlPath(), context, "no.project.file.for.module")) { return false; } } else if (settings.isUseOpenFLToBuild()) { requiresHaxelib = true; if ( !verifyTargetIsSet(settings.getOpenFLTarget(), context) || !verifyNonEmptyString(settings.getOpenFLPath(), context, "no.project.file.for.module")) { return false; } } else { context.errorHandler(HaxeCommonBundle.message("error.unknown.project.settings.type.for.module.0", context.getModuleName())); } if (!verifyNonEmptyString(context.getSdkHomePath(), context, "no.sdk.for.module") || !verifyNonEmptyString(HaxeSdkUtilBase.getCompilerPathByFolderPath(context.getSdkHomePath()), context, "invalid.haxe.sdk.for.module")) { return false; } if ( requiresHaxelib && ( !verifyNonEmptyString(context.getNekoBinPath(), context, "no.nekopath.for.sdk") || !verifyNonEmptyString(context.getHaxelibPath(), context, "no.haxelib.for.sdk"))) { return false; } return true; }</code><technical_language>great</technical_language>

Target:
private static boolean verifyProjectSettings(CompilationContext context) { final HaxeModuleSettingsBase settings = context.getModuleSettings(); final String mainClass = context.getCompilationClass(); final String fileName = context.getOutputFileName(); boolean requiresHaxelib = false; boolean err = false; if (settings.isUseUserPropertiesToBuild()) { err |= !verifyNonEmptyString(mainClass, context, "no.main.class.for.module"); err |= !verifyNonEmptyString(fileName, context, "no.output.file.name.for.module"); err |= !verifyTargetIsSet(context.getHaxeTarget(), context); } else if (settings.isUseHxmlToBuild()) { err |= !verifyTargetIsSet(context.getHaxeTarget(), context); err |= !verifyNonEmptyString(settings.getHxmlPath(), context, "no.project.file.for.module"); } else if (settings.isUseNmmlToBuild()) { requiresHaxelib = true; err |= !verifyTargetIsSet(settings.getNmeTarget(), context); err |= !verifyNonEmptyString(settings.getNmmlPath(), context, "no.project.file.for.module"); } else if (settings.isUseOpenFLToBuild()) { requiresHaxelib = true; err |= !verifyTargetIsSet(settings.getOpenFLTarget(), context); err |= !verifyNonEmptyString(settings.getOpenFLPath(), context, "no.project.file.for.module"); } else { err |= true; context.errorHandler(HaxeCommonBundle.message("error.unknown.project.settings.type.for.module.0", context.getModuleName())); } err |= !verifyNonEmptyString(context.getSdkHomePath(), context, "no.sdk.for.module"); err |= !verifyNonEmptyString(HaxeSdkUtilBase.getCompilerPathByFolderPath(context.getSdkHomePath()), context, "invalid.haxe.sdk.for.module"); if ( requiresHaxelib ) { err |= !verifyNonEmptyString(context.getNekoBinPath(), context, "no.nekopath.for.sdk"); err |= !verifyNonEmptyString(context.getHaxelibPath(), context, "no.haxelib.for.sdk"); } return !err; }