}
return psiAnnotationMemberValue.getText();
}
private List<String> annotationValuesFor(PsiAnnotation psiAnnotation) {
PsiArrayInitializerMemberValue psiArrayInitializerMemberValue = (PsiArrayInitializerMemberValue) psiAnnotation.findAttributeValue("values");
if (psiArrayInitializerMemberValue == null) {
return emptyList();
}
PsiAnnotationMemberValue[] psiAnnotationMemberValues = psiArrayInitializerMemberValue.getInitializers();
List<String> annotationValues = new ArrayList<String>();
for (PsiAnnotationMemberValue psiAnnotationMemberValue : psiAnnotationMemberValues) {
annotationValues.add(psiAnnotationMemberValue.getText());
}
return annotationValues;