Refactoring AbstractEntityManager validate -> supportsClass