title: How to get the simple generic type name?
body: <p>I want to get a String representation of a methods return type with type arguments but without package name, like "List". </p>
  
  <p>From the class object of the return type we can get the simple name without package prefix via <code>method.getReturnType().getSimpleName()</code> but without generics type parameters. Output: <code>List</code></p>
  
  <p>It is also possible to get the generic type arguments in long form via <code>method.getGenericReturnType().toString()</code>. Output: <code>java.util.collections.List&lt;java.util.String&gt;</code></p>
  
  <p>But how to get a simple name with generic type arguments?</p>
  
  <p>E.g: <code>List&lt;String&gt;</code> instead of <code>java.util.collections.List&lt;java.util.String&gt;</code></p>