An
annotation is metadata. Annotations do not directly affect program
semantics, but they do affect the way programs are treated by tools
and libraries, which can in turn affect the semantics of the running
program. Annotations can be read from source files, class files, or
reflectively at run time.
You
can access annotations of a class, method, field, parameters at run
time using reflections.
No comments:
Post a Comment