This post originated from an RSS feed registered with Java Buzz
by justin cater.
Original Post: How to use Reflection effectively
Feed Title: Java Code Geeks
Feed URL: http://feeds.feedburner.com/JavaCodeGeeks
Feed Description: Java 2 Java Developers Resource Center
In this lesson we are going to look at a very interesting subject called reflection. Reflection is the ability of the program to examine or introspect itself at runtime. Reflection is an extremely useful and powerful feature which significantly expands the capabilities of the program to perform its own inspections, modifications or transformations during its execution, without a single line of code change.
We will discuss the Reflection API, how to access generic type parameters, method handles and method argument names, and some of the pitfalls of reflection!