>>>>> "Jean" == Jean Morissette <[EMAIL PROTECTED]> writes:

  Jean> Hi all, I need to analyse a class (dynamically during
  Jean> classloading or runtime, or statically with .java or .class)
  Jean> to identify, for all methods of this class, if a method read
  Jean> or update a class field.  How to achieve that? Is there some
  Jean> projects that already achieve that?  What are my options?

I've done this as part of the JAC project: http://jac.objectweb.org/

You may have a look at the fillRTTI method of WrappeeTranslator_BCEL
(see
http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/jac/jac/src/org/objectweb/jac/core/translators/WrappeeTranslator_BCEL.java)

Regards,
Laurent

-- 
Laurent Martelli
[EMAIL PROTECTED]                                Java Aspect Components
http://www.aopsys.com/                          http://jac.objectweb.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to