question: public static void drawToPng ( final File dest , final AnnotatedTypeMirror type ) { try { final File dotFile = File . createTempFile ( dest . getName ( ) , ".dot" ) ; drawToDot ( dotFile , type ) ; execDotToPng ( dotFile , dest ) ; } catch ( Exception exc ) { throw new RuntimeException ( exc ) ; } }
target:  Draws a dot file for type in a temporary directory then calls the "dot" program to convert that file into a png at the location dest.  This method will fail if a temp file can't be created.