}
ModelDescriptor composite = resolution.model();
Class<?> compositeType = first( composite.types() );
if( factory1 != null && ValueComposite.class.isAssignableFrom( compositeType ) )
{
throw new InvalidValueCompositeException( "@" + injectionAnnotationType.getSimpleName() + " is not allowed in ValueComposites: " + compositeType );
}
InjectionProviderFactory factory;
if( factory1 == null )
{