This rule flags the EntityManager.refresh() calls as the behavior of this method has changed.
The implementation of the method changed such that if the passed entity object is null , the exception IllegalArgumentException will be thrown.
The rule will detect the method refresh(Object entity) if it is called from an instance of:
See the following for more information: