- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for ParameterNotInstantiableException (0.15 seconds)
-
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; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (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));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0)