PsiAnnotation (@NotNull final String qualifiedName) { for (PsiModifierList sublist : mySublists) { final PsiAnnotation annotation = sublist.findAnnotation(qualifiedName); if (annotation != null) return annotation; } return null; }