Freemarker integration improvement request (generics problem)
Hi guys,
suppose you have two classes
public class A extends B<ConcreteClass>
with B being
public class B<T extends AbstractClass>{
private T t;
public T getT();
}
Now in your ftl:
<#-- @ftlvariable name="a" type="A"-->
${a.t} -> returns AbstractClass and not ConcreteClass.
E.g. freemarker integration will return the supertype (AbstractClass), not the concrete type (ConcreteClass).
Is there something I'm missing or is this feature simply not supported?
Cheers!
请先登录再写评论。
Looks like a bug. Could you file a JIRA issue?
http://www.jetbrains.net/jira/browse/IDEA-24500
Added another one:
http://www.jetbrains.net/jira/browse/IDEA-24504