Allow @ContributeTo annotations when the type has a @StingProvider or @ActAsStingComponent annotation else not. We want to do things like allow a @ReactComponent or @ArezComponent annotated type to copy the @ContributeTo annotation to the generated subclasses so that the ultimate binding can be collected.
We were already enforcing that @ContributeTo was only used by @Injectable and @StingProvider types. Added support for @ActAsStingComponent in 18eb589066a8bae62038951b7942a897b4d69025
Allow
@ContributeTo
annotations when the type has a@StingProvider
or@ActAsStingComponent
annotation else not. We want to do things like allow a@ReactComponent
or@ArezComponent
annotated type to copy the@ContributeTo
annotation to the generated subclasses so that the ultimate binding can be collected.