Re: Analysis of methods
Laurent Martelli <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Organization | AOPSYS |
| Message-ID | <[email protected]> |
>>>>> "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