From owner-freebsd-java Wed Feb 27 18: 4:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id 2998437B420 for ; Wed, 27 Feb 2002 18:04:33 -0800 (PST) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id VAA05053; Wed, 27 Feb 2002 21:04:21 -0500 Date: Wed, 27 Feb 2002 21:04:21 -0500 (EST) From: Mikhail Kruk To: "Remco van 't Veer" Cc: Christopher Rued , Christopher Elkins , Jeff Dalton , Brad Cox , Subject: Re: class dependencies (Re: What is ant good for?) In-Reply-To: <20020227090154.GB76841@azrael.xs4all.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I don't know of any source level dependency checkers and I don't > expect there are any. Writing something like that is more > trouble than gain. Consider finding out all possible values of > String in a simple statement like: > > public void addClassByName (String name) > { > classes.add(Class.forName(name)); > } Even if it wasn't for the user input that's NP-complete problem :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message