A Beginner's Guide To Annotations and Annotation Processors [Explained]by@nfrankel

A Beginner's Guide To Annotations and Annotation Processors [Explained]

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Annotation is a form of syntactic metadata that can be added to Java source code. Classes, methods, variables, parameters and Java packages may be annotated. Annotations are available since Java version 5, codenamed Tiger, and released in 2004. The most simple annotation looks like the following: An annotated class can be set on a target or an interface. Since Java 5, deprecation was set in the JavaDocs, this is a very fragile approach: the only way to leverage it is via the javadoc tool. The tool can be configured via a custom doclet.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - A Beginner's Guide To Annotations and Annotation Processors [Explained]
Nicolas Fränkel HackerNoon profile picture

@nfrankel

Nicolas Fränkel


Receive Stories from @nfrankel

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa