refactored InjectAdapterProcessor