[doc] Update javadoc and add a new style