Object (PsiElement expression, boolean throwExceptionOnOverflow) { return expression instanceof PsiExpression ? JavaConstantExpressionEvaluator.computeConstantExpression((PsiExpression)expression, throwExceptionOnOverflow) : null; }