I'm sure lots of people have looked at this. Think of, for example, all of
the static compilers for Java. Of course, you can't absolutely know the full
set of classes that will be used, because the class could dynamically load
other classes using the reflection api.

God bless,
-Toby Reyelts


----- Original Message -----
From: "Laurent Therond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 10:59 PM
Subject: Question about BCEL and class closure


Hi,

I was wondering if anyone tried to compute a full class closure using BCEL.

I mean: Given a class file, produce a list of all classes used by the
corresponding class, including classes used in declarations of local
variables (within methods) and classes used in declarations of local
variables (within methods) of any parent class or any class associated by
composition.

I have seen a lot of code that computes partial class closures, but nothing
as complete as a real class closure.

Does anyone know if that would be possible?
Does anyone have source code showing how this could be done using BCEL?

Regards,

Laurent


--
To unsubscribe, e-mail:   <mailto:bcel-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:bcel-user-help@;jakarta.apache.org>

Reply via email to