boolean () { for (PsiAnnotationMemberValue value : values) { if (value instanceof PsiExpression) { Object evaluated = JavaConstantExpressionEvaluator.computeConstantExpression((PsiExpression)value, null, false); if (evaluated instanceof Integer && ((Integer)evaluated).intValue() == 0) { return true; } } } return false; }