PsiAnnotationMemberValue (@NotNull PsiAnnotation annotation, @NlsSafe @Nullable String attributeName, boolean declared) { PsiAnnotationMemberValue declaredValue = findDeclaredDetachedValue(annotation, attributeName); if (declaredValue != null) return declaredValue; if (declared) return null; return annotation.findAttributeValue(attributeName); }