src/main/java/org/jetbrains/plugins/spotbugs/actions/AbstractToggleAction.java [40:64]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
		final Project project = IdeaUtilImpl.getProject(e.getDataContext());
		if (project == null || !project.isInitialized() || !project.isOpen()) {
			e.getPresentation().setEnabled(false);
			e.getPresentation().setVisible(false);
			return;
		}
		final ToolWindow toolWindow = ToolWindowPanel.getWindow(project);
		if (toolWindow == null || !toolWindow.isAvailable()) {
			e.getPresentation().setEnabled(false);
			e.getPresentation().setVisible(false);
			return;
		}
		final ToolWindowPanel panel = ToolWindowPanel.getInstance(toolWindow);
		if (panel == null) {
			e.getPresentation().setEnabled(false);
			e.getPresentation().setVisible(false);
			return;
		}
		final Module module = IdeaUtilImpl.getModule(e.getDataContext(), project);
		final ProjectSettings projectSettings = ProjectSettings.getInstance(project);
		AbstractSettings settings = projectSettings;
		if (module != null) {
			final ModuleSettings moduleSettings = ModuleSettings.getInstance(module);
			if (moduleSettings.overrideProjectSettings) {
				settings = moduleSettings;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/jetbrains/plugins/spotbugs/actions/AbstractToggleAction.java [137:161]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
		final Project project = IdeaUtilImpl.getProject(e.getDataContext());
		if (project == null || !project.isInitialized() || !project.isOpen()) {
			e.getPresentation().setEnabled(false);
			e.getPresentation().setVisible(false);
			return;
		}
		final ToolWindow toolWindow = ToolWindowPanel.getWindow(project);
		if (toolWindow == null || !toolWindow.isAvailable()) {
			e.getPresentation().setEnabled(false);
			e.getPresentation().setVisible(false);
			return;
		}
		final ToolWindowPanel panel = ToolWindowPanel.getInstance(toolWindow);
		if (panel == null) {
			e.getPresentation().setEnabled(false);
			e.getPresentation().setVisible(false);
			return;
		}
		final Module module = IdeaUtilImpl.getModule(e.getDataContext(), project);
		final ProjectSettings projectSettings = ProjectSettings.getInstance(project);
		AbstractSettings settings = projectSettings;
		if (module != null) {
			final ModuleSettings moduleSettings = ModuleSettings.getInstance(module);
			if (moduleSettings.overrideProjectSettings) {
				settings = moduleSettings;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



