Content deleted Content added
Clarification of the introductory paragraph |
|||
Line 1:
In [[computer programming]],
Annotations have a number of uses; the most visible among them are:
Java annotations can be added to program elements such as classes, methods, fields, parameters, local variables, and packages. Unlike tags added to Java documentation and processed with tools such as [[XDoclet]], Java annotations are completely accessible to the programmer while the software is running using [[reflection (programming)|reflection]].▼
* Information for the compiler — used by the compiler to detect errors or suppress warnings.
* Compiler-time and deployment-time processing — annotation processor can process annotation information to generate code, XML files, and so forth.
* Runtime processing — some annotations are available to be examined at runtime.
▲
==History==
|