boolean (PsiAnnotation annotation) { PsiNameValuePair attribute = AnnotationUtil.findDeclaredAttribute(annotation, "enabled"); final PsiAnnotationMemberValue attributeValue = attribute != null ? attribute.getDetachedValue() : null; return attributeValue != null && attributeValue.textMatches("false"); }