private static @Nullable PsiElement resolve(Project project, PsiReference reference) {
    return DumbService.getInstance(project).computeWithAlternativeResolveEnabled(reference::resolve);
  }
private static @Nullable PsiElement resolve(Project project, PsiReference reference)