%0 Journal Article
%T An Equivalence Proving in Formal Method for Aspect-Oriented Refactory
面向方面软件重构等价性形式化证明方法
%A CHEN Sheng-Qing
%A ZHANG Li-Cheng
%A CHEN Guang-Ming
%A
陈生庆
%A 张立臣
%A 陈广明
%J 计算机科学
%D 2006
%I
%X Refactoring is that you make small changes to your code to improve your design,making it easier to understand and maintrained without to change program behaviours.Aspect Oriented Programming(AOP)is a new technology for software development.In order to explore the benefits of refactoring aspect-oriented developers are identifying common transformations for aspect-oriented programs the laws proof.However,they lack support for assuring that the transformations observation behaviour and are indeed refactorings because there is not formal semantics in the AOP language that we have used.In this paper,an operational semantics for Method Call Interception(MCI)is extented to fit in with represent AOP featurs.An equivalence relation stating that two programs have the same observation behaviour is defined;the paper presents a formal model for the semantics of AspectJ.We use these concepts and discuss exactness for its laws in formal mothed MCI.The observation equivalence proving of Add Before-executing law can be used in other law.In conclusion,we show how it is possible to prove that an new aspect-oriented program by refactoring is equivalent its Object Oriented prototype
%K MCI
%K AspectJ
重构
%K 面向方面编程
%K 形式化方法
%K 等价性
%U http://www.alljournals.cn/get_abstract_url.aspx?pcid=5B3AB970F71A803DEACDC0559115BFCF0A068CD97DD29835&cid=8240383F08CE46C8B05036380D75B607&jid=64A12D73428C8B8DBFB978D04DFEB3C1&aid=0A962D418A5B2C2C&yid=37904DC365DD7266&vid=27746BCEEE58E9DC&iid=DF92D298D3FF1E6E&sid=4290346F7268639E&eid=4D7D059FFBF006B9&journal_id=1002-137X&journal_name=计算机科学&referenced_num=0&reference_num=14