[weld-dev] Legal bean type question

Laird Nelson ljnelson at gmail.com
Wed May 27 08:57:25 EDT 2020


On Wed, May 27, 2020 at 1:27 AM Matej Novotny <manovotn at redhat.com> wrote:

> Once again, please post questions like these to weld-dev mailing list.
>

Fair.  Thanks for answering.


> To answer you, I think both of the predicates would be illegal bean types.
> It doesn't matter if you actually "hide" the wildcard inside another
> parameter type.
>

OK, so "contains" truly means "contains": as the type is navigated, any
occurrence of a wildcard encountered is illegal, no matter how "deep".

And this is because why, exactly?  I'm sure there's a reason; my slow brain
is just not seeing it this morning.

Best,
Laird
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20200527/9351aebf/attachment.html 


More information about the weld-dev mailing list