Tagged articles
Meta‑annotations
11 articles · Page 1 of 1
This article explains the fundamentals of Java annotations, their core purposes, built‑in annotations, meta‑annotations, and provides step‑by‑step practical examples for creating a runtime @Sensitive annotation and a compile‑time @AutoGetter processor, while also dissecting how Spring leverages annotations for component scanning, dependency injection, and request mapping.
Annotation ProcessorAnnotationsJava
0 likes · 27 min read

This article explains Java meta‑annotations—@Target, @Retention, @Documented, and @Inherited—detailing their purposes, possible values, and providing code examples to show how they control annotation scope, lifecycle, documentation inclusion, and inheritance in Java programs.
AnnotationsBackendJava
0 likes · 5 min read

This article explains what Java annotations are, their underlying nature as interfaces extending Annotation, the various meta‑annotations such as @Retention and @Target, how retention policies affect availability, and demonstrates how to parse SOURCE‑retention annotations using a custom AbstractProcessor with complete code examples.
Annotation ProcessingAnnotationsBackend
0 likes · 12 min read

This article provides a comprehensive overview of Java annotations—including built‑in, meta‑ and custom annotations—explains how they are used with reflection, describes class loading and ClassLoader mechanisms, and demonstrates how to obtain generic and annotation information at runtime using the Reflection API.
Meta‑annotations
0 likes · 19 min read

This article provides a comprehensive guide to Java annotations, covering built‑in annotations, meta‑annotations, retention policies, repeatable annotations, and how to create and apply custom annotations with reflection and AOP for practical use cases.
AnnotationsCustom AnnotationsJava
0 likes · 22 min read

This article provides an in‑depth overview of Java annotations, covering their definition, common applications, built‑in standard annotations, meta‑annotations, functional interfaces, and step‑by‑step instructions for creating and using custom annotations with complete code examples.
AnnotationsCustom AnnotationsJava
0 likes · 8 min read

Java annotations, introduced in Java 5, provide a metadata mechanism to associate information with program elements, enabling documentation generation, compile‑time checks, and runtime processing; this guide explains their purpose, underlying principles, meta‑annotations, common built‑in annotations, and demonstrates how to define and use custom annotations with full code examples.
AnnotationsCustom AnnotationsJava
0 likes · 12 min read

This article explains Java annotations introduced in Java 5, covering their purpose, usage, built‑in meta‑annotations, retention policies, target elements, and provides step‑by‑step examples of defining and applying custom annotations with accompanying code and output.
AnnotationsCustom AnnotationJava
0 likes · 11 min read

This guide explains Java's annotation feature, covering its definition, common uses, meta‑annotations, retention policies, target elements, and provides a complete example that demonstrates custom annotations for field initialization and validation using reflection.
AnnotationsBackendJava
0 likes · 9 min read

This article explains the purpose and mechanics of Java annotations introduced in JDK 5, describes the five standard annotations, details the four meta‑annotations (@Target, @Retention, @Inherited, @Documented), and provides step‑by‑step guidance on defining, using, and processing custom annotations with reflection.
AnnotationsCustom AnnotationJava
0 likes · 13 min read

This article explains Java annotations—what they are, how they work, their common uses such as documentation generation and compile‑time checks, the four built‑in meta‑annotations, standard annotations like @Override, and how to create and apply custom annotations with a complete code example.
AnnotationsCustom AnnotationJava
0 likes · 7 min read
