From dougo@ccs.neu.edu Thu Sep 14 02:46:53 2000 X-UIDL: a1ebe40e8f701cb6ce4054bd2546bfa4 Return-Path: Received: from vega.ccs.neu.edu (dougo@vega.ccs.neu.edu [129.10.116.206]) by amber.ccs.neu.edu (8.10.0.Beta10/8.10.0.Beta10) with ESMTP id e8E6kpL13410; Thu, 14 Sep 2000 02:46:51 -0400 (EDT) Received: (from dougo@localhost) by vega.ccs.neu.edu (8.10.0.Beta10/8.10.0.Beta10) id e8E6koS14367; Thu, 14 Sep 2000 02:46:50 -0400 (EDT) From: Doug Orleans Message-ID: <14784.29785.876052.4186@vega.ccs.neu.edu> Date: Thu, 14 Sep 2000 02:46:49 -0400 (EDT) To: Karl Lieberherr cc: dougo@ccs.neu.edu Subject: Re: DJ documentation In-Reply-To: <200009140452.e8E4q8024857@denali.ccs.neu.edu> References: <200009140452.e8E4q8024857@denali.ccs.neu.edu> X-Mailer: VM 6.72 under 21.1 (patch 3) "Acadia" XEmacs Lucid X-Face: (4D-osoq?}7M3\EgvbWKo Hi Doug: > > ClassGraph(boolean fields, boolean methods); // public fields/methods only > > What is the best way to construct the class graph? ClassGraph(false, true). I lean towards (true, false), and then you can add derived edges by hand with addConstructionEdge, although if you have a lot of them (or if you have generated all the accessor methods, e.g. with Demeter/Java) I guess it's easier to do (false, true)-- that's probably a lot slower, though. Note to self: need to add removeConstructionEdge... > Which methods will be in the class graph? Where is this documented? I've updated the javadoc at http://www.ccs.neu.edu/home/dougo/dj/ (I will move this to the Demeter page when it's done.) Here's the documentation of that constructor: Make a class graph from all classes in the default package. If f is true, include all fields; if m is true, include all non-void no-argument methods. Does that need to be explained in more detail? --Doug