Added java docs