<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Metaprogramming on BradCypert.com</title>
    <link>https://www.bradcypert.com/tags/metaprogramming/</link>
    <description>Recent content in Metaprogramming on BradCypert.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 27 Dec 2022 22:25:45 -0500</lastBuildDate>
    <atom:link href="https://www.bradcypert.com/tags/metaprogramming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Intro to Reflection in Java</title>
      <link>https://www.bradcypert.com/intro-to-reflection-in-java/</link>
      <pubDate>Wed, 16 Sep 2015 00:00:00 +0000</pubDate>
      <guid>https://www.bradcypert.com/intro-to-reflection-in-java/</guid>
      <description>&lt;p&gt;Recently, I began exploring an interesting idea I had – creating a RESTful framework built on top of Spark. Now, Spark is naturally restful, but I basically want the user to be able to define an object, flag it as a resource, and compile their code. They should then have &lt;code&gt;GET&lt;/code&gt;, &lt;code&gt;POST&lt;/code&gt;, &lt;code&gt;PUT&lt;/code&gt;, and &lt;code&gt;DELETE&lt;/code&gt; verbs available on that object. Sounds relatively trivial right?&lt;/p&gt;&#xA;&lt;p&gt;There are actually several ways to do this, but the simplest way (once I was able to wrap my head around it) involves metaprogramming, and specifically reflection. These can be naturally scary words, but it’s important to keep in mind, they’re both just programming.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
