节点文献
基于Java源码的设计模式探测初探
Research of the Design Pattern Detection Based on the Java Source Code
【摘要】 设计模式探测是从源码中提取设计模式实例的过程 ,其搜索算法是探测的关键。文中分析了设计模式探测的一般步骤和搜索策略 ,通过实现从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.
【关键词】 设计模式探测;
Java;
搜索算法;
自动探测工具;
【Key words】 design pattern detection; Java; search algorithm; automatic design pattern detection tool;
【Key words】 design pattern detection; Java; search algorithm; automatic design pattern detection tool;
- 【文献出处】 计算机工程与科学 ,Computer Engineering & Science , 编辑部邮箱 ,2005年01期
- 【分类号】TP311
- 【被引频次】8
- 【下载频次】154