void (@NotNull PsiPatternVariable variable) { super.visitPatternVariable(variable); if (myLanguageLevel.isAtLeast(LanguageLevel.JDK_20_PREVIEW) && variable.getPattern() instanceof PsiDeconstructionPattern) { String message = JavaErrorBundle.message("identifier.is.not.allowed.here"); add(HighlightInfo.newHighlightInfo(HighlightInfoType.ERROR).range(variable).descriptionAndTooltip(message)); } }