private static @NotNull PsiAnchor createAnchor(final @NotNull PsiElement element) {
    return ReadAction.compute(() -> PsiAnchor.create(element));
  }
private static @NotNull PsiAnchor createAnchor(final @NotNull PsiElement element)