reference a method from a class by using a variable
<p>I know how in Java, a class is referenced like <code>com.google.googlemaps.exampleClass.exampleMethod()</code>.
Is it possible to interchange the first parts of the referenece (in this case, the <code>com.google.googlemaps</code>) using a variable (<code>Class c</code>)?</p>

<p><strong>EDIT</strong>
Ok, after some confusion, I'm going to (try to) provide an example</p>

<p>We have Class <code>A</code>. I can add a new instance of it. Each instance has the variables <code>name</code> (a String), and <code>redir</code> (currently in turmoil). <code>redir</code> is the variable which is supposed to hold the reference for the class, so I can call a specific method from those classes, so <code>redir</code> is like <code>com.google.googlemaps</code> etc.</p>
