adds InjectionMapping::asStaticValue API method