Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newArtificialTypeVariable (0.13 sec)

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

        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newArtificialTypeVariable(List.class, "E", int.class));
      }
    
      public void testNewTypeVariable_serializable() throws Exception {
        assertThrows(
            RuntimeException.class,
            () -> SerializableTester.reserialize(Types.newArtificialTypeVariable(List.class, "E")));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypesTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newArtificialTypeVariable(List.class, "E", int.class));
      }
    
      public void testNewTypeVariable_serializable() throws Exception {
        assertThrows(
            RuntimeException.class,
            () -> SerializableTester.reserialize(Types.newArtificialTypeVariable(List.class, "E")));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

        }
      }
    
      /**
       * Returns a new {@link TypeVariable} that belongs to {@code declaration} with {@code name} and
       * {@code bounds}.
       */
      static <D extends GenericDeclaration> TypeVariable<D> newArtificialTypeVariable(
          D declaration, String name, Type... bounds) {
        return newTypeVariableImpl(
            declaration, name, (bounds.length == 0) ? new Type[] {Object.class} : bounds);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top