节点文献

基于Java源码的设计模式探测初探

Research of the Design Pattern Detection Based on the Java Source Code

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 徐正权但蕾蕾

【Author】 XU Zheng-quan,DAN Lei-lei(School of Computer Science and Technology, Huazhong University of Science and Technology, Wuhan 430074, China )

【机构】 华中科技大学计算机科学与技术学院华中科技大学计算机科学与技术学院 湖北武汉430074湖北武汉430074

【摘要】 设计模式探测是从源码中提取设计模式实例的过程 ,其搜索算法是探测的关键。文中分析了设计模式探测的一般步骤和搜索策略 ,通过实现从Java源码中搜索FactoryMethod模式的算法 ,给出了设计模式自动探测工具的搜索功能实现原型。

【Abstract】 Design pattern detection is the process of identifying the design pattern instances in the existing source code. The search algorithm is the key for the detection. This paper describes the general steps and different search approaches for the design pattern detection. Using the Factory Method Pattern as a running example for detecting the design pattern instances in the Java source code, it provides a search function prototype for automatic design pattern detection tools.

  • 【文献出处】 计算机工程与科学 ,Computer Engineering & Science , 编辑部邮箱 ,2005年01期
  • 【分类号】TP311
  • 【被引频次】8
  • 【下载频次】154
节点文献中: