title: How do I Invoke a Generic Method with Specific Type Parameters?
body: <p>I have a method with the following signature:</p>
  
  <pre><code>&lt;T&gt; T getBody(Class&lt;T&gt; type)
  </code></pre>
  
  <p>that returns the body object as the specified type. How do I invoke it to return an object of type </p>
  
  <pre><code>Iterable&lt;OProperty&lt;?&gt;&gt;
  </code></pre>
  
  <p>I did a lot of Java before generics so my programmer fu is a little rusty in these circumstances :)</p>