title: Java generics method signature explanation
body: <p>What does this generic method signature means </p>
  
  <pre><code>public &lt;S, D&gt; D map(S sourceObject, java.lang.Class&lt;D&gt; destinationClass);
  </code></pre>
  
  <p>I am referring to the <code>&lt;S, D&gt;</code>.<br>
  This method returns an object of the same type that was sent in the second parameter.</p>
  
  <p>Can't I just write  </p>
  
  <pre><code>public D map(S sourceObject, java.lang.Class&lt;D&gt; destinationClass);
  </code></pre>