refactoring of entity repository references, add recursive method parameter lookup provider, add possible to reduce duplicate code on references