I'm using Javassist to get the Fields on a Class, using the following code:
for (CtField ctf : ctclass.getDeclaredFields()) {
System.out.println(ctf.getName());
}
Thus, all the variables of the class to which I am accessing, are displayed on the screen and this works well.
What I want to know is it is possible to access the value of any of these variables?
Thanks for your help!