SWTBot-less implementation of ObjectUtil