Assert.notNull(sessionUser);

rg.springframework.util.Assert
Assert翻译为中文为"断言".
就是断定某一个实际的值就为自己预期想得到的,如果不一样就抛出异常.

原文地址:https://www.cnblogs.com/circlebreak/p/5404773.html