public static void addTypeCast(Project project, PsiExpression originalExpression, PsiType type) {
    PsiExpression typeCast = createCastExpression(originalExpression, project, type);
    originalExpression.replace(Objects.requireNonNull(typeCast));
  }
public static void addTypeCast(Project project, PsiExpression originalExpression, PsiType type)