adding javadoc link. Closes #337