Hi there,
I'm Marouane a Java developer with 7+ years experience...
Look, as I'm seeing the description, it's not big deal, no need to waste time, I have already implemented what you need, two Class, ReflectClass that do the work, with a constructor taking the type parameter, and a second class MainClass, to start a test, with the main method, taking argument from the command line, and create a ReflectClass instance with that type parameter, and then show what was asked for.
If you may please give me an email address, I could send you two classes, test and confirm if it respond to your requirement, only after accept my bid :) .(There is no way to attach files when bidding, I could have attached it).
Looking forward to hearing from you,
Thank you.
Faithfully yours,
Marouane,