void (@NotNull PsiComment comment) { final PsiElement other = globalVisitor.getElement(); final MatchingHandler handler = comment.getUserData(CompiledPattern.HANDLER_KEY); globalVisitor.setResult(handler instanceof LiteralWithSubstitutionHandler ? handler.match(comment, other, globalVisitor.getMatchContext()) : globalVisitor.matchText(comment, other)); }