- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
AnnaBot A Static Verifier for Java Annotation Usage英文文献资料
HindawiPublishingCorporation
AdvancesinSoftwareEngineering
Volume2010,ArticleID540547,7pages
doi:10.1155/2010/540547
ResearchArticle
AnnaBot:AStaticVeri?erforJavaAnnotationUsage
IanDarwin
874810SideroadAdjala,RR1,Palgrave,ON,CanadaL0N1P0
CorrespondenceshouldbeaddressedtoIanDarwin,ian@
Received16June2009;Accepted9November2009
AcademicEditor:PhillipLaplante
Copyright?2010IanDarwin.ThisisanopenaccessarticledistributedundertheCreativeCommonsAttributionLicense,which
permitsunrestricteduse,distribution,andreproductioninanymedium,providedtheoriginalworkisproperlycited.
ThispaperdescribesAnnaBot,oneofthe?rsttoolstoverifycorrectuseofAnnotation-basedmetadataintheJavaprogramming
language.TheseAnnotationsareastandardJava5mechanismusedtoattachmetadatatotypes,methods,or?eldswithoutusing
anexternalcon?guration?le.AbinaryrepresentationoftheAnnotationbecomespartofthecompiled“.class”?le,forinspection
byanothercomponentorlibraryatruntime.JavaAnnotationswereintroducedintotheJavalanguagein2004andhavebecome
widelyusedinrecentyearsduetotheirintroductionintheJavaEnterpriseEdition5,theHibernateobject-relationalmapping
API,theSpringFramework,andelsewhere.Despitethat,mainstreamdevelopmenttoolshavenotyetproducedawidely-used
veri?cationtooltocon?rmcorrectcon?gurationandplacementofannotationsexternaltotheparticularruntimecomponent.
WhilemostoftheexamplesinthispaperusetheJavaPersistenceAPI,AnnaBotiscapableofverifyinganyannotation-basedAPI
forwhich“claims”—descriptionofannotationusage—areavailable.TheseclaimscanbewritteninJavaorusingaproposed
Domain-Speci?cLanguage,whichhasbeendesignedandaparser(butnotthecodegenerator)havebeenwritten.
1.Introduction
sign(@).Forexample,hereisaclasswithbothacompiletime
annotationandaruntimeannotation
1.1. Java Annotations. Java Annotations were introduced
intothelanguagein2004[1]andhavebecomewidelyused
inrecentyears,especiallysincetheirintroductionintheJava
EnterpriseEdition.Manyopensourceprojectsincludingthe
Spring [2] and Seam [1] Frameworks, and the Hibernate
a
您可能关注的文档
- Analysis of Carbon Nanotubes on the Mechanical Properties at Atomic Scale英文文献资料.doc
- Analysis of correlated mutations, stalk motifs, and phylogenetic relationship of the 2009 influenza A virus neuraminidase sequences英文文献资料.doc
- Analysis of CNT Bundle and Its Comparison with Copper Interconnect for CMOS and CNFET Drivers英文文献资料.doc
- Analysis of an Impulsive Predator-Prey System with Monod-Haldane Functional Response and Seasonal Effects英文文献资料.doc
- Analysis of cotton water productivity in Fergana Valley of Central Asia英文文献资料.doc
- Analysis of Cocaine and Crack Cocaine via Thin Layer Chromatography Coupled to Easy Ambient Sonic-Spray Ionization Mass Spectrometry英文文献资料.doc
- Analysis of Cr Atoms Three-Dimensional Deposition Characteristics英文文献资料.doc
- Analysis of daily activity data from implanted cardiac defibrillators The minimum clinically important difference and relationship to mortalitylife expectancy英文文献资料.doc
- Analysis of Crack Propagation Path on the Anisotropic Bi-Material Rock英文文献资料.doc
- Analysis of Degenerative Discs in Lumbar Spondylolisthesis Using MRI T2 Mapping英文文献资料.doc
- Angioscopic Observation After Coronary Angioplasty for Chronic Coronary Occlusion Comparison With Severe Stenotic Lesion英文文献资料.doc
- Annealing Effect on Photovoltaic Performance of CdSe Quantum-Dots-Sensitized TiO2 Nanorod Solar Cells英文文献资料.doc
- Annealing Effect on the Solid State and Optical Properties of αFe2O3 Thin Films Deposited Using the Aqueous Chemical Growth (ACG) Method英文文献资料.doc
- Annealing Effects on Electrical Properties and Interfacial Reactions of NiCu Schottky Rectifiers on n-Type InP英文文献资料.doc
- Animal Supply and Logistics Activities of Abattoir Chain in Developing Countries The Case of Kumasi Abattoir, Ghana英文文献资料.doc
- Annealing Kinetic Model Using Fast and Slow Metastable Defects for Hydrogenated-Amorphous-Silicon-Based Solar Cells英文文献资料.doc
- Annihilators of nilpotent elements英文文献资料.doc
- Announcement from Editorial Board英文文献资料.doc
- Annual Variation of Local Photon Emissions’ Spectral Power within the mHz Range Overlaps with Seismic-Atmospheric Acoustic Oscillations英文文献资料.doc
- Anodic Behavior of Zn-Al-Be Alloys in NaCl Solution and the Influence of Be on Structure英文文献资料.doc
最近下载
- 康悦百万医疗保险C款介绍.pptx VIP
- 中国人寿.北京大学-中高净值家庭资产配置和保险保障白皮书.pdf
- Unit 2 Different families Part A Let’s learn & Listen and do(说课稿)-2024-2025学年人教PEP版(2024)英语三年级上册.docx
- 4D打印的应用、原理及发展前景.ppt VIP
- 22J403-1 楼梯 栏杆 栏板(一) (3).pdf VIP
- 青岛版(五四制)(2024)小学科学三年级上册《制作“冰琥珀”》教案.docx VIP
- 超低能耗建筑的增量成本与经济效益分析.pdf VIP
- 贵州省房屋建筑和市政工程标准施工招标文件(2021年版)【模板】.docx VIP
- 跨文化交际:中英文化对比 (13).ppt VIP
- 17J008 挡土墙(重力式、衡重式、悬臂式)(最新).pdf VIP
文档评论(0)