add better javadoc link and only show it for java stuff or links with a className