Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ParameterNotInstantiableException (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top