* @throws BlueprintTemplateException
*/
@Override
protected Object createNewInstance(Erector erector) throws BlueprintTemplateException {
SpringBlueprint springBlueprint = erector.getBlueprint().getClass().getAnnotation(SpringBlueprint.class);
if ( springBlueprint != null && springBlueprint.bean() ) {
Class beanClass = springBlueprint.beanClass();
if ( beanClass.equals( NotSet.class) ) {
beanClass = erector.getTarget();
}