Deriving Refactorings for AspectJ: An approach to refactoring aspect-oriented applications using composed programming laws (Paperback)

Leonardo Cole, Paulo Borba

  • 出版商: VDM Verlag
  • 出版日期: 2011-01-23
  • 售價: $2,100
  • 貴賓價: 9.5$1,995
  • 語言: 英文
  • 頁數: 100
  • 裝訂: Paperback
  • ISBN: 3639325613
  • ISBN-13: 9783639325614
  • 相關分類: Amazon Web ServicesRefactoring
  • 無法訂購

相關主題

商品描述

Refactoring is a well known software development technique that can bring several bene?ts to aspect- oriented applications by allowing developers to introduce aspects to an existing object-oriented program as well as changing the aspect-oriented program itself. Aspect-oriented developers have been identifying common transformations, but they sometimes lack support for assuring that the transformations preserve behavior and are indeed refactorings. This book focuses on that problem and introduces AspectJ programming laws that can be used to derive or create behavior preserving transformations (refactorings) for a subset of this language. Programming laws de?ne equivalence between two programs, given that some conditions are met. By applying and composing these laws, one can show that a transformation involving AspectJ is a refactoring. This book shows how these laws can be used to derive several refactorings proposed in other literature. This helps to more precisely specify the preconditions and code changes associated with those refactorings, and gives more con?dence that they will preserve behavior.

商品描述(中文翻譯)

重構是一種廣為人知的軟體開發技術,能為面向方面的應用程式帶來多項好處,因為它允許開發者將方面引入現有的物件導向程式中,並且改變面向方面的程式本身。面向方面的開發者一直在識別常見的轉換,但有時缺乏支持以確保這些轉換能夠保持行為不變,並且確實是重構。這本書專注於這個問題,並介紹了可以用來推導或創建保持行為不變的轉換(重構)的 AspectJ 程式設計法則,這些法則適用於該語言的一個子集。程式設計法則定義了兩個程式之間的等價性,前提是滿足某些條件。透過應用和組合這些法則,可以證明涉及 AspectJ 的轉換是一種重構。本書展示了這些法則如何用來推導其他文獻中提出的幾種重構,這有助於更精確地指定與這些重構相關的前提條件和程式碼變更,並增強它們保持行為不變的信心。