boolean (@NotNull Boolean extVal) { ExcludedFiles excludedFiles = mySettings.getExcludedFiles(); if (extVal) { excludedFiles.clear(); } else { excludedFiles.setDescriptors(Collections.singletonList(new AnyFileDescriptor())); } return true; }