}
final Map<String, URL> umlDiagrams = generateUmlDiagrams(docComment);
Options options = new Options() {
@Override
protected ToHtmlSerializer createDocletSerializer() {
return new DocletSerializer(this, getLinkRenderer()) {
@Override
protected void printImageTag(SuperNode imageNode, String url) {
URL diagram = umlDiagrams.get(url);
if ( diagram != null ) {
super.printImageTag(imageNode, diagram.toString());