Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for getReturnType (0.99 sec)

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

          ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
          for (Invokable<?, ?> factory : factories) {
            if (returnTypeToTest.isAssignableFrom(factory.getReturnType().getRawType())) {
              builder.add(factory);
            }
          }
          ImmutableList<Invokable<?, ?>> factoriesToTest = builder.build();
          Assert.assertFalse(
              "No "
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
          for (Invokable<?, ?> factory : factories) {
            if (returnTypeToTest.isAssignableFrom(factory.getReturnType().getRawType())) {
              builder.add(factory);
            }
          }
          ImmutableList<Invokable<?, ?>> factoriesToTest = builder.build();
          Assert.assertFalse(
              "No "
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            && parameterTypes[parameterTypes.length - 1] == Duration.class;
      }
    
      /** Determines whether the given method returns a boolean value. */
      private static boolean isBoolean(Method method) {
        return method.getReturnType() == boolean.class;
      }
    
      /** Determines whether the given method can throw InterruptedException. */
      private static boolean isInterruptible(Method method) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/MethodDesc.java

         */
        Class<?>[] getParameterTypes();
    
        /**
         * メソッドの戻り値の型を返します。
         *
         * @param <T>
         *            メソッドの戻り値の型
         * @return メソッドの戻り値の型
         */
        <T> Class<T> getReturnType();
    
        /**
         * {@literal public}メソッドの場合は{@literal true}を返します。
         *
         * @return {@literal public}メソッドの場合は{@literal true}
         */
        boolean isPublic();
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            && parameterTypes[parameterTypes.length - 1] == TimeUnit.class;
      }
    
      /** Determines whether the given method returns a boolean value. */
      private static boolean isBoolean(Method method) {
        return method.getReturnType() == boolean.class;
      }
    
      /** Determines whether the given method can throw InterruptedException. */
      private static boolean isInterruptible(Method method) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/asm/ClassDependenciesVisitor.java

            maybeAddClassTypesFromSignature(signature, types);
            Type methodType = Type.getMethodType(desc);
            maybeAddDependentType(types, methodType.getReturnType());
            for (Type argType : methodType.getArgumentTypes()) {
                maybeAddDependentType(types, argType);
            }
            return new MethodVisitor(types);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:49:15 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

            }
            // Checking if there is a type variable to resolve, since resolving the type variable via `TypeToken` is quite expensive.
            return hasTypeVariable(returnType) ? TypeToken.of(type).method(method).getReturnType().getType() : returnType;
        }
    
        /**
         * Checks if a type has a type variable which may require resolving.
         */
        public static boolean hasTypeVariable(Type type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  8. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

                    .filter(c -> c.isAnnotationPresent(Inject.class))
                    .collect(toList());
    
            List<Method> factoryMethods = Arrays.stream(cls.getDeclaredMethods())
                    .filter(method -> method.getReturnType() == cls && Modifier.isStatic(method.getModifiers()))
                    .collect(toList());
            List<Method> injectFactoryMethods = factoryMethods.stream()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {
          if (method.isAnnotationPresent(Generates.class)) {
            builder.put(method.getReturnType(), method);
          }
        }
        GENERATORS = builder.buildOrThrow();
      }
    
      private static final ImmutableMap<Class<?>, Method> EMPTY_GENERATORS;
    
      static {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

            for (Method method : declaredMethods) {
                if (CANDIDATE_GET_CAUSES.contains(method.getName())) {
                    Class<?> returnType = method.getReturnType();
                    if (Collection.class.isAssignableFrom(returnType)) {
                        return method;
                    }
                }
            }
            return null;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top