boolean (@NotNull String constraintName, @NotNull List<? extends PsiElement> nodes, boolean completePattern, boolean target) { if (nodes.isEmpty()) { return isApplicableConstraint(constraintName, (PsiElement)null, completePattern, target); } boolean result = true; for (PsiElement node : nodes) { result &= isApplicableConstraint(constraintName, node, completePattern, target); } return result; }