List<String> (@NotNull PsiAnnotation annotation, @NlsSafe @NotNull String attributeName, boolean declared) { PsiAnnotationMemberValue value = findDetachedAttributeValue(annotation, attributeName, declared); if (value == null) return Collections.emptyList(); return getArrayValue(value, AnnotationUtil::getStringAttributeValue); }