Object () { PsiConstantEvaluationHelper evaluationHelper = JavaPsiFacade.getInstance(myElement.getProject()).getConstantEvaluationHelper(); return evaluationHelper.computeConstantExpression(myElement); }