void (@NotNull PySingleStarPattern starPattern) { PsiElement parent = starPattern.getParent(); if (!(parent instanceof PySequencePattern)) { markError(starPattern, PyPsiBundle.message("ANN.patterns.single.star.pattern.cannot.be.used.outside.sequence.patterns")); } }