void (@NotNull PsiElement element) { collectNode(element, element.getUserData(CompiledPattern.HANDLER_KEY)); super.visitElement(element); if (element instanceof LeafElement) { collectNode(element, pattern.getHandler(pattern.getTypedVarString(element))); } }