An annotation indicates that the declared element should be processed in some special way by a compiler, development tool, deployment tool, or during runtime.
Information for the compiler — Annotations can be used by the compiler to detect errors or suppress warnings.
Compiler-time and deployment-time processing — Software tools can process annotation information to generate code, XML files, and so forth.
Runtime processing — Some annotations are available to be examined at runtime.
http://docs.oracle.com/javase/tutorial/java/javaOO/annotations.html
Saturday, December 3, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment