WFLY-2465: adds autoboxing support to weld resource injection type valid...

...ation