String (@Nullable PsiAnnotationMemberValue targetValue) { if (targetValue instanceof PsiLiteral) { final Object value = ((PsiLiteral)targetValue).getValue(); if (value instanceof String) return (String)value; } return null; }