PsiExpression (final PsiManager psiManager, @NonNls String text) { try { return JavaPsiFacade.getElementFactory(psiManager.getProject()).createExpressionFromText(text, null); } catch (IncorrectOperationException e) { LOG.error(e); return null; } }