title: How to use multiple wildcards in an API call
body: <p>I'm working with Anthill (an UrbanCode/IBM product) and one of the methods requires a parameter of type <code>java.lang.Class&lt;? extends SourceConfig&lt;?&gt;&gt; sourceConfigType</code>. </p>
  
  <p>After reading the <a href="http://docs.oracle.com/javase/tutorial/java/generics/upperBounded.html" rel="nofollow">tutorial on generics</a> I found that a class <code>GitSourceConfig</code> is a subclass of <code>SourceConfig</code> but I don't understand how the generic of <code>SourceConfig&lt;?&gt;</code> works in this context. Any ideas?  </p>
  
  <p>The end goal is to get a <code>GitSourceConfig</code> object and call the <code>getRepositoryUrl</code>/<code>setRepositoryUrl</code> methods.  The Anthill Pro API is <a href="http://download.boulder.ibm.com/ibmdl/pub/software/rationalsdp/documentation/product_doc/UrbanCode/AnthillPro/remoting/api/index.html" rel="nofollow">here</a> and I'm looking at the <code>SourceConfig</code> class.</p>