Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testConstructor_exceptionTypes (0.32 seconds)

  1. 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());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  2. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  3. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
Back to Top