List<PsiLiteralExpression> () { List<PsiLiteralExpression> result = new ArrayList<>(); if (mySuppressedExpression != null) { result.add(mySuppressedExpression); return result; } PsiAnnotationParameterList list = myTarget.getParameterList(); PsiNameValuePair[] attributes = list.getAttributes(); for (PsiNameValuePair attribute : attributes) { PsiAnnotationMemberValue value = attribute.getValue(); if (value instanceof PsiArrayInitializerMemberValue) { PsiAnnotationMemberValue[] initializers = ((PsiArrayInitializerMemberValue)value).getInitializers(); for (PsiAnnotationMemberValue initializer : initializers) { if (initializer instanceof PsiLiteralExpression) { result.add((PsiLiteralExpression)initializer); } } } } return result; }