Java (5) annotation
•
Java
@
1、 Understanding of annotations
2、 Annotation application example
1. Example 1: generate document related annotations
2. Example 2: format checking at compile time (three basic annotations built into JDK)
3. Example 3: track code dependencies and implement the function of replacing configuration files
3、 Custom annotation
4、 Meta annotation in JDK
1. Understand
2. Meta annotation
5、 Using reflection to obtain annotation information
(to be supplemented later)
6、 New annotation features in jdk8 (understand)
1. Repeatable annotation
2. Annotations available for types
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码