Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for interfaceTypes (0.54 seconds)

  1. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            }
    
            final Class<?>[] interfaces = clazz.getInterfaces();
            final Type[] interfaceTypes = clazz.getGenericInterfaces();
            for (int i = 0; i < interfaces.length; ++i) {
                gatherTypeVariables(interfaces[i], interfaceTypes[i], map);
            }
    
            return map;
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/DummyProxy.java

        private final TypeToken<?> interfaceType;
    
        DummyHandler(TypeToken<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          Invokable<?, ?> invokable = interfaceType.method(method);
          ImmutableList<Parameter> params = invokable.getParameters();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

       * is.
       */
      public <T> void testForwarding(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

       * is.
       */
      public <T> void testForwarding(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        private final TypeToken<?> interfaceType;
    
        DummyHandler(TypeToken<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          Invokable<?, ?> invokable = interfaceType.method(method);
          ImmutableList<Parameter> params = invokable.getParameters();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/Reflection.java

        checkNotNull(handler);
        checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType);
        Object object =
            Proxy.newProxyInstance(
                interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler);
        return interfaceType.cast(object);
      }
    
      private Reflection() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        private final int identity = generateInt();
        private final Class<?> interfaceType;
    
        FreshInvocationHandler(Class<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          return interfaceMethodCalled(interfaceType, method);
        }
    
        @Override
        public int hashCode() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

      public <T> T newProxy(
          T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(target);
        checkNotNull(interfaceType);
        checkNotNull(timeoutUnit);
        checkPositiveTimeout(timeoutDuration);
        checkArgument(interfaceType.isInterface(), "interfaceType must be an interface type");
    
        Set<Method> interruptibleMethods = findInterruptibleMethods(interfaceType);
    
        InvocationHandler handler =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        private final int identity = generateInt();
        private final Class<?> interfaceType;
    
        FreshInvocationHandler(Class<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          return interfaceMethodCalled(interfaceType, method);
        }
    
        @Override
        public int hashCode() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     wait on each method call to the proxy
       * @return a time-limiting proxy
       * @throws IllegalArgumentException if {@code interfaceType} is a regular class, enum, or
       *     annotation type, rather than an interface
       */
      <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit);
    
      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top