void () { myShellcheckDownloadLink = new ActionLink(ShBundle.message("sh.shellcheck.download.label.text"), e -> { ShShellcheckUtil.download(myProject, () -> myShellcheckSelector.setText(ShSettings.getShellcheckPath()), () -> myErrorLabel.setVisible(true)); EditorNotifications.getInstance(myProject).updateAllNotifications(); }); myInspectionsCheckboxPanel = new MultipleCheckboxOptionsPanel(new OptionAccessor() { @Override public boolean getOption(String optionName) { return myDisabledInspections.contains(optionName); } @Override public void setOption(String optionName, boolean optionValue) { myInspectionsChangeListener.accept(optionName, optionValue); } }); }