concept situation in category aspectj

appears as: situation, situations, situation
AspectJ in Action, Second Edition

This is an excerpt from Manning's book AspectJ in Action, Second Edition.

CSS is a widely supported mechanism to separate content from presentation in HTML pages. Without CSS, formatting information is fused with content (causing tangling), and similar content elements have presentational information spread into multiple places (causing scattering). CSS helps the situation by letting the main document focus on content by separating the formatting information into a document called a stylesheet.

Consider a situation where you need to apply the read-write lock pattern, which needs a lock per object. Ideally, you’d like to create a reusable aspect given that the pattern itself is reusable. The per-object association feature provides a mechanism to associate a new aspect instance with each execution or target object. In the following snippet, a new aspect instance is associated with each new execution object using perthis(), which matches the abstract access() pointcut (see chapter 13 for a complete example of this pattern implemented using AspectJ):