boolean (@NotNull Project project, String value) { if (StringUtil.startsWithChar(value, '#')) { value = value.substring(1); // A favor for JetBrains team to catch common Logger usage practice. } return JavaPsiFacade.getInstance(project).findClass(value, GlobalSearchScope.allScope(project)) != null || ClassUtil.findPsiClassByJVMName(PsiManager.getInstance(project), value) != null; }