boolean () { final DependencyValidationManager validationManager = DependencyValidationManager.getInstance(myProject); if (validationManager.skipImportStatements() != mySkipImports.isSelected()) return true; final List<DependencyRule> rules = new ArrayList<>(); rules.addAll(myDenyRulesModel.getItems()); rules.addAll(myAllowRulesModel.getItems()); return !Arrays.asList(validationManager.getAllRules()).equals(rules); }