Figuring out types that were used to instantiate template in Java
<p>Is it possible that the type "Input" used for an instance of <code>MyClass&lt;Input&gt;</code> is actually <code>Integer</code> for this instance I'm running right now? For example, I have:</p>

<pre><code>class MyProcessor&lt;Input, Output&gt; {

  public void initialize() {
    if (Long.class.isAssignableFrom(Input.class))
    ....
  }
}
</code></pre>

<p>IntelliJ tells me I can't "select from a type variable" on "Input.class".</p>
