void (@NotNull PsiParenthesizedPattern pattern) { final PsiElement parent = pattern.getParent(); if (parent instanceof PsiParenthesizedPattern) { return; } if (!ErrorUtil.containsDeepError(pattern)) { registerError(pattern); } super.visitParenthesizedPattern(pattern); }