PsiElement (PsiAnnotationMemberValue value) { if (value instanceof PsiArrayInitializerMemberValue arrayInitializer) { PsiAnnotationMemberValue[] initializers = arrayInitializer.getInitializers(); if (initializers.length > 0) { return initializers[0]; } } return value; }