String (@NotNull PsiElement psiElement) { //Annotation attribute methods don't have parameters. if (psiElement instanceof PsiMethod && PsiUtil.isAnnotationMethod(psiElement)) { return ((PsiMethod)psiElement).getName(); } return HighlightMessageUtil.getSymbolName(psiElement); }