visualization/visualization-spi-doclet/src/main/java/se/jguru/nazgul/tools/visualization/spi/doclet/VisualizationDoclet.java
@Override
    public boolean start(final RootDoc root) {

        // Check sanity
        if (this.dotFacade == null) {
            throw new IllegalStateException("The DotFacade cannot be null.");
        }

        // Wrap the received RootDoc instance.
        final VisualizationWrappedRootDoc rootDoc = new VisualizationWrappedRootDoc(root);
        htmlDoclet.configuration.root = root;

        try {
            htmlDoclet.configuration.setOptions();
        } catch (Configuration.Fault fault) {
            fault.printStackTrace();
        }

        for (ClassDoc cDoc : rootDoc.classes()) {

            // Log somewhat
            if (log.isDebugEnabled()) {
                log.debug(getJavaDocAndTagsLog(cDoc));
            }
        }

        for (PackageDoc pDoc : rootDoc.specifiedPackages()) {

            // Log somewhat
            if (log.isDebugEnabled()) {
                log.debug(getJavaDocAndTagsLog(pDoc));
            }
        }

        // Convert the DOT-generated Map and write the image.
        // dotFacade.writePngImageAndImageMap(rootDoc, theDotDiagram, outputDirectory, fileName);

        // Delegate further execution to the standard Doclet.
        return HtmlDoclet.start(root);
    }
@Override
    public boolean start(final RootDoc root) {

        // Check sanity
        if (this.dotFacade == null) {
            throw new IllegalStateException("The DotFacade cannot be null.");
        }

        // Wrap the received RootDoc instance.
        final VisualizationWrappedRootDoc rootDoc = new VisualizationWrappedRootDoc(root);
        htmlDoclet.configuration.root = root;

        try {
            htmlDoclet.configuration.setOptions();
        } catch (Configuration.Fault fault) {
            fault.printStackTrace();
        }

        for (ClassDoc cDoc : rootDoc.classes()) {

            // Log somewhat
            if (log.isDebugEnabled()) {
                log.debug(getJavaDocAndTagsLog(cDoc));
            }
        }

        for (PackageDoc pDoc : rootDoc.specifiedPackages()) {

            // Log somewhat
            if (log.isDebugEnabled()) {
                log.debug(getJavaDocAndTagsLog(pDoc));
            }
        }

        // Convert the DOT-generated Map and write the image.
        // dotFacade.writePngImageAndImageMap(rootDoc, theDotDiagram, outputDirectory, fileName);

        // Delegate further execution to the standard Doclet.
        return HtmlDoclet.start(root);
    }
{@inheritDoc}