判断空字符串: StringUtils.isEmpty(str); 判断对象为null: Objects.isNull(object); 判断对象不为null: Objects.nonNull(object);