code: public Project starProject(Object projectIdOrPath) throws GitLabApiException {
          Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.CREATED);
          Response response = post(expectedStatus, (Form) null, "projects", getProjectIdOrPath(projectIdOrPath), "star");
          return (response.readEntity(Project.class));
      }
docs: Star a project.
  
  <pre><code>POST /projects/:id/star</code></pre>
  
  @param projectIdOrPath id, path of the project, or a Project instance holding the project ID or path
  @return a Project instance with the new project info
  @throws GitLabApiException if any exception occurs