adding java docs