Sdk sdk = ModuleRootManager.getInstance(module).getSdk();
if (sdk == null) return null;
String homePath = sdk.getHomePath();
if (homePath == null) return null;
InspectionProfile profile = InspectionProjectProfileManager.getInstance(file.getProject()).getInspectionProfile();
HighlightDisplayKey key = HighlightDisplayKey.find(ErlangDialyzerInspection.INSPECTION_SHORT_NAME);
if (!profile.isToolEnabled(key)) return null;
String workingDir = file.getProject().getBasePath();
String dialyzerPath = homePath + "/bin/dialyzer" + (SystemInfo.isWindows ? ".exe" : "");
String currentPltPath = DialyzerSettings.getInstance(file.getProject()).getCurrentPltPath();