TEZ-1430. Javadoc generation should not generate docs for classes annotated as private. (Jonathan Eagles via hitesh)

(cherry picked from commit 89d36629f5c5994da71106770b1fd1adfce7a71f)