[blueprint annotation] update code to support the inject annotation in constructor and factorymethod annotation