Updated Java documentation