* @param moduleName this is the module name
* @param nature this is the nature
*/
public static void removeInfoForModule(String moduleName, IPythonNature nature, boolean isFullBuild) {
if (moduleName != null && nature != null) {
AbstractAdditionalDependencyInfo info;
try {
info = AdditionalProjectInterpreterInfo.getAdditionalInfoForProject(nature);
} catch (MisconfigurationException e) {
Log.log(e);
return;
}
boolean generateDelta;
if (isFullBuild) {
generateDelta = false;
} else {
generateDelta = true;
}
info.removeInfoFromModule(moduleName, generateDelta);
} else {
if (DebugSettings.DEBUG_ANALYSIS_REQUESTS) {
Log.toLogFile("Unable to remove info. name: " + moduleName + " or nature:" + nature + " is null.",
AnalysisBuilderRunnableForRemove.class);
}