Add Java Docs for the utility