Annotation (Annotation), also known mark, it is the meta data of the program, but also mark the program code, Java 5.0 annotations are the new features added to the main used to do some description and explanation of the elements of Java program code;
Annotation used in the package, class, the foregoing fields, methods, local variables, method parameters, etc., these elements will be described and explained;
Using the reflection function can be analyzed program code;
System-defined annotation, the program can be checked at compile time;
Using the metadata annotation can be generated corresponding document;