Injector: Move field-getting code to static method

Preparation for server brand-agnostic operation