boolean (@NotNull PsiElement element) { final PsiElement parent = element.getParent(); if (!(parent instanceof GrArgumentLabel)) return false; if (((GrArgumentLabel)parent).getNameElement() != element) return false; final PsiElement grandParent = parent.getParent(); if (grandParent == null) return false; final PsiElement grandGrandParent = grandParent.getParent(); if (!(grandGrandParent instanceof GrListOrMap map)) return false; return !ErrorUtil.containsError(map) && map.getInitializers().length == 0 && isLiteralKeys(map.getNamedArguments()); }