- Sort Score
- Result 10 results
- Languages All
Results 71 - 74 of 74 for assertArgumentNotNull (0.33 sec)
-
src/main/java/org/codelibs/core/lang/GenericsUtil.java
* @return <code>true</code> if the raw type of <code>type</code> can be assigned to <code>clazz</code> */ public static boolean isTypeOf(final Type type, final Class<?> clazz) { assertArgumentNotNull("type", type); assertArgumentNotNull("clazz", clazz); if (type instanceof Class) { return clazz.isAssignableFrom((Class<?>) type); } if (type instanceof ParameterizedType) {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
import static org.codelibs.core.lang.ClassIterator.iterable; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.sql.Time; import java.util.List; import java.util.Map; import org.codelibs.core.beans.Converter; import org.codelibs.core.beans.converter.DateConverter;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* @param argValue * The value of the argument. * @throws NullArgumentException * If the argument is <code>null</code>. */ public static void assertArgumentNotNull(final String argName, final Object argValue) { if (argValue == null) { throw new NullArgumentException(argName); } } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.5K bytes - Viewed (0) -
README.md
### Core Design Principles CoreLib follows a **utility-class pattern** where most functionality is exposed through static methods: - **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()` - **Exception wrapping** - Checked exceptions are consistently wrapped in runtime exceptions (e.g., `ClassNotFoundException` → `ClassNotFoundRuntimeException`)
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0)