Coffee mug reflections part 1

You might not be that hardcore programmer to be a fan of it, but you certainly have at least heard about Java reflections.

This technology is available since Java 1.3 and it help us to do something extremely cute and, in some cases, tremendously useful.
It allows us to inspect the contents about classes and objects, without really know what class or object we’re handling. In fact that’s what it does: I don’t know you, so I ask you to tell me how you’re done.

I don’t like overwhelming theories, facts count, and as far as you understood the previous paragraph, you’re ready to read some examples. Let’s start with the very basics.

Read more of this post

Follow

Get every new post delivered to your Inbox.