Adding java docs