common-cli: improve java docs