public @Nullable PsiClass resolvePsiClass(@NotNull CompilerRef.NamedCompilerRef aClass) {
    int nameId = aClass.getName();

    if (myQualifierClassResolver.containsKey(nameId)) {
      return myQualifierClassResolver.get(nameId);
    }
    else {
      PsiClass psiClass = null;
      String name = myRefService.getName(nameId);
      JavaPsiFacade facade = JavaPsiFacade.getInstance(getProject());
      PsiClass resolvedClass = DumbService.getInstance(myProject).computeWithAlternativeResolveEnabled(() -> facade.findClass(name, myResolveScope));
      if (resolvedClass != null && accessValidator().test(resolvedClass)) {
        psiClass = resolvedClass;
      }
      myQualifierClassResolver.put(nameId, psiClass);
      return psiClass;
    }
  }
public @Nullable PsiClass resolvePsiClass(@NotNull CompilerRef.NamedCompilerRef aClass)