Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for ArbitraryInstances (0.1 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
        return ArbitraryInstances.get(rawType);
      }
    
      private <T> T newProxy(final Class<T> interfaceType) {
        return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top