public static boolean isRegisteredApplicationComponent(PsiClass psiClass, GlobalSearchScope scope) {
    return isRegisteredClass(psiClass, scope, RegistrationType.APPLICATION_COMPONENT);
  }
public static boolean isRegisteredApplicationComponent(PsiClass psiClass, GlobalSearchScope scope)