public List<Comment> getComments(Object projectIdOrPath, String sha) throws GitLabApiException {
        return (getComments(projectIdOrPath, sha, getDefaultPerPage()).all());
    }
public List < Comment > getComments ( Object projectIdOrPath , String sha ) throws GitLabApiException { return ( getComments ( projectIdOrPath , sha , getDefaultPerPage ( ) ) . all ( ) ) ; }
Get the comments of a commit in a project.

<pre><code>GitLab Endpoint: GET /projects/:id/repository/commits/:sha/comments</code></pre>

@param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
@param sha a commit hash or name of a branch or tag
@return a List of Comment instances for the specified project ID/sha pair
@throws GitLabApiException GitLabApiException if any exception occurs during execution