List<TypeConstraint> (@NotNull GrExpression expression) { final PsiElement parent = expression.getParent(); if (parent instanceof GrListOrMap list) { if (!list.isMap()) { final PsiType listType = list.getType(); if (!(listType instanceof GrTupleType)) { return Collections.emptyList(); } return addExpectedConstructorParameters(list, expression); } } return Collections.emptyList(); }