From 1ebaea9eb06223e7c258ce5aed86b8586ba6b29b Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Mon, 1 Nov 2010 06:55:23 +0000 Subject: [PATCH] Add answer provided by Georgios Gousios. --- doc/faq.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/faq.xml b/doc/faq.xml index 6e0289b..70f04d8 100644 --- a/doc/faq.xml +++ b/doc/faq.xml @@ -225,4 +225,13 @@ You can work around it, by increasing the width and height values appearing in the SVG XML file that pic2plot generates.

How can I instruct UMLGraph to include private fields in its output?

You need to pass the -private flag to javadoc. +Note that +when processing code that includes annotations +defined by libraries outside the core J2SE distribution, +it is a good idea to include the library jars to the classpath. +Otherwise, javadoc (and concequently UMLGraph) +will fail to process the input classes correctly. +This is a known issue with javadoc, +but only manifests in certain occasions when running UMLGraph, +for example when processing private class fields.