首页 | 本学科首页   官方微博 | 高级检索  
     

AOP程序控制流图的生成方法
引用本文:冯斌,赵建军,李楠.AOP程序控制流图的生成方法[J].计算机应用与软件,2008,25(5):137-139.
作者姓名:冯斌  赵建军  李楠
作者单位:1. 上海交通大学软件学院,上海,200240
2. 上海交通大学计算机系,上海,200240
摘    要:面向方面编程AOP(Aspect Oriented Programming)为开发者提供了一种机制来描述横切关注点.它能够自动地将横切关注点织入到面向对象的软件系统中,从而实现了横切关注点的模块化.然而AOP这种对横切关注点封装、织入的独特性为分析程序结构带来了困难,对传统的程序分析技术提出了新课题.通过分析AOP程序的特殊性,提出了基于AspectJ构造AOP程序控制流图的方法.该方案可以为AOP程序的理解、验证、测试以及重构提供控制流分析平台.

关 键 词:面向方面编程  AspectJ  控制流图  方法调用图  类层次结构图
修稿时间:2006年7月24日

THE CONSTRUCTION OF CONTROL FLOW GRAPH FOR AOP PROGRAMS
Feng bin,Zhao Jian-jun,Li Nan.THE CONSTRUCTION OF CONTROL FLOW GRAPH FOR AOP PROGRAMS[J].Computer Applications and Software,2008,25(5):137-139.
Authors:Feng bin  Zhao Jian-jun  Li Nan
Affiliation:Feng bin1 Zhao Jianjun2 Li Nan11(School of Software,Shanghai Jiaotong University,Shanghai 200240,China)2(Department of Computer,China)
Abstract:AOP(Aspect Oriented Programming)provides programmers a mechanism to encapsulate crosscutting concerns,which can be woven into Object-Oriented system automatically.This brand new programming methodology improves modularity of OO programs a lot,but the unique separation of aspect codes also introduces difficulties in analyzing AO programs,for technologies now available can not be applied to AOP programs directly.In this paper a new way to construct CFG(Control Flow Graph) for AO programs based on AspectJ is i...
Keywords:AOP AspectJ CFG Call Graph Class hierarchy graph  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号