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

...ation