Tag

Meta‑annotations

0 views collected around this technical thread.

Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 1, 2024 · Fundamentals

Understanding Java Meta-Annotations: @Target, @Retention, @Documented, and @Inherited

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.

AnnotationsJavaMeta‑annotations
0 likes · 5 min read
Understanding Java Meta-Annotations: @Target, @Retention, @Documented, and @Inherited
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 18, 2024 · Fundamentals

Understanding Java Annotations: Definition, Essence, Details, and Parsing SOURCE‑Retention Annotations

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.

AnnotationsJavaMeta‑annotations
0 likes · 12 min read
Understanding Java Annotations: Definition, Essence, Details, and Parsing SOURCE‑Retention Annotations
Java Captain
Java Captain
Jan 31, 2024 · Fundamentals

Java Annotations and Reflection: Built‑in Annotations, Meta‑annotations, Custom Annotations, Class Loading, and Reflection API

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.

AnnotationsClassLoaderJava
0 likes · 19 min read
Java Annotations and Reflection: Built‑in Annotations, Meta‑annotations, Custom Annotations, Class Loading, and Reflection API
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 23, 2024 · Backend Development

Understanding Java Annotations: Types, Usage, and Implementation

This article provides a comprehensive overview of Java annotations, covering their definition, common applications, classification into standard, meta, and custom annotations, detailed examples of built‑in annotations such as @Override, @Deprecated, @SuppressWarnings, and guidance on creating and using custom annotations with code snippets.

AnnotationsBackend DevelopmentJava
0 likes · 8 min read
Understanding Java Annotations: Types, Usage, and Implementation
Architecture & Thinking
Architecture & Thinking
Jul 19, 2022 · Backend Development

Master Java Annotations: From Basics to Custom Usage

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.

AnnotationsJavaMeta‑annotations
0 likes · 22 min read
Master Java Annotations: From Basics to Custom Usage
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Mar 6, 2022 · Fundamentals

Comprehensive Guide to Java Annotations (Detailed)

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.

AnnotationsJavaMeta‑annotations
0 likes · 8 min read
Comprehensive Guide to Java Annotations (Detailed)
Selected Java Interview Questions
Selected Java Interview Questions
May 11, 2021 · Fundamentals

Understanding Java Annotations: Concepts, Uses, Meta‑Annotations, and Custom Examples

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
Understanding Java Annotations: Concepts, Uses, Meta‑Annotations, and Custom Examples
Java Captain
Java Captain
Oct 3, 2018 · Fundamentals

Understanding Java Annotations and Meta‑Annotations: Principles, Built‑in Annotations, and Custom Annotation Creation

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
Understanding Java Annotations and Meta‑Annotations: Principles, Built‑in Annotations, and Custom Annotation Creation
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 13, 2018 · Backend Development

What Are Annotations in Java? Definition, Uses, Meta‑Annotations, and Custom Annotation Example

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
What Are Annotations in Java? Definition, Uses, Meta‑Annotations, and Custom Annotation Example