<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Annotations on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/annotations/</link><description>Recent content in Annotations on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 04 Dec 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/annotations/index.xml" rel="self" type="application/rss+xml"/><item><title>Chapter 12: Inspecting Code: Reflection &amp;amp; Annotations</title><link>https://ai-blog.noorshomelab.dev/java-mastery-2025/chapter-12-reflection-annotations/</link><pubDate>Thu, 04 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/java-mastery-2025/chapter-12-reflection-annotations/</guid><description>&lt;p&gt;Welcome back, aspiring Java master! So far, we&amp;rsquo;ve learned how to write Java code that tells the computer exactly what to do. We&amp;rsquo;ve defined classes, created objects, and controlled their behavior. But what if your code needed to &lt;em&gt;look at itself&lt;/em&gt;? What if it needed to understand its own structure, or even change its behavior, while it&amp;rsquo;s running? Sounds a bit like magic, right?&lt;/p&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;re going to pull back the curtain on two incredibly powerful, yet often misunderstood, Java features: &lt;strong&gt;Reflection&lt;/strong&gt; and &lt;strong&gt;Annotations&lt;/strong&gt;. These tools allow your programs to inspect and manipulate their own structure, and to attach useful metadata directly to your code. They are the backbone of many advanced Java frameworks (like Spring, Hibernate, and JUnit), enabling features like dependency injection, object-relational mapping, and sophisticated testing. Get ready to give your Java applications X-ray vision and sticky notes!&lt;/p&gt;</description></item></channel></rss>