@@ -0,0 +1,1206 @@
+package me.pc.mobile.helper.v14.crypt;%0A%0Aimport java.lang.reflect.Array;%0Aimport java.util.Collection;%0Aimport java.util.Map;%0A%0A/**%0A * %E9%80%9A%E7%94%A8%E6%A3%80%E6%9F%A5%0A * %0A * @company YeePay%0A * @author xingwei.bi%0A * @since 2010-9-9%0A * @version 1.0%0A */%0Apublic class CheckUtils %7B%0A%0A%09public static final String COMMON_FIELD = %22flowID,initiator,%22;%0A%0A%09/**%0A%09 * %E9%AA%8C%E8%AF%81%E5%AF%B9%E8%B1%A1%E6%98%AF%E5%90%A6%E4%B8%BANULL,%E7%A9%BA%E5%AD%97%E7%AC%A6%E4%B8%B2%EF%BC%8C%E7%A9%BA%E6%95%B0%E7%BB%84%EF%BC%8C%E7%A9%BA%E7%9A%84Collection%E6%88%96Map(%E5%8F%AA%E6%9C%89%E7%A9%BA%E6%A0%BC%E7%9A%84%E5%AD%97%E7%AC%A6%E4%B8%B2%E4%B9%9F%E8%AE%A4%E4%B8%BA%E6%98%AF%E7%A9%BA%E4%B8%B2)%0A%09 * %0A%09 * @param obj%0A%09 *            %E8%A2%AB%E9%AA%8C%E8%AF%81%E7%9A%84%E5%AF%B9%E8%B1%A1%0A%09 * @param message%0A%09 *            %E5%BC%82%E5%B8%B8%E4%BF%A1%E6%81%AF%0A%09 */%0A%09@SuppressWarnings(%22rawtypes%22)%0A%09public static void notEmpty(Object obj, String message) %7B%0A%09%09if (obj == null) %7B%0A%09%09%09throw new IllegalArgumentException(message + %22 must be specified%22);%0A%09%09%7D%0A%09%09if (obj instanceof String && obj.toString().trim().length() == 0) %7B%0A%09%09%09throw new IllegalArgumentException(message + %22 must be specified%22);%0A%09%09%7D%0A%09%09if (obj.getClass().isArray() && Array.getLength(obj) == 0) %7B%0A%09%09%09throw new IllegalArgumentException(message + %22 must be specified%22);%0A%09%09%7D%0A%09%09if (obj instanceof Collection && ((Collection) obj).isEmpty()) %7B%0A%09%09%09throw new IllegalArgumentException(message + %22 must be specified%22);%0A%09%09%7D%0A%09%09if (obj instanceof Map && ((Map) obj).isEmpty()) %7B%0A%09%09%09throw new IllegalArgumentException(message + %22 must be specified%22);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create CheckUtils.java