首页    期刊浏览 2024年11月30日 星期六
登录注册

文章基本信息

  • 标题:A Case Study of Development of a Java Bytecode Analyzer Framework Using AspectJ
  • 作者:Susumu Yamazaki ; Michihiro Matsumoto ; Tsuneo Nakanishi
  • 期刊名称:IPSJ Digital Courier
  • 电子版ISSN:1349-7456
  • 出版年度:2005
  • 卷号:1
  • 页码:104-116
  • DOI:10.2197/ipsjdc.1.104
  • 出版社:Information Processing Society of Japan
  • 摘要:Aspect-orientation is a new programming paradigm that can localize a cross-cutting concern in a single module. This paper proposes a new type of Java bytecode analyzer framework based on aspect-orientation. It includes several new design and implementation techniques that are general or specific to the domain of language systems. We also observe that aspect-orientation improves extensibility, type safety, execution efficiency, and simplicity of the API, when compared with existing analyzer frameworks based on object-orientation such as Soot. This paper reports the following: structural extension of elementary objects maintaining type safety and execution efficiency; separation of a bytecode parser and concrete instruction sets; a visitor based on the stack-machine model; binary operations that are simple, extensive, and easy to maintain; and separation of nonfunctional concerns such as verification. We also observe that AspectJ currently has two limitations: it is not sufficiently expressive to structure aspects strongly depending on the inner structure; and it does not provide a general approach to write advice that cannot be described with information of its pointcut only.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有