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