We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/AnnaBot: A Static Verifier for Java Annotation Usage
PeriodicalsComputer Science & Information Technology

AnnaBot: A Static Verifier for Java Annotation Usage

Checking your access to this record.

Abstract & Overview

This paper describes AnnaBot, one of the first tools to verify correct use of Annotation-based metadata in the Java programming language. These Annotations are a standard Java 5 mechanism used to attach metadata to types, methods, or fields without using an external configuration file. A binary representation of the Annotation becomes part of the compiled “.class” file, for inspection by another component or library at runtime. Java Annotations were introduced into the Java language in 2004 and have become widely used in recent years due to their introduction in the Java Enterprise Edition 5, the Hibernate object-relational mapping API, the Spring Framework, and elsewhere. Despite that, mainstream development tools have not yet produced a widely-used verification tool to confirm correct configuration and placement of annotations external to the particular runtime component. While most of the examples in this paper use the Java Persistence API, AnnaBot is capable of verifying anyannotation-based API for which “claims”—description of annotation usage—are available. These claims can be written in Java or using a proposed Domain-Specific Language, which has been designed and a parser (but not the code generator) have been written.

Cite this record

Ian F. Darwin (2009). AnnaBot: A Static Verifier for Java Annotation Usage. Advances in Software Engineering, 2010, 1–7. https://doi.org/10.1155/2010/540547

Copy in another style

Darwin, I. F. (2009). AnnaBot: A Static Verifier for Java Annotation Usage. Advances in Software Engineering, 2010, 1–7. https://doi.org/10.1155/2010/540547
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.