void (@NotNull PsiInstanceOfExpression expression) { expression.getOperand().accept(this); myBuf.append(" ").append(PsiKeyword.INSTANCEOF).append(" "); final PsiTypeElement checkType = expression.getCheckType(); if (checkType != null) { myBuf.append(checkType.getText()); } final PsiPrimaryPattern pattern = expression.getPattern(); if (pattern != null) { myBuf.append(pattern.getText()); } }