Getting the value of a constant
<p>I have a Java EE project in which I have many calls to function which is receiving a string and this string is stored in a constant which is not necessarily defined in the same file, it is sometimes defined in a separate constants class. I need to go over all the classes in the project and retrieve the values of those constants. What would be smart way to do this? 
I thought about using reflection and load every class in the project (a few hundreds), but I'm not sure this is the best approach.</p>

<p>Thanks in advance.</p>
