String (@NotNull String annoText) { int at = annoText.indexOf('@'); int paren = annoText.indexOf('('); String qualified = PsiNameHelper.getQualifiedClassName(annoText.substring(at + 1, paren > 0 ? paren : annoText.length()), true); return StringUtil.getShortName(qualified); }