{"title":"Advise Weaving in Énfasis","authors":"U. Juárez-Martínez, G. Alor-Hernández","doi":"10.1109/CERMA.2010.92","DOIUrl":null,"url":null,"abstract":"This paper describes the implementation of advice weaving in Énfasis. Énfasis is a domain-specific framework designed to program fine-grained aspects and apply crosscutting on local variables. Applications of fine-grained aspects include data flow analysis, program comprehension, assertions, code coverage, among others. The Énfasis framework uses byte code instrumentation to weave statically pieces of advice. We describe how Énfasis join points are mapped to specific regions of byte code, how to implement advice, and how to expose the point cut context without using arguments between point cuts and pieces of advice, a novel capability in our framework not available in Aspect J-like languages.","PeriodicalId":119218,"journal":{"name":"2010 IEEE Electronics, Robotics and Automotive Mechanics Conference","volume":"75 5","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-09-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 IEEE Electronics, Robotics and Automotive Mechanics Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CERMA.2010.92","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This paper describes the implementation of advice weaving in Énfasis. Énfasis is a domain-specific framework designed to program fine-grained aspects and apply crosscutting on local variables. Applications of fine-grained aspects include data flow analysis, program comprehension, assertions, code coverage, among others. The Énfasis framework uses byte code instrumentation to weave statically pieces of advice. We describe how Énfasis join points are mapped to specific regions of byte code, how to implement advice, and how to expose the point cut context without using arguments between point cuts and pieces of advice, a novel capability in our framework not available in Aspect J-like languages.