void (@NotNull PsiTypeTestPattern pattern) { final PsiTypeTestPattern other = myMatchingVisitor.getElement(PsiTypeTestPattern.class); final PsiPatternVariable variable = pattern.getPatternVariable(); myMatchingVisitor.setResult(myMatchingVisitor.matchOptionally(variable, other.getPatternVariable())); }