Martin Desruisseaux ha scritto: > Andrea Aime a écrit : >>> I suggest to avoid static fields/methods too. Static fields are often >>> enumerations or pre-defined instances of the same class. It would >>> avoid recursive arrows from a box toward the same box just because a >>> predefined constant exists. >> >> Good catch, but I already avoided static fields in my generator. >> If you see one, it's a bug. Can you point me to a sample of an arrow >> generated because of a static field? > > DefaultCoordinateSystemAxis there: > > http://www.andrea-aime.name/static/gt2-api/org/geotools/referencing/cs/package-summary.html > > > > I assumed that the recursive arrow was caused by "public static final" > fields, but there is also a "private transient" field that may be the > cause.
It definitely is. There is a solid arrow (directed association) for each field in the class, provided that the destination class is not hidden by a filter (for this diagrams the hide filter is java.*). Cheers Andrea _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel