The Daily Bugs

A web developer's daily life

Archive / September 2013

September 28, 2013

Handling Java Generic Types with Reflection

When declaring a class or an interface as being parameterizable, or when a subclass extends that parameterizable class, we come into cases where we need to access the information of those generic parameters, this is where Java Reflection comes in handy. This tutorial will introduce ReflectionUtil, a utility class that uses java.lang.reflect standard library. It …

Read More