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: May 14, 2019 | 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 content, steps, or illustrations may have changed.

Zone=Java development
ArticleTitle=Java programming dynamics, Part 6: Aspect-oriented changes with Javassist