Java programming dynamics, Part 6, Aspect-oriented changes with Javassist

Using Javassist for bytecode search-and-replace transformations

From the developerWorks archives

Dennis Sosnoski

Date archived: December 19, 2016 | First published: March 02, 2004

Java consultant Dennis Sosnoski saves the best for last in his three-part coverage of the Javassist framework. This time he shows how the Javassist search-and-replace support makes editing Java bytecode practically as easy as a text editor's Replace All command. Want to report all writes to a particular field or patch in a change to a parameter passed in a method call? Javassist makes it easy, and Dennis shows you how.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java development
ArticleID=10920
ArticleTitle=Java programming dynamics, Part 6: Aspect-oriented changes with Javassist
publish-date=03022004