PsiElement (@Nullable GrExpression expr, @Nullable GrVariable var, @Nullable StringPartInfo stringPartInfo) { if (var != null) return var; if (expr != null) return expr; if (stringPartInfo != null) return stringPartInfo.getLiteral(); throw new IncorrectOperationException(); }