Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for isSupertypeOf (0.08 seconds)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          calledWith(type, s);
        }
    
        void check() {
          runTester();
          TypeToken<?> defaultType = (TypeToken<?>) getDefaultParameterValue(0);
          assertTrue(new TypeToken<List<? super Number>>() {}.isSupertypeOf(defaultType));
        }
      }
    
      public void testGenericTypeTokenDefaultValue() {
        new GenericTypeTokenDefaultValueChecker().check();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /** Explicitly specifies the return type of this {@code Invokable}. */
      public final <R1 extends R> Invokable<T, R1> returning(TypeToken<R1> returnType) {
        checkArgument(
            returnType.isSupertypeOf(getReturnType()),
            "Invokable is known to return %s, not %s",
            getReturnType(),
            returnType);
        @SuppressWarnings("unchecked") // guarded by previous check
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          Invokable<?, ?> invokable = type.method(method);
          if (!invokable.isPrivate()
              && !invokable.isSynthetic()
              && invokable.isStatic()
              && type.isSupertypeOf(invokable.getReturnType())) {
            @SuppressWarnings("unchecked") // guarded by isAssignableFrom()
            Invokable<?, ? extends T> factory = (Invokable<?, ? extends T>) invokable;
            factories.add(factory);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          Invokable<?, ?> invokable = type.method(method);
          if (!invokable.isPrivate()
              && !invokable.isSynthetic()
              && invokable.isStatic()
              && type.isSupertypeOf(invokable.getReturnType())) {
            @SuppressWarnings("unchecked") // guarded by isAssignableFrom()
            Invokable<?, ? extends T> factory = (Invokable<?, ? extends T>) invokable;
            factories.add(factory);
    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)
Back to Top