added additional java docs.