Thanks,
in my use case it did not make sense to define that class as abstract. So I've fixed the problem by using wildcards.
Thanks for the quick response. You can close this issue if you want.