refactor: spin off resolveTargetClass()
to separate class
#890
Loading
resolveTargetClass()
to separate class
#890