Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConstructor_exceptionTypes (0.48 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(
            ImmutableList.copyOf(type.getTypeParameters()),
            ImmutableList.copyOf(returnType.getActualTypeArguments()));
      }
    
      public void testConstructor_exceptionTypes() throws Exception {
        assertEquals(
            ImmutableList.of(TypeToken.of(NullPointerException.class)),
            Prepender.constructor(String.class, int.class).getExceptionTypes());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static class CannotConstruct<E extends Throwable> {
        @Keep
        public CannotConstruct() throws E {}
      }
    
      public <T extends CannotConstruct<AssertionError>> void testConstructor_exceptionTypes()
          throws NoSuchMethodException {
        @SuppressWarnings("rawtypes") // Reflection API skew
        Constructor<CannotConstruct> constructor = CannotConstruct.class.getConstructor();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top