Chapter 6. Straight to the Point

This chapter examines AspectJ’s support for writing pointcuts and matching join points. You have already seen a number of pointcut expressions in Part 1 of this book, so you know that pointcuts are built out of a set of basic building blocks with names such as “call” and “execution.” In the AspectJ language, these building blocks are known as pointcut designators. This chapter introduces the pointcut designators in the order that you are likely to need/encounter them as you start working with AspectJ. Although there may be a lot of detail here, you do not need to master it all on day one to start being productive with AspectJ, as we hope the examples in the first part of the book demonstrated.

Also in this chapter, ...

Get Eclipse AspectJ: Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.