public class Base<T extends A> { public List<T> getFoo() {...} }
public class Inh extends Base<Bar> { ... }
in JSP I have variable of Inh taken from some other bean. I have <c:ForEach ... construct on getFoo collection (should be of type Bar, not A)
But it does not no anything about T = Bar thus I receive warning of using getter that may not have been defined on the class...
Description
public class Base<T extends A> { public List<T> getFoo() {...} }
public class Inh extends Base<Bar> { ... }
in JSP I have variable of Inh taken from some other bean. I have <c:ForEach ... construct on getFoo collection (should be of type Bar, not A)
But it does not no anything about T = Bar thus I receive warning of using getter that may not have been defined on the class...