Abstract: This chapter discusses how Aspect-Oriented Programming (AOP) can be put to use, by providing examples from real projects where AOP solutions are applied in order to highlight the novel AOP portions. A simple way to create a class with a selectable algorithm is by using when-inheritance and AOP. In this approach, one does not need to instantiate the correct strategy class and pass it into the object that is to use it. This allows users to dispense with the factory and a bunch of extra class types. It is common to conceptually organize a verification environment into layers, where each layer represents a particular level of abstraction or a particular functionality. AOP makes this easier by using aspects to create a layered verification environment. Debugging a complex verification environment that's stimulating a complex design is difficult. For debugging, AOP's extension, advice, and introductions allow: add trace debugging, mutate inputs, mutate outputs, modify behavior, replace behavior, add or modify constraints, and add coverage during a debug simulation. Tests are the most common, obvious, and wide reaching of all crosscutting concerns in a verification environment.
Publication Year: 2007
Publication Date: 2007-01-01
Language: en
Type: book-chapter
Indexed In: ['crossref']
Access and Citation
AI Researcher Chatbot
Get quick answers to your questions about the article from our AI researcher chatbot