Querying Class Information at Runtime using Java Reflection API