Title :
Using B to Verify the Weaving of Aspects
Author :
Thuan, Truong Ninh ; Ha, Nguyen Viet
Author_Institution :
Vietnam Nat. Univ., Hanoi
Abstract :
Aspect J is an aspect-oriented extension of the Java language that enables a modular implementation of crosscutting concerns. Despite this, aspects lack support for formal specification and verification. This paper expresses the base class and some related aspects of Aspect J model in B notation. It aims to benefit from proof obligations generated by B tools to ensure the correctness of Aspect J component composition. Static crosscuts of aspects are guaranteed by proof obligations of relation clauses between B abstract machines and dynamic crosscuts are proved by proof obligations of B refinement machines. This approach is illustrated by verifying a simple example.
Keywords :
Java; finite automata; formal specification; program compilers; program verification; AspectJ; B abstract machines; B notation; Java language; Static crosscuts; aspect-oriented extension; crosscutting concerns; formal specification; formal verification; relation clauses; Availability; Educational institutions; Formal specifications; Java; Maintenance engineering; Natural languages; Q factor; Scattering; Software engineering; Weaving;
Conference_Titel :
Software Engineering Conference, 2007. APSEC 2007. 14th Asia-Pacific
Conference_Location :
Aichi
Print_ISBN :
0-7695-3057-5
DOI :
10.1109/ASPEC.2007.61