title: How to get Actual Type from typeElement?
body: <p>I'm writing custom annotation processor. Though I'm able to process class type without generic type but unable to get actual types for generic types.</p>
  
  <p><strong>MyBase Interface</strong></p>
  
  <pre><code>interface MyBase&lt;T, S&gt; {
    void method1(S, T);
  }
  </code></pre>
  
  <p>Example Class1</p>
  
  <pre><code>public class KpA{
   ...
  }
  </code></pre>
  
  <p>Example Class2</p>
  
  <pre><code>public class KpB{
   ...
  }
  </code></pre>
  
  <p>The Target Annotated class</p>
  
  <pre><code>@MyAnnotation
  interface MyHandler extends MyBase&lt;KpA, KpB&gt;{
  
  }
  </code></pre>
  
  <p>Processing code snippet</p>
  
  <pre><code>    TypeElement[] getActualTypes(ProcessingEnvironment pEnv, TypeElement element){
          List&lt;TypeElement&gt; myBaseElement = element.getInterfaces().stream().map(v-&gt; (TypeElement) pEnv.getTypeUtils().asElement(v)).collect(Collectors.toList());
          myBaseElement.get(0).getTypeParameters().stream().forEach(System.out::println);
           return null;
      }
  </code></pre>
  
  <p>When I <code>Sysout</code> the getTypeParameters I get output as <code>S and T</code>; how can I get <code>KpA and KpB</code>.</p>