public static PsiType getType(@NotNull PsiTypeElement typeElement, @NotNull PsiElement anchor) {
    return getType(typeElement, anchor, null);
  }
public static PsiType getType(@NotNull PsiTypeElement typeElement, @NotNull PsiElement anchor)