void (@NotNull PyDoubleStarPattern starPattern) { PsiElement parent = starPattern.getParent(); if (!(parent instanceof PyMappingPattern)) { markError(starPattern, PyPsiBundle.message("ANN.patterns.double.star.pattern.cannot.be.used.outside.mapping.patterns")); } }