merged logic for resolve() + getVariants()
removed CollectScopeProcessor