A design discipline and language features for modular reasoning in aspect-oriented programs

dc.contributor.author Clifton, Curtis
dc.contributor.department Department of Computer Science
dc.date 2018-02-14T00:23:36.000
dc.date.accessioned 2020-06-30T01:56:29Z
dc.date.available 2020-06-30T01:56:29Z
dc.date.issued 2005-07-01
dc.description.abstract <p>Aspect-oriented programming lets programmers modularize concerns that are orthogonal to the main decomposition of a program. To do this, aspect-oriented programming includes modules called aspects that may modify the behavior, or advise, code in the main decomposition. Aspect-oriented programming also allows aspects to declaratively specify what code should be advised. This means that a whole-program search is required to find all the aspects that might advise a given piece of code. The problems this causes are somewhat analogous to overriding methods and polymorphic method dispatch in traditional object-oriented programming.</p> <p>In object-oriented programming, the discipline of behavioral subtyping permits reasoning about polymorphic methods even when overriding methods remain unseen. The discipline gives guidance to the author of an overriding method: the overriding method must satisfy the specification of the overridden, superclass method. If the author follows the discipline, then other programmers can reason about a method invocation based on the specification of the superclass method, even if an unseen overriding method might actually be executed.</p> <p>This dissertation describes an analogous discipline for aspect-oriented programming. The basic premise is that modular reasoning about aspect-oriented programs requires shared responsibility between the aspect author and the client programmer, whose code might be advised by the aspect.</p> <p>To mediate this sharing, this dissertation proposes that aspects be categorized into two sorts: �spectators� and �assistants�. Spectators are statically restricted to not modify the behavior of the code that they advise. Because of their restricted behavior, spectators may remain unseen by the client programmer. The burden is on the aspect programmer to ensure that spectators satisfy their restrictions. Unlike spectators, assistants are not restricted in their behavior. The burden of reasoning about their effects falls to the client programmer. To do this, the client programmer must be able to identify all applicable assistants. Thus, assistants must be explicitly accepted by the advised code. This discipline allows modular reasoning, permits the use of existing aspect-oriented idioms, and appears to be practical and statically verifiable. A formal study demonstrates that the restrictions on spectators may be statically checked.</p>
dc.identifier archive/lib.dr.iastate.edu/cs_techreports/296/
dc.identifier.articleid 1277
dc.identifier.contextkey 5493592
dc.identifier.s3bucket isulib-bepress-aws-west
dc.identifier.submissionpath cs_techreports/296
dc.identifier.uri https://dr.lib.iastate.edu/handle/20.500.12876/20123
dc.source.bitstream archive/lib.dr.iastate.edu/cs_techreports/296/thesis_TR05_15.pdf|||Fri Jan 14 23:15:17 UTC 2022
dc.subject.disciplines Programming Languages and Compilers
dc.subject.keywords MAO discipline
dc.subject.keywords MiniMAO calculus
dc.subject.keywords aspect-oriented programming
dc.subject.keywords AspectJ
dc.subject.keywords spectators
dc.subject.keywords assistants
dc.subject.keywords AspectJML
dc.subject.keywords modular reasoning
dc.title A design discipline and language features for modular reasoning in aspect-oriented programs
dc.type article
dc.type.genre article
dspace.entity.type Publication
relation.isOrgUnitOfPublication f7be4eb9-d1d0-4081-859b-b15cee251456
File
Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
thesis_TR05_15.pdf
Size:
3.18 MB
Format:
Adobe Portable Document Format
Description:
Collections