void (@NotNull PsiArrayInitializerMemberValue initializer) { PsiElement parent = initializer.getParent(); while (parent instanceof PsiArrayInitializerMemberValue) { parent = parent.getParent(); } final PsiType type; if (parent instanceof PsiNameValuePair) { type = getAnnotationMethodType((PsiNameValuePair)parent); } else { type = ((PsiAnnotationMethod)parent).getReturnType(); } if (type instanceof PsiArrayType) { final PsiType componentType = ((PsiArrayType)type).getComponentType(); myResult.add(createInfoImpl(componentType, componentType)); } }