Collection<PsiClass> (@NotNull Module module, @NotNull String annotationName) { GlobalSearchScope scope = moduleWithDependenciesAndLibrariesScope(module, false); PsiClass psiClass = JavaPsiFacade.getInstance(module.getProject()).findClass(annotationName, scope); if (psiClass == null || !psiClass.isAnnotationType()) { return emptyList(); } return getChildren(psiClass, scope); }