boolean (@NotNull String constraintName, @Nullable PsiElement variableNode, boolean completePattern, boolean target) { switch (constraintName) { case UIUtil.MINIMUM_ZERO: if (target) return false; case UIUtil.MAXIMUM_UNLIMITED: case UIUtil.TEXT: case UIUtil.REFERENCE: return !completePattern; } return false; }