private static @Nullable PsiType eraseFreeTypeParameters(@Nullable PsiType psiType, @NotNull PsiMember member) {
    final PsiClass containingClass = member.getContainingClass();
    return eraseFreeTypeParameters(psiType, containingClass);
  }
private static @Nullable PsiType eraseFreeTypeParameters(@Nullable PsiType psiType, @NotNull PsiMember member)