private static PsiType convertToPsiType(@NlsSafe String type, @NotNull PsiElement place) {
    return JavaPsiFacade.getElementFactory(place.getProject()).createTypeFromText(type, place);
  }
private static PsiType convertToPsiType(@NlsSafe String type, @NotNull PsiElement place)