In the Java computer programming language, an annotation is a form of syntactic metadata that can be added to Java source code . … Like Javadoc tags, Java annotations can be read from source files. Unlike Javadoc tags, Java annotations can also be embedded in and read from Java class files generated by the Java compiler.
Read more