{"title":"使用AspectJ进行特性编程","authors":"S. Denier","doi":"10.3166/objet.11.3.69-86","DOIUrl":null,"url":null,"abstract":"Traits as defined by Scharli, Ducasse et al. allow for the explicit handling of a meaningful set of methods. This article presents an attempt to map the trait model from Smalltalk to the Java language. We use AspectJ introduction mechanism to do this. Thus we enlighten purposes of locality and reusability shared by traits and structural AOP.","PeriodicalId":201701,"journal":{"name":"Obj. Logiciel Base données Réseaux","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2005-09-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":"{\"title\":\"Traits Programming with AspectJ\",\"authors\":\"S. Denier\",\"doi\":\"10.3166/objet.11.3.69-86\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Traits as defined by Scharli, Ducasse et al. allow for the explicit handling of a meaningful set of methods. This article presents an attempt to map the trait model from Smalltalk to the Java language. We use AspectJ introduction mechanism to do this. Thus we enlighten purposes of locality and reusability shared by traits and structural AOP.\",\"PeriodicalId\":201701,\"journal\":{\"name\":\"Obj. Logiciel Base données Réseaux\",\"volume\":\"17 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2005-09-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"11\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Obj. Logiciel Base données Réseaux\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.3166/objet.11.3.69-86\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Obj. Logiciel Base données Réseaux","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3166/objet.11.3.69-86","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Traits as defined by Scharli, Ducasse et al. allow for the explicit handling of a meaningful set of methods. This article presents an attempt to map the trait model from Smalltalk to the Java language. We use AspectJ introduction mechanism to do this. Thus we enlighten purposes of locality and reusability shared by traits and structural AOP.