void (@NotNull PsiResourceExpression expression) { final PsiElement other = myMatchingVisitor.getElement(); myMatchingVisitor.setResult(other instanceof PsiResourceExpression && myMatchingVisitor.match(expression.getExpression(), ((PsiResourceExpression)other).getExpression())); }