There are numerous mechanisms for separation of concerns at the source code level. Three mechanisms that are the focus of recent attention -metadata annotations, pointcuts and advice - can be modeled together with good old-fashioned procedures as providing different kinds of bindings: procedure calls bind program points to operations, annotations bind attributes to program points; pointcuts bind sets of points to various descriptions of those sets; named pointcuts bind attributes to sets of points; and advice bind the implementation of an operation to sets of points. This model clarifies how the mechanisms work together to separate concerns, and yields guidelines to help developers use the mechanisms in practice.
['Gregor Kiczales', 'Mira Mezini']
Separation of concerns with procedures, annotations, advice and pointcuts