public static boolean start ( RootDoc root ) { root . printNotice ( "UmlGraphDoc version " + Version . VERSION + ", running the standard doclet" ) ; Standard . start ( root ) ; root . printNotice ( "UmlGraphDoc version " + Version . VERSION + ", altering javadocs" ) ; try { String outputFolder = findOutputPath ( root . options ( ) ) ; Options opt = UmlGraph . buildOptions ( root ) ; opt . setOptions ( root . options ( ) ) ; // in javadoc enumerations are always printed opt . showEnumerations = true ; opt . relativeLinksForSourcePackages = true ; // enable strict matching for hide expressions opt . strictMatching = true ; // root.printNotice(opt.toString()); generatePackageDiagrams ( root , opt , outputFolder ) ; generateContextDiagrams ( root , opt , outputFolder ) ; } catch ( Throwable t ) { root . printWarning ( "Error: " + t . toString ( ) ) ; t . printStackTrace ( ) ; return false ; } return true ; }
Standard doclet entry point