Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for parameterTypes (0.09 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                if (parameterType.isPrimitive()) {
                    if (parameterType.equals(Boolean.TYPE)) {
                        methodKey.append("java.lang.Boolean");
                    } else if (parameterType.equals(Byte.TYPE)) {
                        methodKey.append("java.lang.Byte");
                    } else if (parameterType.equals(Character.TYPE)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static boolean isLongTimeUnitBased(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        return parameterTypes.length >= 2
            && parameterTypes[parameterTypes.length - 2] == long.class
            && parameterTypes[parameterTypes.length - 1] == TimeUnit.class;
      }
    
      /** Determines whether the given method takes a Duration as its last parameter. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

              Class<?>[] parameterTypes = method.getParameterTypes();
              checkArgument(
                  parameterTypes.length == 1,
                  "Method %s has @Subscribe annotation but has %s parameters. "
                      + "Subscriber methods must have exactly 1 parameter.",
                  method,
                  parameterTypes.length);
    
              checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

            return name.equals(other.name)
                && parameterTypes.equals(other.parameterTypes)
                && typeSignature.equals(other.typeSignature);
          }
    
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(name, parameterTypes, typeSignature);
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

            return name.equals(other.name)
                && parameterTypes.equals(other.parameterTypes)
                && typeSignature.equals(other.typeSignature);
          }
    
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(name, parameterTypes, typeSignature);
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

          Constructor<Prepender> constructor = Prepender.class.getDeclaredConstructor(parameterTypes);
          return Invokable.from(constructor);
        }
    
        static Invokable<Prepender, Object> method(String name, Class<?>... parameterTypes) {
          try {
            Method method = Prepender.class.getDeclaredMethod(name, parameterTypes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/InvokableTest.java

          Constructor<Prepender> constructor = Prepender.class.getDeclaredConstructor(parameterTypes);
          return Invokable.from(constructor);
        }
    
        static Invokable<Prepender, Object> method(String name, Class<?>... parameterTypes) {
          try {
            Method method = Prepender.class.getDeclaredMethod(name, parameterTypes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
            for (int i = 0; i < arguments.length; i++) {
              if (!parameterTypes[i].isAssignableFrom(arguments[i].getClass())) {
                continue METHODS;
              }
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
            for (int i = 0; i < arguments.length; i++) {
              if (!parameterTypes[i].isAssignableFrom(arguments[i].getClass())) {
                continue METHODS;
              }
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        Object[] params = new Object[parameterTypes.length];
        for (int i = 0; i < parameterTypes.length; i++) {
          params[i] = PARAMETER_VALUES.get(parameterTypes[i]);
        }
        return params;
      }
    
      private static final ImmutableSet<String> NOT_WORKING_ON_MOCKS =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top