- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ParameterNotInstantiableException (0.17 sec)
-
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
private static @Nullable Object generateDummyArg(Parameter param, FreshValueGenerator generator) throws ParameterNotInstantiableException { if (isNullable(param)) { return null; } Object arg = generator.generateFresh(param.getType()); if (arg == null) { throw new ParameterNotInstantiableException(param); } return arg; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
private static @Nullable Object generateDummyArg(Parameter param, FreshValueGenerator generator) throws ParameterNotInstantiableException { if (isNullable(param)) { return null; } Object arg = generator.generateFresh(param.getType()); if (arg == null) { throw new ParameterNotInstantiableException(param); } return arg; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
assertThrows( ParameterNotInstantiableException.class, () -> tester.instantiate(ConstructorParameterNotInstantiable.class)); } public void testInstantiate_factoryMethodParameterNotInstantiable() throws Exception { assertThrows( ParameterNotInstantiableException.class, () -> tester.instantiate(FactoryMethodParameterNotInstantiable.class));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0)